Bug 253353

Summary: Crash on logout dialog
Product: [Unmaintained] solid Reporter: Christoph Feck <cfeck>
Component: libsolid-udevAssignee: Rafael Fernández López <ereslibre>
Status: RESOLVED FIXED    
Severity: crash CC: arvidjaar, fhj52.info
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Christoph Feck 2010-10-06 03:32:48 UTC
Application: ksmserver (0.4)
KDE Platform Version: 4.5.71 (4.6 >= 20101005) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.3-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:

I tried to logout with compositing effects disabled. This is probably caused by Solid refactoring.

The crash can be reproduced every time.

-- Backtrace:
Application: The KDE Session Manager (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb56ea710 (LWP 20974))]

Thread 2 (Thread 0xaa825b70 (LWP 23606)):
#0  0xb596a22b in clock_gettime (clock_id=1, tp=0xaa824f80) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb6ca095b in do_gettime (sec=0xaa824fc8, frac=0xaa824fc0) at /local/git/Qt/qt/src/corelib/tools/qelapsedtimer_unix.cpp:123
#2  0xb6ca09de in qt_gettime () at /local/git/Qt/qt/src/corelib/tools/qelapsedtimer_unix.cpp:140
#3  0xb6d7f683 in QTimerInfoList::updateCurrentTime (this=0x8151084) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:339
#4  0xb6d7f9e9 in QTimerInfoList::timerWait (this=0x8151084, tm=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:442
#5  0xb6d7cac1 in timerSourcePrepareHelper (src=0x8151050, timeout=0xaa82510c) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:136
#6  0xb6d7cc2c in timerSourcePrepare (source=0x8151050, timeout=0xaa82510c) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:169
#7  0xb58be0c0 in IA__g_main_context_prepare (context=0x823c850, priority=0xaa82517c) at gmain.c:2280
#8  0xb58bef22 in g_main_context_iterate (context=0x823c850, block=1, dispatch=1, self=0x822e960) at gmain.c:2571
#9  0xb58bf60e in IA__g_main_context_iteration (context=0x823c850, may_block=1) at gmain.c:2654
#10 0xb6d7d5f0 in QEventDispatcherGlib::processEvents (this=0x81daa08, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:417
#11 0xb6d46d71 in QEventLoop::processEvents (this=0xaa825298, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#12 0xb6d46eb5 in QEventLoop::exec (this=0xaa825298, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#13 0xb6c3c66c in QThread::exec (this=0x82493a8) at /local/git/Qt/qt/src/corelib/thread/qthread.cpp:490
#14 0xb6d28778 in QInotifyFileSystemWatcherEngine::run (this=0x82493a8) at /local/git/Qt/qt/src/corelib/io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6c3ed0e in QThreadPrivate::start (arg=0x82493a8) at /local/git/Qt/qt/src/corelib/thread/qthread_unix.cpp:285
#16 0xb6bb8b25 in start_thread (arg=0xaa825b70) at pthread_create.c:297
#17 0xb5d2446e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb56ea710 (LWP 20974)):
[KCrash Handler]
#7  0xb501e381 in Solid::Processor::d_func (this=0x0) at /local/svn/kde/trunk/KDE/kdelibs/solid/solid/processor.h:45
#8  0xb501e101 in Solid::Processor::instructionSets (this=0x0) at /local/svn/kde/trunk/KDE/kdelibs/solid/solid/processor.cpp:58
#9  0xb2622e94 in BlendingThread::BlendingThread (this=0x8191050, parent=0x82dfe80) at /local/svn/kde/trunk/KDE/kdebase/workspace/ksmserver/fadeeffect.cpp:307
#10 0xb2623703 in FadeEffect::FadeEffect (this=0x82dfe80, parent=0x817dc50, pixmap=0x817dc68) at /local/svn/kde/trunk/KDE/kdebase/workspace/ksmserver/fadeeffect.cpp:492
#11 0xb26224ce in LogoutEffect::create (parent=0x817dc50, pixmap=0x817dc68) at /local/svn/kde/trunk/KDE/kdebase/workspace/ksmserver/logouteffect.cpp:112
#12 0xb261314d in KSMShutdownFeedback::slotPaintEffect (this=0x817dc50) at /local/svn/kde/trunk/KDE/kdebase/workspace/ksmserver/shutdowndlg.cpp:91
#13 0xb2612c57 in KSMShutdownFeedback::qt_metacall (this=0x817dc50, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe4c6ac) at /local/build/KDE/kdebase/workspace/ksmserver/shutdowndlg.moc:74
#14 0xb6d506be in QMetaObject::metacall (object=0x817dc50, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfe4c6ac) at /local/git/Qt/qt/src/corelib/kernel/qmetaobject.cpp:237
#15 0xb6d6360d in QMetaObject::activate (sender=0x81c71c0, m=0xb6ec9180, local_signal_index=0, argv=0x0) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:3272
#16 0xb6d6bc81 in QSingleShotTimer::timeout (this=0x81c71c0) at .moc/debug-shared/qtimer.moc:82
#17 0xb6d6bb36 in QSingleShotTimer::timerEvent (this=0x81c71c0) at /local/git/Qt/qt/src/corelib/kernel/qtimer.cpp:308
#18 0xb6d5f6de in QObject::event (this=0x81c71c0, e=0xbfe4cce4) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:1175
#19 0xb60d2f8e in QApplicationPrivate::notify_helper (this=0x80f6b70, receiver=0x81c71c0, e=0xbfe4cce4) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4451
#20 0xb60d088a in QApplication::notify (this=0x80f6918, receiver=0x81c71c0, e=0xbfe4cce4) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3851
#21 0xb750704e in KApplication::notify (this=0x80f6918, receiver=0x81c71c0, event=0xbfe4cce4) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#22 0xb6d49013 in QCoreApplication::notifyInternal (this=0x80f6918, receiver=0x81c71c0, event=0xbfe4cce4) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:732
#23 0xb6d4c915 in QCoreApplication::sendEvent (receiver=0x81c71c0, event=0xbfe4cce4) at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:215
#24 0xb6d800f1 in QTimerInfoList::activateTimers (this=0x80f9e8c) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:603
#25 0xb6d7cc86 in timerSourceDispatch (source=0x80f9e58) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:184
#26 0xb58beb49 in g_main_dispatch (context=0x80f9498) at gmain.c:1960
#27 IA__g_main_context_dispatch (context=0x80f9498) at gmain.c:2513
#28 0xb58bf350 in g_main_context_iterate (context=0x80f9498, block=1, dispatch=1, self=0x80f6d70) at gmain.c:2591
#29 0xb58bf60e in IA__g_main_context_iteration (context=0x80f9498, may_block=1) at gmain.c:2654
#30 0xb6d7d5d0 in QEventDispatcherGlib::processEvents (this=0x80f6930, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:415
#31 0xb619b4f0 in QGuiEventDispatcherGlib::processEvents (this=0x80f6930, flags=...) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#32 0xb6d46d71 in QEventLoop::processEvents (this=0xbfe4cf5c, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#33 0xb6d46eb5 in QEventLoop::exec (this=0xbfe4cf5c, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#34 0xb6682b7c in QDialog::exec (this=0x81af810) at /local/git/Qt/qt/src/gui/dialogs/qdialog.cpp:552
#35 0xb2616998 in KSMShutdownDlg::confirmShutdown (maysd=true, choose=true, sdtype=@0xbfe4d0b8, bootOption=...) at /local/svn/kde/trunk/KDE/kdebase/workspace/ksmserver/shutdowndlg.cpp:686
#36 0xb261ec8f in KSMServer::shutdown (this=0x8147338, confirm=KWorkSpace::ShutdownConfirmDefault, sdtype=KWorkSpace::ShutdownTypeNone, sdmode=KWorkSpace::ShutdownModeInteractive)
    at /local/svn/kde/trunk/KDE/kdebase/workspace/ksmserver/shutdown.cpp:157
