Bug 268968 - KWin crashed after resume from sleep
Summary: KWin crashed after resume from sleep
Status: RESOLVED DUPLICATE of bug 258345
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-20 16:39 UTC by Gordon Schumacher
Modified: 2011-04-28 21:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Schumacher 2011-03-20 16:39:12 UTC
Application: kwin (4.5.1 (KDE 4.5.1))
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-27-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
I have not seen this crash before, so I'm including anything I can think of regarding the situation...

I had suspended my ThinkPad T61p last night before going to bed.  At the time, it was connected to my wired network, with the wireless switch disabled.  This morning I took it back out and resumed it with the wireless still shut off.  After it woke back up, I switched on the wireless, then after it connected, finished up sending an e-mail I was working on in Thunderbird.  It was just after I hit "send" that KWin crashed.

Hopefully this is helpful to someone...?

-- Backtrace:
Application: KWin (kwin), signal: Aborted
[Current thread is 1 (Thread 0x7ffdd5b4a7a0 (LWP 2317))]

Thread 3 (Thread 0x7ffdbd66e700 (LWP 2318)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ffdd536f1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007ffdd536dc78 in __libc_free (mem=0x7ffdd566ee40) at malloc.c:3736
#3  0x00007ffdcb8778bb in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
#4  0x00007ffdd1c0546c in cleanup (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#5  ~QScopedPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#6  QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:963
#7  0x00007ffdd1c19ee7 in QEventDispatcherUNIX::~QEventDispatcherUNIX (this=0x7ffdd566ee40, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:627
#8  0x00007ffdd1af7ac4 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:302
#9  0x00007ffdd1af8286 in ~__pthread_cleanup_class (arg=0x7ffdd1f1df40) at /usr/include/pthread.h:545
#10 QThreadPrivate::start (arg=0x7ffdd1f1df40) at thread/qthread_unix.cpp:271
#11 0x00007ffdd311d953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007ffdd186d971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#13 0x00007ffdd53d692d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffdb0783700 (LWP 2320)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ffdd536f1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007ffdd536dc78 in __libc_free (mem=0x7ffdd566ee40) at malloc.c:3736
#3  0x00007ffdcb8778bb in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
#4  0x00007ffdd1c19dce in QEventDispatcherUNIX::unregisterSocketNotifier (this=<value optimized out>, notifier=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:802
#5  0x00007ffdd1c1af77 in QEventDispatcherUNIXPrivate::doSelect (this=0x1de16a0, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:261
#6  0x00007ffdd1c1b81b in QEventDispatcherUNIX::processEvents (this=0x1c3f700, flags=) at kernel/qeventdispatcher_unix.cpp:919
#7  0x00007ffdd1beaa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#8  0x00007ffdd1beadec in QEventLoop::exec (this=0x7ffdb0782cb0, flags=) at kernel/qeventloop.cpp:201
#9  0x00007ffdd1af52fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#10 0x00007ffdd1bca5f8 in QInotifyFileSystemWatcherEngine::run (this=0x1de07d0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007ffdd1af827e in QThreadPrivate::start (arg=0x1de07d0) at thread/qthread_unix.cpp:266
#12 0x00007ffdd311d953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#13 0x00007ffdd186d971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007ffdd53d692d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffdd5b4a7a0 (LWP 2317)):
[KCrash Handler]
#6  0x00007ffdd5323ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007ffdd53276b0 in abort () at abort.c:92
#8  0x00007ffdd535d43b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007ffdd53674b6 in malloc_printerr (action=3, str=0x7ffdd5437ca2 "corrupted double-linked list", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007ffdd5367961 in malloc_consolidate (av=<value optimized out>) at malloc.c:5169
#11 0x00007ffdd536a350 in _int_free (av=0x7ffdd566ee40, p=0x9fdcd30) at malloc.c:5034
#12 0x00007ffdd536dc83 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#13 0x00007ffdcb8778bb in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
#14 0x00007ffdd1c0546c in cleanup (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#15 ~QScopedPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#16 QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:963
#17 0x00007ffdc317aa37 in ?? () from /usr/lib/liboxygenstyle.so.4
#18 0x00007ffdd1bfdd5f in QObjectPrivate::deleteChildren (this=0x9fda160) at kernel/qobject.cpp:1957
#19 0x00007ffdd1c0541b in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#20 0x00007ffdc33acd4e in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#21 0x00007ffdd1bfdc08 in QObject::event (this=0x6e4e530, e=0x90d) at kernel/qobject.cpp:1202
#22 0x00007ffdd0d35fdc in QApplicationPrivate::notify_helper (this=0xb3c0d0, receiver=0x6e4e530, e=0x3fa6200) at kernel/qapplication.cpp:4396
#23 0x00007ffdd0d3baed in QApplication::notify (this=0x7fffe75c12d0, receiver=0x6e4e530, e=0x3fa6200) at kernel/qapplication.cpp:4277
#24 0x00007ffdd4ed2156 in KApplication::notify (this=0x7fffe75c12d0, receiver=0x6e4e530, event=0x3fa6200) at ../../kdeui/kernel/kapplication.cpp:310
#25 0x00007ffdd1bebcdc in QCoreApplication::notifyInternal (this=0x7fffe75c12d0, receiver=0x6e4e530, event=0x3fa6200) at kernel/qcoreapplication.cpp:732
#26 0x00007ffdd1beec22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xb18560) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xb18560) at kernel/qcoreapplication.cpp:1373
#28 0x00007ffdd0de9a44 in sendPostedEvents (this=<value optimized out>, flags=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:75
#30 0x00007ffdd1beaa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007ffdd1beadec in QEventLoop::exec (this=0x7fffe75c1210, flags=) at kernel/qeventloop.cpp:201
#32 0x00007ffdd1beeebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#33 0x00007ffdd56c5f9d in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#34 0x00007ffdd530ed8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffe75c18d8) at libc-start.c:226
#35 0x0000000000400669 in _start ()

Possible duplicates by query: bug 264349, bug 251521, bug 208881.

Reported using DrKonqi
Comment 1 Thomas Lübking 2011-03-22 14:49:52 UTC
probably related to bug #269112 and a bunch of other "crash after resume from STR" issues.
There seems to occur a memory corruption in this process. Possibly related to the OpenGL context?

Please try whether it works
a) w/o compositing (SHIFT+Alt+F12 would be sufficient)
b) the xrender backend (advanced tab in "kcmshell4 kwincompositing")
Comment 2 Gordon Schumacher 2011-03-23 22:39:40 UTC
I'd love to do further testing, but this is the first time I've seen this problem since Maverick came out... I don't know how to reproduce it.
Comment 3 Martin Flöser 2011-04-28 21:16:07 UTC

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