Bug 374422 - kwin for i386 crashes on non SSE2 machines
Summary: kwin for i386 crashes on non SSE2 machines
Status: RESOLVED DUPLICATE of bug 374023
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.7.5
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-01 16:07 UTC by Lars Bischoff
Modified: 2017-01-14 10:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
backtrace (8.62 KB, text/plain)
2017-01-14 01:41 UTC, Lars Bischoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Bischoff 2017-01-01 16:07:31 UTC
Using the 32 bit ISO-image of Kubuntu 16.04 or 16.10, kwin crashes during boot on the following machine:
AMD Athlon XP 3000+ CPU
VIA KT400 Chipset
Mainboard MSI KT4V-L
Gfx: nVidia Geforce 7600 GT (AGP8x card: XFX GF 7600 GT 560M 256MB)

I assume this is due the the missing SSE2 support of the Athlon CPU.
Is kwin supposed to require SSE2?

Booting works fine until the plasma background image is appearing.
Also the selection window whether you want to "try" or "install" Kubuntu shows up, but only without window frame. At about the same time I get a crash notification that kwin has crashed.
If I click on "restart" in the crash notification, then after some trials another window (without frame) says: "KWin is unstable. It seems to have crashed several times in a row." and suggests to select another window manager.

See also:
https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/1614308

Maybe this is linked to
https://bugs.kde.org/show_bug.cgi?id=346244
Comment 1 Martin Flöser 2017-01-01 16:36:17 UTC
Please provide backtrace of the crash.
Comment 2 Lars Bischoff 2017-01-02 19:05:40 UTC
I only have access to this PC about once a month.
I'll try to provide the backtrace next time (earliest in 3 weeks from now).
Comment 3 Lars Bischoff 2017-01-14 01:41:46 UTC
Created attachment 103402 [details]
backtrace
Comment 4 Lars Bischoff 2017-01-14 01:44:40 UTC
provided backtrace.
Comment 5 Martin Flöser 2017-01-14 08:29:17 UTC
Application: KWin (kwin_x11), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1273940 (LWP 1917))]

Thread 4 (Thread 0xae35eb40 (LWP 1927)):
#0  0xb779ad05 in __kernel_vsyscall ()
#1  0xb7690e25 in select () at ../sysdeps/unix/syscall-template.S:84
#2  0xb61871fb in qt_safe_select (nfds=14, fdread=0xafb01ef0, fdwrite=0xafb020fc, fdexcept=0xafb02308, orig_timeout=0x0) at kernel/qcore_unix.cpp:75
#3  0xb6188b17 in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=<optimized out>, writefds=<optimized out>, readfds=<optimized out>, nfds=<optimized out>, this=0xafb03588) at kernel/qeventdispatcher_unix.cpp:320
#4  QEventDispatcherUNIXPrivate::doSelect (this=0xafb01e10, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:196
#5  0xb6189027 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#6  0xb612ec9d in QEventLoop::exec (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:204
#7  0xb5f5eb35 in QThread::exec (this=0x836f368) at thread/qthread.cpp:500
#8  0xb4caa8ef in ?? () from /usr/lib/i386-linux-gnu/libQt5Qml.so.5
#9  0xb5f6425a in QThreadPrivate::start (arg=<optimized out>) at thread/qthread_unix.cpp:341
#10 0xb542f305 in start_thread (arg=0xae35eb40) at pthread_create.c:333
#11 0xb769847e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:113

Thread 3 (Thread 0xaecb8b40 (LWP 1926)):
Comment 6 Martin Flöser 2017-01-14 08:29:33 UTC
Application: KWin (kwin_x11), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1273940 (LWP 1917))]

Thread 4 (Thread 0xae35eb40 (LWP 1927)):
#0  0xb779ad05 in __kernel_vsyscall ()
#1  0xb7690e25 in select () at ../sysdeps/unix/syscall-template.S:84
#2  0xb61871fb in qt_safe_select (nfds=14, fdread=0xafb01ef0, fdwrite=0xafb020fc, fdexcept=0xafb02308, orig_timeout=0x0) at kernel/qcore_unix.cpp:75
#3  0xb6188b17 in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=<optimized out>, writefds=<optimized out>, readfds=<optimized out>, nfds=<optimized out>, this=0xafb03588) at kernel/qeventdispatcher_unix.cpp:320
#4  QEventDispatcherUNIXPrivate::doSelect (this=0xafb01e10, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:196
#5  0xb6189027 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#6  0xb612ec9d in QEventLoop::exec (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:204
#7  0xb5f5eb35 in QThread::exec (this=0x836f368) at thread/qthread.cpp:500
#8  0xb4caa8ef in ?? () from /usr/lib/i386-linux-gnu/libQt5Qml.so.5
#9  0xb5f6425a in QThreadPrivate::start (arg=<optimized out>) at thread/qthread_unix.cpp:341
#10 0xb542f305 in start_thread (arg=0xae35eb40) at pthread_create.c:333
#11 0xb769847e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:113

