Bug 285731 - Plasma desktop crash
Summary: Plasma desktop crash
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: desktop (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 285746 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-04 06:52 UTC by Dawit Alemayehu
Modified: 2011-11-22 08:11 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
proposed patch (719 bytes, patch)
2011-11-04 06:57 UTC, Dawit Alemayehu
Details
New crash information added by DrKonqi (5.02 KB, text/plain)
2011-11-21 12:04 UTC, Weng Xuetian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dawit Alemayehu 2011-11-04 06:52:06 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.3 (4.7.3) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.0-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

I safely removed my flash drive in Dolphin by right clicking on it and selecting "Safely Remove <Device-Name>" from the context menu.

-- Backtrace:
Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fdc5416d760 (LWP 1069))]

Thread 4 (Thread 0x7fdc2f896700 (LWP 1093)):
#0  0x00007fdc527b8e19 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x00007fdc4d92ad84 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007fdc4d92bb9d in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007fdc4d92c1c9 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007fdc52b5166e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fdc52b25a92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fdc52b25c97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007fdc52a3d13f in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00007fdc52b08aef in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fdc52a3fbc5 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007fdc527b5df0 in start_thread () from /lib/libpthread.so.0
#11 0x00007fdc50e7639d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fdc2e3e9700 (LWP 1097)):
#0  0x00007fdc527b9b54 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fdc47107f72 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007fdc47107fa9 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007fdc527b5df0 in start_thread () from /lib/libpthread.so.0
#4  0x00007fdc50e7639d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdc2ba93700 (LWP 1586)):
#0  0x00007fdc527b9ecb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fdc52a3ffde in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fdc52a3497f in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fdc52a3fbc5 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fdc527b5df0 in start_thread () from /lib/libpthread.so.0
#5  0x00007fdc50e7639d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdc5416d760 (LWP 1069)):
[KCrash Handler]
#6  0x00007fdc522d387a in QGraphicsScene::addItem(QGraphicsItem*) () from /usr/lib/libQtGui.so.4
#7  0x00007fdc2d5cd418 in ToolTipProxy::syncTarget (this=0x1c4c010) at /usr/local/src/KDE/git/kdebase/kde-runtime/plasma/declarativeimports/core/tooltip.cpp:81
#8  0x00007fdc2d5cd6c5 in ToolTipProxy::qt_metacall (this=0x1c4c010, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x197d0c0) at /usr/local/build/KDE/git/kdebase/kde-runtime/plasma/declarativeimports/core/tooltip.moc:99
#9  0x00007fdc52b3d18e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#10 0x00007fdc51cdfae4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007fdc51ce4951 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fdc53b58cc6 in KApplication::notify (this=0xb8e6e0, receiver=0x1c4c010, event=0x2445f50) at /usr/local/src/KDE/git/kdelibs/kdeui/kernel/kapplication.cpp:311
#13 0x00007fdc52b2689c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#14 0x00007fdc52b29c2f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#15 0x00007fdc52b511a3 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007fdc4d92b7fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007fdc4d92bff8 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007fdc4d92c1c9 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007fdc52b51606 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007fdc51d82eee in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007fdc52b25a92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007fdc52b25c97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x00007fdc52b29eab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#24 0x00007fdc401d66d3 in kdemain (argc=1, argv=0xad2fa0) at /usr/local/src/KDE/git/kdebase/kde-workspace/plasma/desktop/shell/main.cpp:120
#25 0x00000000004087d2 in launch (argc=1, _name=0xaeedc8 "/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=0x40b0e2 "0") at /usr/local/src/KDE/git/kdelibs/kinit/kinit.cpp:734
#26 0x00000000004096d6 in handle_launcher_request (sock=<optimized out>, who=<optimized out>) at /usr/local/src/KDE/git/kdelibs/kinit/kinit.cpp:1226
#27 0x0000000000409d6f in handle_requests (waitForPid=0) at /usr/local/src/KDE/git/kdelibs/kinit/kinit.cpp:1419
#28 0x000000000040571f in main (argc=4, argv=0x7fff00000001, envp=0x7fffd1ca35e0) at /usr/local/src/KDE/git/kdelibs/kinit/kinit.cpp:1907

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2011-11-04 06:57:13 UTC
Created attachment 65216 [details]
proposed patch

untested proposed patch.
Comment 2 Christoph Feck 2011-11-04 14:41:45 UTC
*** Bug 285746 has been marked as a duplicate of this bug. ***
Comment 3 Weng Xuetian 2011-11-21 12:04:17 UTC
Created attachment 65904 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:
With removable disk connected, the once crashed plasma-desktop would not restart successfully again (The initial crash is unrelated to this bug)

-- Backtrace (Reduced):
#6  0x00007f5555d23d4a in QGraphicsScene::addItem(QGraphicsItem*) () from /usr/lib/libQtGui.so.4
#7  0x00007f5529f7d430 in ToolTipProxy::syncTarget (this=0x29b6b40) at /chakra/desktop-unstable/kde-runtime/src/kde-runtime-4.7.80/plasma/declarativeimports/core/tooltip.cpp:98
#8  0x00007f5529f7d8b5 in ToolTipProxy::qt_metacall (this=0x29b6b40, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x28c8380) at /chakra/desktop-unstable/kde-runtime/src/kde-runtime-4.7.80/plasma/declarativeimports/core/tooltip.moc:99
#9  0x00007f5556585aae in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#10 0x00007f555574ed94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
Comment 4 Beat Wolf 2011-11-21 22:48:21 UTC
could you please post this patch at:
https://git.reviewboard.kde.org

here it will get lost.
Comment 5 Aaron J. Seigo 2011-11-22 08:11:11 UTC
this has already been fixed in the meantime ... (and yes, patches on reviewboard don't get lost :)