Bug 279065

Summary: kdeinit4 reports kwin crash right after login, and reports a crash when trying to logout
Product: [Unmaintained] kdelibs Reporter: JC Casiano <jcca>
Component: kdedAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: rm
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description JC Casiano 2011-08-01 17:35:58 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-ARCH i686
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
Just finished booting, logged in successfully, waiting for desktop top appear.  Auto load of Thunderbird and Firefox.

- Unusual behavior I noticed:
kdeinit4 crash on kwin every time, just after login, my desktop graphics effects don't start.  Pressing Shift-Alt-F12 restores the graphics effects.  System operates normally for the most part after that.  But when logging out, kdeinit4 again crashes.  Sometimes the system will log out after closing the report dialog, most times the screen goes blank except for the mouse cursor.  I can switch to a terminal and shutdown.

- Custom settings of the application:
I haven't tried this yet, I also have graphics enabled for root, going to disable that.  Perhaps theres a problem when switching from login to user session?

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0xb5745b60 (LWP 1666))]

Thread 3 (Thread 0xb0a6ab70 (LWP 1715)):
#0  0xb6cb3b70 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0xb5b28af2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#2  0xb5b293b0 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb5b296da in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6e4f4a7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb6e201fd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb6e20441 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb6d23abb in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xb6e00d9d in ?? () from /usr/lib/libQtCore.so.4
#9  0xb6d26913 in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6cb0c77 in start_thread () from /lib/libpthread.so.0
#11 0xb60a143e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xab74fb70 (LWP 2071)):
#0  0xb6cb3b74 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0xb5b281df in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0xb5b29067 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb5b296da in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6e4f4a7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb6e201fd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb6e20441 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb6d23abb in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xb6e00d9d in ?? () from /usr/lib/libQtCore.so.4
#9  0xb6d26913 in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6cb0c77 in start_thread () from /lib/libpthread.so.0
#11 0xb60a143e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb5745b60 (LWP 1666)):
[KCrash Handler]
#7  0xb77c4424 in __kernel_vsyscall ()
#8  0xb5ffcb8f in raise () from /lib/libc.so.6
#9  0xb5ffe515 in abort () from /lib/libc.so.6
#10 0xb5ff5655 in ?? () from /lib/libc.so.6
#11 0xb5ff5707 in __assert_fail () from /lib/libc.so.6
#12 0xaff803ae in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#13 0xaff8d441 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#14 0xb002e1e1 in ?? () from /usr/lib/kde4/kded_kmixd.so
#15 0xb00458be in ?? () from /usr/lib/kde4/kded_kmixd.so
#16 0xb004582e in ?? () from /usr/lib/kde4/kded_kmixd.so
#17 0xb6e275ad in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#18 0xb6e3635a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0xb6e84f45 in QSocketNotifier::activated(int) () from /usr/lib/libQtCore.so.4
#20 0xb6e3d6ff in QSocketNotifier::event(QEvent*) () from /usr/lib/libQtCore.so.4
#21 0xb6352084 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb6357433 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb753d8b1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0xb6e211be in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0xb6e4eb48 in ?? () from /usr/lib/libQtCore.so.4
#26 0xb5b28c4f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0xb5b293b0 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0xb5b296da in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0xb6e4f44a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0xb64056ba in ?? () from /usr/lib/libQtGui.so.4
#31 0xb6e201fd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0xb6e20441 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0xb6e24bad in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#34 0xb634fed4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#35 0xb52cf7f9 in kdemain () from /usr/lib/libkdeinit4_kded4.so
#36 0x0804f29a in _start ()

Possible duplicates by query: bug 265212.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-08-01 21:53:42 UTC

*** This bug has been marked as a duplicate of bug 209975 ***
Comment 2 Ralph Moenchmeyer 2011-12-06 14:10:41 UTC
Regarding Kwin crash when logging out: 

Exactly the same behaviour for Opensuse 11.4, KDE 4.73, Qt 4.7.90 (i.e. transition to Qt 4.8). 

Kwin crashes all the time when logging out.