Thread 3 (Thread 0xaecb8b40 (LWP 1926)):
#0  0xb779ad05 in __kernel_vsyscall ()
#1  0xb5435006 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../pthread_cond_timedwait.S:245
#2  0xb5f650ec in QWaitConditionPrivate::wait_relative (time=30000, this=0x8324968) at thread/qwaitcondition_unix.cpp:126
#3  QWaitConditionPrivate::wait (time=30000, this=0x8324968) at thread/qwaitcondition_unix.cpp:134
#4  QWaitCondition::wait (this=0x830c520, mutex=0x83247d8, time=30000) at thread/qwaitcondition_unix.cpp:208
#5  0xb5f601e7 in QThreadPoolThread::run (this=0x830c518) at thread/qthreadpool.cpp:127
#6  0xb5f6425a in QThreadPrivate::start (arg=<optimized out>) at thread/qthread_unix.cpp:341
#7  0xb542f305 in start_thread (arg=0xaecb8b40) at pthread_create.c:333
#8  0xb769847e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:113

Thread 2 (Thread 0xb126fb40 (LWP 1920)):
#0  0xb779ad05 in __kernel_vsyscall ()
#1  0xb7690e25 in select () at ../sysdeps/unix/syscall-template.S:84
#2  0xb61871fb in qt_safe_select (nfds=4, fdread=0xb0900560, fdwrite=0xb090076c, fdexcept=0xb0900978, orig_timeout=0x0) at kernel/qcore_unix.cpp:75
#3  0xb6188b17 in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=<optimized out>, writefds=<optimized out>, readfds=<optimized out>, nfds=<optimized out>, this=0xb0900470) at kernel/qeventdispatcher_unix.cpp:320
#4  QEventDispatcherUNIXPrivate::doSelect (this=0xb0900480, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:196
#5  0xb6189027 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#6  0xb612ec9d in QEventLoop::exec (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:204
#7  0xb5f5eb35 in QThread::exec (this=0xb49086e0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#8  0xb487373c in QDBusConnectionManager::run (this=0xb49086e0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:171
#9  0xb5f6425a in QThreadPrivate::start (arg=<optimized out>) at thread/qthread_unix.cpp:341
#10 0xb542f305 in start_thread (arg=0xb126fb40) at pthread_create.c:333
#11 0xb769847e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:113