#37 0xb260b60c in KSMSaveYourselfRequestProc (smsConn=0x81523d0, saveType=2, shutdown=1, interactStyle=2, fast=0, global=1) at /local/svn/kde/trunk/KDE/kdebase/workspace/ksmserver/server.cpp:218
#38 0xb5c4de47 in _SmsProcessMessage () from /usr/lib/libSM.so.6
#39 0xb5c3e7e7 in IceProcessMessages () from /usr/lib/libICE.so.6
#40 0xb260d944 in KSMServer::processData (this=0x8147338) at /local/svn/kde/trunk/KDE/kdebase/workspace/ksmserver/server.cpp:774
#41 0xb260ada7 in KSMServer::qt_metacall (this=0x8147338, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfe4d2e8) at /local/build/KDE/kdebase/workspace/ksmserver/server.moc:122
#42 0xb6d506be in QMetaObject::metacall (object=0x8147338, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfe4d2e8) at /local/git/Qt/qt/src/corelib/kernel/qmetaobject.cpp:237
#43 0xb6d6360d in QMetaObject::activate (sender=0x814e5b8, m=0xb6eca530, local_signal_index=0, argv=0xbfe4d2e8) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:3272
#44 0xb6dbb69c in QSocketNotifier::activated (this=0x814e5b8, _t1=29) at .moc/debug-shared/moc_qsocketnotifier.cpp:89
#45 0xb6d6b57b in QSocketNotifier::event (this=0x814e5b8, e=0xbfe4d878) at /local/git/Qt/qt/src/corelib/kernel/qsocketnotifier.cpp:317
#46 0xb60d2f8e in QApplicationPrivate::notify_helper (this=0x80f6b70, receiver=0x814e5b8, e=0xbfe4d878) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4451
#47 0xb60d088a in QApplication::notify (this=0x80f6918, receiver=0x814e5b8, e=0xbfe4d878) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3851
#48 0xb750704e in KApplication::notify (this=0x80f6918, receiver=0x814e5b8, event=0xbfe4d878) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#49 0xb6d49013 in QCoreApplication::notifyInternal (this=0x80f6918, receiver=0x814e5b8, event=0xbfe4d878) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:732
#50 0xb6d4c915 in QCoreApplication::sendEvent (receiver=0x814e5b8, event=0xbfe4d878) at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:215
#51 0xb6d7ca10 in socketNotifierSourceDispatch (source=0x80f9e18) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:110
#52 0xb58beb49 in g_main_dispatch (context=0x80f9498) at gmain.c:1960
#53 IA__g_main_context_dispatch (context=0x80f9498) at gmain.c:2513
#54 0xb58bf350 in g_main_context_iterate (context=0x80f9498, block=1, dispatch=1, self=0x80f6d70) at gmain.c:2591
#55 0xb58bf60e in IA__g_main_context_iteration (context=0x80f9498, may_block=1) at gmain.c:2654
#56 0xb6d7d5d0 in QEventDispatcherGlib::processEvents (this=0x80f6930, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:415
#57 0xb619b4f0 in QGuiEventDispatcherGlib::processEvents (this=0x80f6930, flags=...) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#58 0xb6d46d71 in QEventLoop::processEvents (this=0xbfe4daac, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#59 0xb6d46eb5 in QEventLoop::exec (this=0xbfe4daac, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#60 0xb6d496fe in QCoreApplication::exec () at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1009
#61 0xb60d04bc in QApplication::exec () at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3725
#62 0xb2609fd5 in kdemain (argc=1, argv=0x80a11a0) at /local/svn/kde/trunk/KDE/kdebase/workspace/ksmserver/main.cpp:311
#63 0x0804dd65 in launch (argc=1, _name=0x809e904 "ksmserver", args=0x809e90e "/home/pepo", cwd=0x809e90e "/home/pepo", envc=58, envs=0x809ef57 "", reset_env=true, tty=0x809ef57 "", avoid_loops=
    false, startup_id_str=0x809ef5c "") at /local/svn/kde/trunk/KDE/kdelibs/kinit/kinit.cpp:727
