Bug 302336 - Plasma crashes when uploading files to USB
Summary: Plasma crashes when uploading files to USB
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: 4.8.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-22 09:21 UTC by Tomáš Chvátal
Modified: 2013-05-29 13:23 UTC (History)
1 user (show)

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 Tomáš Chvátal 2012-06-22 09:21:52 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.8.3 (4.8.3) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.2.11-hardened x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

I was transfering files on my Android phone (mass storage).
When I decided I put enough files on the device i closed the dolphin and clicked on the eject/unmount icon in the systray.
Files started to transfer to the device from cache and seems at the point the transfer was finished the plasma crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Shell plochy Plasma (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x363c09cd7a0 (LWP 4375))]

Thread 5 (Thread 0x363a5f4c700 (LWP 4377)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000363b2e3e152 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x363b3112380) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000363b2e3e189 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00000363bf238f2c in start_thread (arg=0x363a5f4c700) at pthread_create.c:301
#4  0x00000363bdfd4ced in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x363a2fc1700 (LWP 4380)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000363b42bbe24 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00000363b42bbf49 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00000363bf238f2c in start_thread (arg=0x363a2fc1700) at pthread_create.c:301
#4  0x00000363bdfd4ced in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x363a26c0700 (LWP 4381)):
#0  __GI___poll (fds=0x363c14784e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:69
#1  0x00000363baf47dc8 in g_main_context_poll (n_fds=1, fds=0x363c14784e0, timeout=-1, context=0x363c14788e0, priority=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0x363c14788e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00000363baf48279 in g_main_context_iteration (context=0x363c14788e0, may_block=1) at gmain.c:3152
#4  0x00000363bf5f62e6 in QEventDispatcherGlib::processEvents (this=0x363c1478500, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000363bf5c6332 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000363bf5c6587 in QEventLoop::exec (this=0x363a26bfde0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000363bf4c5a47 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00000363bf4c8a4b in QThreadPrivate::start (arg=0x363c1477cc0) at thread/qthread_unix.cpp:298
#9  0x00000363bf238f2c in start_thread (arg=0x363a26c0700) at pthread_create.c:301
#10 0x00000363bdfd4ced in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x36396d06700 (LWP 4382)):
#0  0x00000363bf4c7b35 in QThreadData::current () at thread/qthread_unix.cpp:199
#1  0x00000363bf5f59e9 in postEventSourcePrepare (s=0x363c1604d40, timeout=0x0) at kernel/qeventdispatcher_glib.cpp:256
#2  0x00000363baf47564 in g_main_context_check (context=0x363c1604190, max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at gmain.c:2959
#3  0x00000363baf47de2 in g_main_context_iterate (context=0x363c1604190, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3086
#4  0x00000363baf48279 in g_main_context_iteration (context=0x363c1604190, may_block=1) at gmain.c:3152
#5  0x00000363bf5f62e6 in QEventDispatcherGlib::processEvents (this=0x363c15fbcb0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00000363bf5c6332 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00000363bf5c6587 in QEventLoop::exec (this=0x36396d05db0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00000363bf4c5a47 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00000363bf5a616f in QInotifyFileSystemWatcherEngine::run (this=0x363c15f84d0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00000363bf4c8a4b in QThreadPrivate::start (arg=0x363c15f84d0) at thread/qthread_unix.cpp:298
#11 0x00000363bf238f2c in start_thread (arg=0x36396d06700) at pthread_create.c:301
#12 0x00000363bdfd4ced in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x363c09cd7a0 (LWP 4375)):
[KCrash Handler]
#6  QDeclarativeData::destroyed (this=0x363c326bad0, object=0x363c1b8e060) at qml/qdeclarativeengine.cpp:1143
#7  0x00000363bf5df50a in QObject::~QObject (this=0x363c1b8e060, __in_chrg=<optimized out>) at kernel/qobject.cpp:854
#8  0x00000363b263bdf9 in QDeclarativeAnchors::~QDeclarativeAnchors (this=0x363c1b8e060, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeanchors.cpp:174
#9  0x00000363b2665279 in QDeclarativeItem::~QDeclarativeItem (this=0x363c39920c0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1682
#10 0x00000363947d37c1 in ~QDeclarativeElement (this=0x363c39920c0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#11 QDeclarativePrivate::QDeclarativeElement<QIconItem>::~QDeclarativeElement (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#12 0x00000363bed2d106 in QGraphicsItem::~QGraphicsItem (this=0x363c332c2f0, __in_chrg=<optimized out>) at graphicsview/qgraphicsitem.cpp:1493
#13 0x00000363b26652e7 in ~QGraphicsObject (this=0x363c332c2e0, __in_chrg=<optimized out>) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#14 QDeclarativeItem::~QDeclarativeItem (this=0x363c332c2e0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1660
#15 0x00000363b2625cb5 in ~QDeclarativeElement (this=0x363c332c2e0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#16 QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x363c332c2e0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#17 0x00000363bed2d106 in QGraphicsItem::~QGraphicsItem (this=0x363c24091f0, __in_chrg=<optimized out>) at graphicsview/qgraphicsitem.cpp:1493
#18 0x00000363b26652e7 in ~QGraphicsObject (this=0x363c24091e0, __in_chrg=<optimized out>) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#19 QDeclarativeItem::~QDeclarativeItem (this=0x363c24091e0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1660
#20 0x00000363b2665369 in QDeclarativeItem::~QDeclarativeItem (this=0x363c24091e0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1685
#21 0x00000363bed2d106 in QGraphicsItem::~QGraphicsItem (this=0x363c332cc00, __in_chrg=<optimized out>) at graphicsview/qgraphicsitem.cpp:1493
#22 0x00000363b26652e7 in ~QGraphicsObject (this=0x363c332cbf0, __in_chrg=<optimized out>) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#23 QDeclarativeItem::~QDeclarativeItem (this=0x363c332cbf0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1660
#24 0x00000363b26260b5 in ~QDeclarativeElement (this=0x363c332cbf0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#25 QDeclarativePrivate::QDeclarativeElement<QDeclarativeListView>::~QDeclarativeElement (this=0x363c332cbf0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#26 0x00000363bed2d106 in QGraphicsItem::~QGraphicsItem (this=0x363c2f63720, __in_chrg=<optimized out>) at graphicsview/qgraphicsitem.cpp:1493
#27 0x00000363b26652e7 in ~QGraphicsObject (this=0x363c2f63710, __in_chrg=<optimized out>) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#28 QDeclarativeItem::~QDeclarativeItem (this=0x363c2f63710, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1660
#29 0x00000363b2625db5 in ~QDeclarativeElement (this=0x363c2f63710, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#30 QDeclarativePrivate::QDeclarativeElement<QDeclarativeMouseArea>::~QDeclarativeElement (this=<optimized out>, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#31 0x00000363bed2d106 in QGraphicsItem::~QGraphicsItem (this=0x363c31b6310, __in_chrg=<optimized out>) at graphicsview/qgraphicsitem.cpp:1493
#32 0x00000363b26652e7 in ~QGraphicsObject (this=0x363c31b6300, __in_chrg=<optimized out>) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#33 QDeclarativeItem::~QDeclarativeItem (this=0x363c31b6300, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1660
#34 0x00000363b2625cb5 in ~QDeclarativeElement (this=0x363c31b6300, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#35 QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x363c31b6300, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#36 0x00000363bf5e02e8 in QObject::event (this=0x363c31b6300, e=<optimized out>) at kernel/qobject.cpp:1176
#37 0x00000363be756c64 in notify_helper (e=0x363c39854a0, receiver=0x363c31b6300, this=0x363c0cfd710) at kernel/qapplication.cpp:4554
#38 QApplicationPrivate::notify_helper (this=0x363c0cfd710, receiver=0x363c31b6300, e=0x363c39854a0) at kernel/qapplication.cpp:4526
#39 0x00000363be75ba51 in QApplication::notify (this=0x363c0cd5080, receiver=0x363c31b6300, e=0x363c39854a0) at kernel/qapplication.cpp:3936
#40 0x00000363c03a9306 in KApplication::notify (this=0x363c0cd5080, receiver=0x363c31b6300, event=0x363c39854a0) at /var/tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#41 0x00000363bf5c754c in QCoreApplication::notifyInternal (this=0x363c0cd5080, receiver=0x363c31b6300, event=0x363c39854a0) at kernel/qcoreapplication.cpp:876
#42 0x00000363bf5cadaa in sendEvent (event=0x363c39854a0, receiver=0x363c31b6300) at kernel/qcoreapplication.h:231
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0x363c0c166e0) at kernel/qcoreapplication.cpp:1500
#44 0x00000363bf5f5e63 in sendPostedEvents () at kernel/qcoreapplication.h:236
#45 postEventSourceDispatch (s=0x363c0cffcf0) at kernel/qeventdispatcher_glib.cpp:279
#46 0x00000363baf478c1 in g_main_dispatch (context=0x363c0cffc00) at gmain.c:2441
#47 g_main_context_dispatch (context=0x363c0cffc00) at gmain.c:3011
#48 0x00000363baf48070 in g_main_context_iterate (context=0x363c0cffc00, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#49 0x00000363baf48279 in g_main_context_iteration (context=0x363c0cffc00, may_block=1) at gmain.c:3152
#50 0x00000363bf5f627f in QEventDispatcherGlib::processEvents (this=0x363c0cd3770, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#51 0x00000363be7f986e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00000363bf5c6332 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x00000363bf5c6587 in QEventLoop::exec (this=0x3ff7d546000, flags=...) at kernel/qeventloop.cpp:204
#54 0x00000363bf5cb0c5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#55 0x00000363ae2e1ac3 in kdemain (argc=1, argv=0x363c0c7d270) at /var/tmp/portage/kde-base/plasma-workspace-4.8.3/work/plasma-workspace-4.8.3/plasma/desktop/shell/main.cpp:120
#56 0x00000363c0a0e25a in launch (argc=1, _name=0x363c0c7cba8 "/usr/bin/plasma-desktop", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x363c0a10d76 "0") at /var/tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kinit/kinit.cpp:734
#57 0x00000363c0a0f386 in handle_launcher_request (sock=7, who=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kinit/kinit.cpp:1226
#58 0x00000363c0a0f8af in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kinit/kinit.cpp:1419
#59 0x00000363c0a0b1f0 in main (argc=2, argv=0x3ff7d547020, envp=0x3ff7d5472f0) at /var/tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kinit/kinit.cpp:1907

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-06-22 15:19:19 UTC
What puzzles me here is the function calls for gmain. What exactly is your setup here? Do you run another session in parallel?
Comment 2 Tomáš Chvátal 2012-06-22 15:32:22 UTC
Nope only one kde running. Pretty standart setup without much tweaking.

Even this is one user machine only.
Comment 3 Myriam Schweingruber 2012-06-22 16:02:06 UTC
Thank you for the feedback and sorry for the noise, I made an error in conclusion when reading the backtrace.
Comment 4 Martin Flöser 2013-05-29 13:23:16 UTC
Thank you for this crash report and helping to improve our software. Unfortunately we were not able to work on this specific report yet. Nowadays the version this crash was reported against is no longer maintained and this makes it very difficult to work on this report as the source code might have changed and the information in the backtrace is no longer valid. 

Also it is quite likely that this problem got fixed in a later version. Crash reports are very often reported multiple times.

If you are able to reproduce this crash with the latest version of KDE Plasma (4.10.3) please reopen this report and adjust the version information in the dropdown above and please also include a new backtrace as generated by the crash reporting tool. Please also make sure that the steps on how to reproduce the crash are precise and correct. Thank you!