Bug 306284

Summary: Plasma crashed after wake up from suspend to RAM
Product: [Unmaintained] solid Reporter: Arne Henningsen <arne.henningsen>
Component: networkmanagement-mobileAssignee: Lamarque V. Souza <lamarque>
Status: RESOLVED NOT A BUG    
Severity: crash CC: cfeck
Priority: NOR    
Version: 4.7.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arne Henningsen 2012-09-05 08:02:23 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-24-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
I woke up my laptop computer (HP Elitebook 8560w) from suspend to RAM, entered my password to unlock the screen and then I saw the window of the bug reporting assistant.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Aborted
[Current thread is 1 (Thread 0x7fb2ce3897c0 (LWP 6288))]

Thread 5 (Thread 0x7fb2afdf1700 (LWP 6290)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fb2cdc1462f in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fb2cdc129c1 in __GI___libc_free (mem=0x7fb2cdf301c0) at malloc.c:3736
#3  0x00007fb2bcfcb92c in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.280.13
#4  0x00007fb2c1fa94e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb2cae55c37 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x18e2c60, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#6  0x00007fb2cae55e49 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x18e2c60, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#7  0x00007fb2cad42e34 in QThreadPrivate::finish (arg=0x7fb2cb15e580) at thread/qthread_unix.cpp:367
#8  0x00007fb2cad43d0d in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#9  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:824
#10 QThreadPrivate::start (arg=0x7fb2cb15e580) at thread/qthread_unix.cpp:290
#11 0x00007fb2bf2c656c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007fb2c2abaefc in start_thread (arg=0x7fb2afdf1700) at pthread_create.c:304
#13 0x00007fb2cdc7759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb2a2f86700 (LWP 6292)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fb2cdc1462f in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fb2cdc129c1 in __GI___libc_free (mem=0x7fb2cdf301c0) at malloc.c:3736
#3  0x00007fb2bcfcb92c in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.280.13
#4  0x00007fb2cae55665 in socketNotifierSourceCheck (source=0x1c77210) at kernel/qeventdispatcher_glib.cpp:92
#5  0x00007fb2c1fad734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb2c1fadf82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fb2c1fae429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fb2cae55ed6 in QEventDispatcherGlib::processEvents (this=0x1c775f0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#9  0x00007fb2cae29cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007fb2cae29ef7 in QEventLoop::exec (this=0x7fb2a2f85cd0, flags=...) at kernel/qeventloop.cpp:201
#11 0x00007fb2cad4127f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#12 0x00007fb2cae0ccbf in QInotifyFileSystemWatcherEngine::run (this=0x1c76840) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x00007fb2cad43d05 in QThreadPrivate::start (arg=0x1c76840) at thread/qthread_unix.cpp:331
#14 0x00007fb2bf2c656c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#15 0x00007fb2c2abaefc in start_thread (arg=0x7fb2a2f86700) at pthread_create.c:304
#16 0x00007fb2cdc7759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb2a0f0b700 (LWP 6293)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fb2cdc1462f in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fb2cdc129c1 in __GI___libc_free (mem=0x7fb2cdf301c0) at malloc.c:3736
#3  0x00007fb2bcfcb92c in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.280.13
#4  0x00007fb2cae55665 in socketNotifierSourceCheck (source=0x23226a0) at kernel/qeventdispatcher_glib.cpp:92
#5  0x00007fb2c1fad734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb2c1fadf82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fb2c1fae429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fb2cae55ed6 in QEventDispatcherGlib::processEvents (this=0x23202e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#9  0x00007fb2cae29cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007fb2cae29ef7 in QEventLoop::exec (this=0x7fb2a0f0acd0, flags=...) at kernel/qeventloop.cpp:201
#11 0x00007fb2cad4127f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#12 0x00007fb2cae0ccbf in QInotifyFileSystemWatcherEngine::run (this=0x231fb70) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x00007fb2cad43d05 in QThreadPrivate::start (arg=0x231fb70) at thread/qthread_unix.cpp:331
#14 0x00007fb2bf2c656c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#15 0x00007fb2c2abaefc in start_thread (arg=0x7fb2a0f0b700) at pthread_create.c:304
#16 0x00007fb2cdc7759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb29d689700 (LWP 6300)):
#0  0x00007fb2cdc6b473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb2c1fadf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb2c1fae792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb29e167516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fb2c1fd32b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb2bf2c656c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007fb2c2abaefc in start_thread (arg=0x7fb29d689700) at pthread_create.c:304
#7  0x00007fb2cdc7759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb2ce3897c0 (LWP 6288)):
[KCrash Handler]
#6  0x00007fb2cdbca3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fb2cdbcdb0b in __GI_abort () at abort.c:92
#8  0x00007fb2cdc03d63 in __libc_message (do_abort=2, fmt=0x7fb2cdcf4e58 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007fb2cdc0e6e6 in malloc_printerr (action=3, str=0x7fb2cdcf4f68 "free(): invalid next size (fast)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007fb2cdc129cc in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007fb2bcfcb92c in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.280.13
#12 0x00007fb2cae3db7b in cleanConnectionLists (this=<optimized out>) at kernel/qobject.cpp:384
#13 QObjectPrivate::cleanConnectionLists (this=0x2bf2c00) at kernel/qobject.cpp:361
#14 0x00007fb2cae3e0f5 in QMetaObject::activate (sender=0x3337ec0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc51436a0) at kernel/qobject.cpp:3314
#15 0x00007fb2cae3e36f in QObject::destroyed (this=<optimized out>, _t1=0x3337ec0) at .moc/release-shared/moc_qobject.cpp:149
#16 0x00007fb2cae41ef7 in QObject::~QObject (this=0x3337ec0, __in_chrg=<optimized out>) at kernel/qobject.cpp:843
#17 0x00007fb2a1136117 in ~NMModemNetworkInterfacePrivate (this=0x3337e50, __in_chrg=<optimized out>) at ../../../../solidcontrolfuture/solid/networkmanager-0.9/networkmodeminterface_p.h:27
#18 NMModemNetworkInterfacePrivate::~NMModemNetworkInterfacePrivate (this=0x3337e50, __in_chrg=<optimized out>) at ../../../../solidcontrolfuture/solid/networkmanager-0.9/networkmodeminterface_p.h:27
#19 0x00007fb2a112e475 in NMNetworkInterface::~NMNetworkInterface (this=0x1d270b0, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../../../solidcontrolfuture/solid/networkmanager-0.9/networkinterface.cpp:92
#20 0x00007fb2a11351ad in NMModemNetworkInterface::~NMModemNetworkInterface (this=0x1d270b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../solidcontrolfuture/solid/networkmanager-0.9/networkmodeminterface.cpp:57
#21 0x00007fb2a11351e9 in NMModemNetworkInterface::~NMModemNetworkInterface (this=0x1d270b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../solidcontrolfuture/solid/networkmanager-0.9/networkmodeminterface.cpp:59
#22 0x00007fb2a1a3e945 in Solid::Control::NetworkManagerNm09Private::_k_networkInterfaceRemoved (this=0x1d16760, uni=...) at ../../../../../solidcontrolfuture/libs/solid/control/networkmanager.cpp:233
#23 0x00007fb2a1a3ea89 in Solid::Control::NetworkManagerNm09Private::qt_metacall (this=0x1d16760, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc51438a0) at ./networkmanager_p.moc:82
#24 0x00007fb2cae3deba in QMetaObject::activate (sender=0x1d24980, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc51438a0) at kernel/qobject.cpp:3278
#25 0x00007fb2a0f10575 in Solid::Control::Ifaces::NetworkManager::networkInterfaceRemoved (this=<optimized out>, _t1=<optimized out>) at ./networkmanager.moc:133
#26 0x00007fb2a112ab89 in NMNetworkManager::deviceRemoved (this=0x1d24980, objpath=...) at ../../../../solidcontrolfuture/solid/networkmanager-0.9/manager.cpp:230
#27 0x00007fb2a112cc71 in NMNetworkManager::qt_metacall (this=0x1d24980, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc5143a40) at ./manager.moc:98
#28 0x00007fb2cae3deba in QMetaObject::activate (sender=0x1d264f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc5143a40) at kernel/qobject.cpp:3278
#29 0x00007fb2a1137f05 in OrgFreedesktopNetworkManagerInterface::DeviceRemoved (this=<optimized out>, _t1=<optimized out>) at ./nm-managerinterface.moc:215
#30 0x00007fb2a113914c in OrgFreedesktopNetworkManagerInterface::qt_metacall (this=0x1d264f0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffc5144060) at ./nm-managerinterface.moc:130
#31 0x00007fb2cb1820e9 in QDBusConnectionPrivate::deliverCall (this=0x12b5e30, object=0x1d264f0, msg=..., metaTypes=..., slotIdx=7) at qdbusintegrator.cpp:942
#32 0x00007fb2cb18b38f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#33 0x00007fb2cae41a5e in QObject::event (this=0x1d264f0, e=<optimized out>) at kernel/qobject.cpp:1217
#34 0x00007fb2ca1da474 in notify_helper (e=0x26a3890, receiver=0x1d264f0, this=0x1148230) at kernel/qapplication.cpp:4486
#35 QApplicationPrivate::notify_helper (this=0x1148230, receiver=0x1d264f0, e=0x26a3890) at kernel/qapplication.cpp:4458
#36 0x00007fb2ca1df2e1 in QApplication::notify (this=0x1139610, receiver=0x1d264f0, e=0x26a3890) at kernel/qapplication.cpp:4365
#37 0x00007fb2cbad9466 in KApplication::notify (this=0x1139610, receiver=0x1d264f0, event=0x26a3890) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x00007fb2cae2aafc in QCoreApplication::notifyInternal (this=0x1139610, receiver=0x1d264f0, event=0x26a3890) at kernel/qcoreapplication.cpp:787
#39 0x00007fb2cae2e51f in sendEvent (event=0x26a3890, receiver=0x1d264f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1094430) at kernel/qcoreapplication.cpp:1428
#41 0x00007fb2cae55a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#42 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#43 0x00007fb2c1fada5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fb2c1fae258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fb2c1fae429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fb2cae55ed6 in QEventDispatcherGlib::processEvents (this=0x1095f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#47 0x00007fb2ca28210e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007fb2cae29cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007fb2cae29ef7 in QEventLoop::exec (this=0x7fffc5144880, flags=...) at kernel/qeventloop.cpp:201
#50 0x00007fb2cae2e789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#51 0x00007fb2cdf761a3 in kdemain (argc=1, argv=0x7fffc5144c68) at ../../../../plasma/desktop/shell/main.cpp:120
#52 0x00007fb2cdbb530d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fffc5144c68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc5144c58) at libc-start.c:226
#53 0x0000000000400671 in _start ()

Possible duplicates by query: bug 306240, bug 305122, bug 302762, bug 302750, bug 302581.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-09-10 10:53:09 UTC
The problem is with solid, reassigning.
Comment 2 Lamarque V. Souza 2012-09-10 13:17:03 UTC
The crash happens in nvidia propritary driver.
Comment 3 Christoph Feck 2012-09-10 17:32:28 UTC
> The crash happens in nvidia propritary driver.

Most certainly not. free() asserts, because of an invalid pointer. NVIDIA does hook into memory and threading, but I have never seen a crash caused _by_ those hooks.

If this is reproducible, please try creating a valgrind log. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_Valgrind
Comment 4 Arne Henningsen 2012-09-11 21:44:58 UTC
Fortunately, this bug does not occur each time when I wake up my computer from suspend-to-RAM. Hence, unfortunately, it is not reproducible. Is there anything else what I can do?