#64 0x0804edfa in handle_launcher_request (sock=5, who=0x8053270 "wrapper") at /local/svn/kde/trunk/KDE/kdelibs/kinit/kinit.cpp:1219
#65 0x0804f4d6 in handle_requests (waitForPid=0) at /local/svn/kde/trunk/KDE/kdelibs/kinit/kinit.cpp:1403
#66 0x08050e35 in main (argc=4, argv=0xbfe4e2b4, envp=0xbfe4e2c8) at /local/svn/kde/trunk/KDE/kdelibs/kinit/kinit.cpp:1898

Reported using DrKonqi
Comment 1 Andrey Borzenkov 2010-10-10 14:29:22 UTC
Created attachment 52388 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.5.71 (4.6 >= 20101005) using Qt 4.7.0

- What I was doing when the application crashed:

After update to 4.5.71 every time on logout I get attached crash.

-- Backtrace (Reduced):
#6  Solid::Processor::instructionSets (this=0x0) at /usr/src/debug/kdelibs-4.5.71svn1183355/solid/solid/processor.cpp:58
#7  0x00007f5f5b68a06a in BlendingThread::BlendingThread (this=0x144ba10, parent=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.71svn1183367/ksmserver/fadeeffect.cpp:307
#8  0x00007f5f5b68a1fb in FadeEffect::FadeEffect (this=0x12148b0, parent=<value optimized out>, pixmap=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.5.71svn1183367/ksmserver/fadeeffect.cpp:492
#9  0x00007f5f5b688f83 in LogoutEffect::create (parent=0x112d600, pixmap=0x112d630) at /usr/src/debug/kdebase-workspace-4.5.71svn1183367/ksmserver/logouteffect.cpp:112
#10 0x00007f5f5b67bd22 in KSMShutdownFeedback::slotPaintEffect (this=0x112d600) at /usr/src/debug/kdebase-workspace-4.5.71svn1183367/ksmserver/shutdowndlg.cpp:91
Comment 2 Kevin Ottens 2010-10-12 16:30:50 UTC
Fixed in revision 1185199.
Comment 3 Pino Toscano 2010-10-30 11:08:22 UTC
*** Bug 255436 has been marked as a duplicate of this bug. ***