Thread 1 (Thread 0xb1273940 (LWP 1917)):
[KCrash Handler]
#7  0xb779ad05 in __kernel_vsyscall ()
#8  0xb75db050 in __libc_signal_restore_set (set=0xbfe805f0) at ../sysdeps/unix/sysv/linux/nptl-signals.h:79
#9  __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#10 0xb75dc577 in __GI_abort () at abort.c:89
#11 0xb5f4a343 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1648
#12 QMessageLogger::fatal (this=0xbfe808b8, msg=0xb4d06288 "This program requires an X86 processor that supports SSE2 extension, at least a Pentium 4 or newer") at global/qlogging.cpp:790
#13 0xb4cac3fd in QV8Engine::QV8Engine(QJSEngine*) () from /usr/lib/i386-linux-gnu/libQt5Qml.so.5
#14 0xb4afc495 in QJSEngine::QJSEngine(QJSEnginePrivate&, QObject*) () from /usr/lib/i386-linux-gnu/libQt5Qml.so.5
#15 0xb4c12958 in QQmlEngine::QQmlEngine(QObject*) () from /usr/lib/i386-linux-gnu/libQt5Qml.so.5
#16 0xb742d145 in KWin::Scripting::Scripting (this=0x838f180, parent=0x8311718) at ./scripting/scripting.cpp:602
#17 0xb742d235 in KWin::Scripting::create (parent=0x8311718) at ./scripting/scripting.cpp:595
#18 0xb730d147 in KWin::Workspace::init (this=0x8311718) at ./workspace.cpp:366
#19 0xb730dc8f in KWin::Workspace::Workspace (this=0x8311718, sessionKey=...) at ./workspace.cpp:210
#20 0xb7364f05 in KWin::Application::createWorkspace (this=0xbfe81434) at ./main.cpp:265
#21 0xb776e2c3 in ?? () from /usr/lib/i386-linux-gnu/libkdeinit5_kwin_x11.so
#22 0xb6160ef3 in QtPrivate::QSlotObjectBase::call (a=0xbfe80c98, r=0xbfe81434, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#23 QMetaObject::activate (sender=<optimized out>, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3715
#24 0xb616138d in QMetaObject::activate (sender=0x82decd8, m=0xb75aafd4 <KWin::Platform::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3595
#25 0xb7494732 in KWin::Platform::screensQueried (this=0x82decd8) at ./obj-i686-linux-gnu/moc_platform.cpp:253
#26 0xaf7154d0 in KWin::X11StandalonePlatform::init() () from /usr/lib/i386-linux-gnu/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#27 0xb776e652 in ?? () from /usr/lib/i386-linux-gnu/libkdeinit5_kwin_x11.so
#28 0xb6160ef3 in QtPrivate::QSlotObjectBase::call (a=0xbfe80e18, r=0x82d5728, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#29 QMetaObject::activate (sender=<optimized out>, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3715
#30 0xb616138d in QMetaObject::activate (sender=0x82d5728, m=0xb7114d94 <KSelectionOwner::staticMetaObject>, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3595
#31 0xb70fc492 in KSelectionOwner::claimedOwnership() () from /usr/lib/i386-linux-gnu/libKF5WindowSystem.so.5
#32 0xb70e511c in KSelectionOwner::Private::claimSucceeded() () from /usr/lib/i386-linux-gnu/libKF5WindowSystem.so.5
#33 0xb70e52a2 in KSelectionOwner::Private::timeout() () from /usr/lib/i386-linux-gnu/libKF5WindowSystem.so.5
#34 0xb70e5d55 in KSelectionOwner::timerEvent(QTimerEvent*) () from /usr/lib/i386-linux-gnu/libKF5WindowSystem.so.5
#35 0xb6161926 in QObject::event (this=0x82d5728, e=0xbfe8120c) at kernel/qobject.cpp:1278
#36 0xb6a6904a in QApplicationPrivate::notify_helper (this=0x8291e88, receiver=0x82d5728, e=0xbfe8120c) at kernel/qapplication.cpp:3804
#37 0xb6a6e84c in QApplication::notify (this=0xbfe81434, receiver=0x82d5728, e=0xbfe8120c) at kernel/qapplication.cpp:3561
#38 0xb776f50a in ?? () from /usr/lib/i386-linux-gnu/libkdeinit5_kwin_x11.so
#39 0xb613139d in QCoreApplication::notifyInternal2 (receiver=0x82d5728, event=0xbfe8120c) at kernel/qcoreapplication.cpp:1015
#40 0xb618a87d in QCoreApplication::sendEvent (event=0xbfe8120c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#41 QTimerInfoList::activateTimers (this=<optimized out>) at kernel/qtimerinfo_unix.cpp:637
#42 0xb6188721 in QEventDispatcherUNIX::activateTimers (this=0x82c9590) at kernel/qeventdispatcher_unix.cpp:549
#43 0xb6189035 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:611
#44 0xb0507c3f in QUnixEventDispatcherQPA::processEvents (this=0x82c9590, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#45 0xb612ec9d in QEventLoop::exec (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:204
#46 0xb6137f7f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#47 0xb646e7b1 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1602
#48 0xb6a65cc4 in QApplication::exec () at kernel/qapplication.cpp:2979
#49 0xb77706a9 in kdemain () from /usr/lib/i386-linux-gnu/libkdeinit5_kwin_x11.so
#50 0x08048527 in ?? ()
#51 0xb75c7276 in __libc_start_main (main=0x8048500, argc=3, argv=0xbfe81554, init=0x8048660 <__libc_csu_init>, fini=0x80486c0 <__libc_csu_fini>, rtld_fini=0xb77ab8a0 <_dl_fini>, stack_end=0xbfe8154c) at ../csu/libc-start.c:291
#52 0x08048555 in _start ()
Comment 7 Martin Flöser 2017-01-14 08:31:21 UTC
I fear that hardware is no longer supported.

*** This bug has been marked as a duplicate of bug 374023 ***
Comment 8 Lars Bischoff 2017-01-14 10:26:28 UTC
Too bad... I hoped I could give this old PC some useful task...
Sure that this is intended and not a bug in Qt?

If it is, it would be great if both, KDE and distributions would communicate this minimum requirement somewhere. For me the "i386" name of e.g. the Kubuntu ISO does not suggest, that SSE2 is required.

Also it would be great, if minimum hardware requirements would be checked early, giving some useful error message, if not fulfilled. It took me quite some time, figuring out what could be the reason for the crash. (exchanged GFX cards etc.)
Comment 9 Martin Flöser 2017-01-14 10:52:19 UTC
I sent a mail to plasma mailing list to discuss this minimum requirement. So we had the same thinking of this needs to be communicated better.