Bug 255436

Summary: logout process crashes with 'confirm logout' widget active (it does not crash when it is disabled)
Product: [Frameworks and Libraries] solid Reporter: Ric <fhj52.info>
Component: libsolid-udevAssignee: Rafael Fernández López <ereslibre>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ric 2010-10-27 21:24:21 UTC
Application: ksmserver (0.4)
KDE Platform Version: 4.5.71 (4.6 >= 20101005)
Qt Version: 4.7.0
Operating System: Linux 2.6.36-desktop-1mnb x86_64
Distribution (Platform): Mandriva RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Selected logout with 'confirm logout' option selected as active.

- Custom settings of the application:
Logout started breaking again for $USER regardless of whether 'Desktop Effects' were on or off. 
I noticed the confirm logout dialog was not displaying so DISabled it in preferences. Result was that I could logout witout crash > 6 times.
I ENabled the 'confirm logout' option, applied it and tried to logout. Result is this crash. 

Apparently the 'confirm logout' widget is somehow breaking the logout.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7ff71af86710 (LWP 30040)):
#0  0x00007ff73a847663 in poll () from /lib64/libc.so.6
#1  0x00007ff737b31724 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff737b31c5d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff73be1e8b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007ff73bdf2ad2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007ff73bdf2d1c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007ff73bd07e74 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007ff73bdd41f8 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007ff73bd0a68e in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007ff73ba82d25 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff73a851efd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff73d1c2720 (LWP 29832)):
[KCrash Handler]
#6  Solid::Processor::instructionSets (this=0x0) at /usr/src/debug/kdelibs-4.5.71svn1183355/solid/solid/processor.cpp:58
#7  0x00007ff72c51506a in BlendingThread::BlendingThread (this=0x1ea7460, parent=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.71svn1187451/ksmserver/fadeeffect.cpp:307
#8  0x00007ff72c5151fb in FadeEffect::FadeEffect (this=0x1ea00b0, parent=<value optimized out>, pixmap=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.5.71svn1187451/ksmserver/fadeeffect.cpp:492
#9  0x00007ff72c513f83 in LogoutEffect::create (parent=0x1d97a40, pixmap=0x1d97a70) at /usr/src/debug/kdebase-workspace-4.5.71svn1187451/ksmserver/logouteffect.cpp:112
#10 0x00007ff72c506d22 in KSMShutdownFeedback::slotPaintEffect (this=0x1d97a40) at /usr/src/debug/kdebase-workspace-4.5.71svn1187451/ksmserver/shutdowndlg.cpp:91
#11 0x00007ff72c506dbc in KSMShutdownFeedback::qt_metacall (this=0x1d97a40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kdebase-workspace-4.5.71svn1187451/build/ksmserver/shutdowndlg.moc:74
#12 0x00007ff73be07fbf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x00007ff73be0ea5f in ?? () from /usr/lib64/libQtCore.so.4
#14 0x00007ff73be077e9 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#15 0x00007ff73afa6664 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#16 0x00007ff73afab0da in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007ff73cb51c36 in KApplication::notify (this=0x1cd0dc0, receiver=0x1dac950, event=0x7fff012f4bc0) at /usr/src/debug/kdelibs-4.5.71svn1183355/kdeui/kernel/kapplication.cpp:311
#18 0x00007ff73bdf373c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#19 0x00007ff73be21382 in ?? () from /usr/lib64/libQtCore.so.4
#20 0x00007ff73be1e174 in ?? () from /usr/lib64/libQtCore.so.4
#21 0x00007ff737b311e3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007ff737b319c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007ff737b31c5d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007ff73be1e85f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#25 0x00007ff73b04a8be in ?? () from /usr/lib64/libQtGui.so.4
#26 0x00007ff73bdf2ad2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#27 0x00007ff73bdf2d1c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#28 0x00007ff73b45914e in QDialog::exec() () from /usr/lib64/libQtGui.so.4
#29 0x00007ff72c5098f2 in KSMShutdownDlg::confirmShutdown (maysd=<value optimized out>, choose=true, sdtype=@0x7fff012f4f2c, bootOption=...)
    at /usr/src/debug/kdebase-workspace-4.5.71svn1187451/ksmserver/shutdowndlg.cpp:686
#30 0x00007ff72c512c16 in KSMServer::shutdown (this=0x1d99e80, confirm=<value optimized out>, sdtype=KWorkSpace::ShutdownTypeNone, sdmode=KWorkSpace::ShutdownModeInteractive)
    at /usr/src/debug/kdebase-workspace-4.5.71svn1187451/ksmserver/shutdown.cpp:157
#31 0x00007ff73a57699c in _SmsProcessMessage () from /usr/lib64/libSM.so.6
#32 0x00007ff73a366b36 in IceProcessMessages () from /usr/lib64/libICE.so.6
#33 0x00007ff72c5031a5 in KSMServer::processData (this=0x1d99e80) at /usr/src/debug/kdebase-workspace-4.5.71svn1187451/ksmserver/server.cpp:774
#34 0x00007ff72c503311 in KSMServer::qt_metacall (this=0x1d99e80, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff012f52d0)
    at /usr/src/debug/kdebase-workspace-4.5.71svn1187451/build/ksmserver/server.moc:123
#35 0x00007ff73be07fbf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#36 0x00007ff73be5084e in QSocketNotifier::activated(int) () from /usr/lib64/libQtCore.so.4
#37 0x00007ff73be0e63b in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#38 0x00007ff73afa6664 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#39 0x00007ff73afab0da in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#40 0x00007ff73cb51c36 in KApplication::notify (this=0x1cd0dc0, receiver=0x1da9a50, event=0x7fff012f59a0) at /usr/src/debug/kdelibs-4.5.71svn1183355/kdeui/kernel/kapplication.cpp:311
#41 0x00007ff73bdf373c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#42 0x00007ff73be1e229 in ?? () from /usr/lib64/libQtCore.so.4
#43 0x00007ff737b311e3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#44 0x00007ff737b319c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#45 0x00007ff737b31c5d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#46 0x00007ff73be1e85f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#47 0x00007ff73b04a8be in ?? () from /usr/lib64/libQtGui.so.4
#48 0x00007ff73bdf2ad2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#49 0x00007ff73bdf2d1c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#50 0x00007ff73bdf719b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#51 0x00007ff72c4ff41f in kdemain (argc=0, argv=0x1cbd1e0) at /usr/src/debug/kdebase-workspace-4.5.71svn1187451/ksmserver/main.cpp:311
#52 0x0000000000407927 in launch (argc=<value optimized out>, _name=0x1c85858 "ksmserver", args=<value optimized out>, cwd=0x7fff012f6100 "\200&\313\001", envc=68, envs=<value optimized out>, 
    reset_env=true, tty=0x1c85f86 "", avoid_loops=false, startup_id_str=0x1c85f8f "") at /usr/src/debug/kdelibs-4.5.71svn1183355/kinit/kinit.cpp:727
#53 0x0000000000408243 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /usr/src/debug/kdelibs-4.5.71svn1183355/kinit/kinit.cpp:1219
#54 0x0000000000408890 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.5.71svn1183355/kinit/kinit.cpp:1403
#55 0x0000000000409158 in main (argc=4, argv=0x7fff012f6aa8, envp=0x7fff012f6ad0) at /usr/src/debug/kdelibs-4.5.71svn1183355/kinit/kinit.cpp:1898

This bug may be a duplicate of or related to bug 253353.

Possible duplicates by query: bug 253353.

Reported using DrKonqi
Comment 1 Pino Toscano 2010-10-30 11:08:22 UTC

*** This bug has been marked as a duplicate of bug 253353 ***