Bug 329657

Summary: Plasma crashed on logout
Product: [Unmaintained] plasma4 Reporter: Gatoso <gatoso>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: patrickdakon1
Priority: NOR    
Version: 4.10.5   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Gatoso 2014-01-06 16:22:35 UTC
Plasma crashed on logout. I could reproduce the crash twice, now I can't do it.



Reproducible: Sometimes

Steps to Reproduce:
1.Log in KDE
2.Fastly, while music of the start is playing, press right click on desktop, select exit and then logout.
3.Plasma will crash
Actual Results:  
The backtrace:

Application: Shell de escritorio Plasma (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9cb771e7c0 (LWP 7525))]

Thread 5 (Thread 0x7f9c989e6700 (LWP 7531)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9cb044bb27 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f9cb0759660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f9cb044bb59 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f9caab42f8e in start_thread (arg=0x7f9c989e6700) at pthread_create.c:311
#4  0x00007f9cb7008a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f9c0a85a700 (LWP 7535)):
#0  g_mutex_get_impl (mutex=0x7f9c0000d2a0) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:123
#1  0x00007f9caa47f5b9 in g_mutex_lock (mutex=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:210
#2  0x00007f9caa4400d5 in g_main_context_iterate (context=0x7f9c0000d2a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3668
#3  0x00007f9caa4406ba in g_main_loop_run (loop=0x7f9c0000d230) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3895
#4  0x00007f9c122274f6 in gdbus_shared_thread_func (user_data=0x7f9c0000d270) at /build/buildd/glib2.0-2.36.0/./gio/gdbusprivate.c:278
#5  0x00007f9caa463eb5 in g_thread_proxy (data=0x7f9c00004370) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#6  0x00007f9caab42f8e in start_thread (arg=0x7f9c0a85a700) at pthread_create.c:311
#7  0x00007f9cb7008a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f9c0943c700 (LWP 7538)):
#0  0x00007f9caab45075 in __GI___pthread_mutex_lock (mutex=0x7f9bec000a60) at pthread_mutex_lock.c:95
#1  0x00007f9caa47f5c1 in g_mutex_lock (mutex=mutex@entry=0x7f9bec0009a0) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:210
#2  0x00007f9caa4402f0 in g_main_context_iteration (context=0x7f9bec0009a0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3761
#3  0x00007f9cb3be8036 in QEventDispatcherGlib::processEvents (this=0x7f9bec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9cb3bb838f in QEventLoop::processEvents (this=this@entry=0x7f9c0943bd90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9cb3bb8618 in QEventLoop::exec (this=this@entry=0x7f9c0943bd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9cb3aba410 in QThread::exec (this=this@entry=0x152e240) at thread/qthread.cpp:542
#7  0x00007f9cb3b99edf in QInotifyFileSystemWatcherEngine::run (this=0x152e240) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f9cb3abcbec in QThreadPrivate::start (arg=0x152e240) at thread/qthread_unix.cpp:338
#9  0x00007f9caab42f8e in start_thread (arg=0x7f9c0943c700) at pthread_create.c:311
#10 0x00007f9cb7008a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f9bf2f86700 (LWP 7539)):
#0  0x00007f9cb6ffa6fd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9caa47e6cf in read (__nbytes=16, __buf=0x7f9bf2f85ba0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f9bec001f50) at /build/buildd/glib2.0-2.36.0/./glib/gwakeup.c:212
#3  0x00007f9caa43fd3c in g_main_context_check (context=context@entry=0x7f9be40009a0, max_priority=2147483647, fds=fds@entry=0x7f9be4002bb0, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3502
#4  0x00007f9caa440175 in g_main_context_iterate (context=context@entry=0x7f9be40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3698
#5  0x00007f9caa440304 in g_main_context_iteration (context=0x7f9be40009a0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#6  0x00007f9cb3be8036 in QEventDispatcherGlib::processEvents (this=0x7f9be40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f9cb3bb838f in QEventLoop::processEvents (this=this@entry=0x7f9bf2f85d90, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f9cb3bb8618 in QEventLoop::exec (this=this@entry=0x7f9bf2f85d90, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f9cb3aba410 in QThread::exec (this=this@entry=0x18052a0) at thread/qthread.cpp:542
#10 0x00007f9cb3b99edf in QInotifyFileSystemWatcherEngine::run (this=0x18052a0) at io/qfilesystemwatcher_inotify.cpp:256
#11 0x00007f9cb3abcbec in QThreadPrivate::start (arg=0x18052a0) at thread/qthread_unix.cpp:338
#12 0x00007f9caab42f8e in start_thread (arg=0x7f9bf2f86700) at pthread_create.c:311
#13 0x00007f9cb7008a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f9cb771e7c0 (LWP 7525)):
[KCrash Handler]
#6  0x00007f9cb57b2944 in QDeclarativeItem::~QDeclarativeItem (this=0x1f5f5a0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f9cb577710e in ~QDeclarativeElement (this=0x1f5f5a0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x1f5f5a0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f9cb3bd35e8 in QObject::event (this=0x1f5f5a0, e=<optimized out>) at kernel/qobject.cpp:1175
#10 0x00007f9cb2f5f8ec in QApplicationPrivate::notify_helper (this=this@entry=0x891ba0, receiver=receiver@entry=0x1f5f5a0, e=e@entry=0x1e47590) at kernel/qapplication.cpp:4567
#11 0x00007f9cb2f6225b in QApplication::notify (this=this@entry=0x87ee70, receiver=receiver@entry=0x1f5f5a0, e=e@entry=0x1e47590) at kernel/qapplication.cpp:4428
#12 0x00007f9cb487d1a6 in KApplication::notify (this=0x87ee70, receiver=0x1f5f5a0, event=0x1e47590) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007f9cb3bb963e in QCoreApplication::notifyInternal (this=0x87ee70, receiver=receiver@entry=0x1f5f5a0, event=event@entry=0x1e47590) at kernel/qcoreapplication.cpp:946
#14 0x00007f9cb3bbd171 in sendEvent (event=0x1e47590, receiver=0x1f5f5a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52, data=0x7ef1f0) at kernel/qcoreapplication.cpp:1570
#16 0x00007f9cb3bbd4a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52) at kernel/qcoreapplication.cpp:1463
#17 0x00007f9cb3bbdd2d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#18 0x00007f9cb2f5dffc in QApplication::exec () at kernel/qapplication.cpp:3828
#19 0x00007f9cb731446b in kdemain (argc=1, argv=0x7fff79cb9798) at ../../../../plasma/desktop/shell/main.cpp:126
#20 0x00007f9cb6f2fea5 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, ubp_av=0x7fff79cb9798, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff79cb9788) at libc-start.c:260
#21 0x0000000000400711 in _start ()
Comment 1 Gatoso 2014-01-06 16:32:36 UTC
I have forgotten to mention that when I get this crash the inferior panel loses their transparency.
Comment 2 Christoph Feck 2014-01-14 00:57:47 UTC

*** This bug has been marked as a duplicate of bug 302931 ***
Comment 3 patrick dakon 2014-03-15 02:16:51 UTC
Created attachment 85582 [details]
New crash information added by DrKonqi

plasma-desktop (4.11.5) on KDE Platform 4.11.5 using Qt 4.8.4

Executable: plasma-desktop PID: 2067 Signal: Segmentation fault (11) Time: 03/14/14 09:11:09 PM
SHUTTING DOWN LINUX MINT.

-- Backtrace (Reduced):
#7  0x00007fb130ea3337 in QDeclarativeItem::~QDeclarativeItem (this=0x6a48bd0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#8  0x00007fb130e6ae96 in ~QDeclarativeElement (this=0x6a48bd0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x6a48bd0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#10 0x00007fb12f2bfe08 in QObject::event (this=0x6a48bd0, e=<optimized out>) at kernel/qobject.cpp:1175
#11 0x00007fb12e644dfc in QApplicationPrivate::notify_helper (this=this@entry=0x103ebd0, receiver=receiver@entry=0x6a48bd0, e=e@entry=0x6654ac0) at kernel/qapplication.cpp:4567