Bug 279329 - plasma crash [@ Plasma::ExtenderGroupPrivate::removeItemFromGroup]
Summary: plasma crash [@ Plasma::ExtenderGroupPrivate::removeItemFromGroup]
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: notifications (show other bugs)
Version: 4.6.5
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 21:37 UTC by Valery Mamonov
Modified: 2018-09-04 19:05 UTC (History)
4 users (show)

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


Attachments
New crash information added by DrKonqi (7.60 KB, text/plain)
2011-08-04 04:17 UTC, Valery Mamonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valery Mamonov 2011-08-03 21:37:27 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing-proposed-updates (sid)

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

I've found some kind of minimized notification or some kind of that, because of transparency I could not determine, which one was it. 
Then i tried to resize  and move it and got plasma crash and restart

The crash can be reproduced some of the time.

-- Backtrace:
Application: Оболочка Plasma (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff6befdd7a0 (LWP 4237))]

Thread 2 (Thread 0x7ff6a7779700 (LWP 5475)):
#0  0xffffffffff60012e in ?? ()
#1  0x00007fff71bff7e7 in ?? ()
#2  0x0000003f43a03e86 in clock_gettime (clock_id=1, tp=0x7ff6a7778a50) at ../sysdeps/unix/clock_gettime.c:116
#3  0x0000003f41cdb7f4 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x0000003f41d9d2cd in QTimerInfoList::updateCurrentTime (this=0x2ef90b0) at kernel/qeventdispatcher_unix.cpp:339
#6  0x0000003f41d9d603 in QTimerInfoList::timerWait (this=0x2ef90b0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x0000003f41d9c06c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7ff6a7778b5c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x0000003f41d9c115 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x0000003f45644957 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#10 0x0000003f45645879 in ?? () from /lib/libglib-2.0.so.0
#11 0x0000003f45645f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#12 0x0000003f41d9cb26 in QEventDispatcherGlib::processEvents (this=0x2529f10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x0000003f41d711c2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x0000003f41d713bf in QEventLoop::exec (this=0x7ff6a7778cf0, flags=...) at kernel/qeventloop.cpp:201
#15 0x0000003f41c891ef in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#16 0x0000003f41d541ef in QInotifyFileSystemWatcherEngine::run (this=0x2f00e20) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x0000003f41c8bc05 in QThreadPrivate::start (arg=0x2f00e20) at thread/qthread_unix.cpp:320
#18 0x0000003f544a155c in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#19 0x0000003f43606b40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#20 0x0000003f42ad536d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff6befdd7a0 (LWP 4237)):
[KCrash Handler]
#6  0x0000003f5dd32741 in Plasma::ExtenderGroupPrivate::removeItemFromGroup (this=0x73006e, item=0x2ccc250) at ../../plasma/extenders/extendergroup.cpp:352
#7  0x0000003f5dd3771d in Plasma::ExtenderItem::setGroup (this=0x2ccc250, group=<value optimized out>, pos=<value optimized out>) at ../../plasma/extenders/extenderitem.cpp:475
#8  0x0000003f5dd378ff in Plasma::ExtenderItem::setGroup (this=<value optimized out>, group=<value optimized out>) at ../../plasma/extenders/extenderitem.cpp:444
#9  0x0000003f5dd3805b in Plasma::ExtenderItem::mouseMoveEvent (this=0x2ccc250, event=<value optimized out>) at ../../plasma/extenders/extenderitem.cpp:745
#10 0x0000003f4cfc98ce in QGraphicsItem::sceneEvent (this=0x2ccc260, event=0x7fff71a586d0) at graphicsview/qgraphicsitem.cpp:6715
#11 0x0000003f4cff1c5a in QGraphicsScenePrivate::sendMouseEvent (this=0x2525680, mouseEvent=0x7fff71a586d0) at graphicsview/qgraphicsscene.cpp:1281
#12 0x0000003f4cff275c in QGraphicsScene::mouseMoveEvent (this=<value optimized out>, mouseEvent=0x7fff71a586d0) at graphicsview/qgraphicsscene.cpp:4081
#13 0x0000003f4d0009eb in QGraphicsScene::event (this=0x242d650, event=0x7fff71a586d0) at graphicsview/qgraphicsscene.cpp:3433
#14 0x0000003f4ca0a9f4 in notify_helper (this=0x242d9b0, receiver=0x242d650, e=0x7fff71a586d0) at kernel/qapplication.cpp:4467
#15 QApplicationPrivate::notify_helper (this=0x242d9b0, receiver=0x242d650, e=0x7fff71a586d0) at kernel/qapplication.cpp:4439
#16 0x0000003f4ca0f881 in QApplication::notify (this=0x2415d90, receiver=0x242d650, e=0x7fff71a586d0) at kernel/qapplication.cpp:4346
#17 0x0000003f4e457a66 in KApplication::notify (this=0x2415d90, receiver=0x242d650, event=0x7fff71a586d0) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x0000003f41d71fbc in QCoreApplication::notifyInternal (this=0x2415d90, receiver=0x242d650, event=0x7fff71a586d0) at kernel/qcoreapplication.cpp:731
#19 0x0000003f4d01a6f9 in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x2d14bd0, event=0x7fff71a59360) at graphicsview/qgraphicsview.cpp:647
#20 0x0000003f4d01a91e in QGraphicsView::mouseMoveEvent (this=0x2b85ae0, event=0x7fff71a59360) at graphicsview/qgraphicsview.cpp:3274
#21 0x0000003f4ca5b04a in QWidget::event (this=0x2b85ae0, event=0x7fff71a59360) at kernel/qwidget.cpp:8244
#22 0x0000003f4cdfc066 in QFrame::event (this=0x2b85ae0, e=0x7fff71a59360) at widgets/qframe.cpp:557
#23 0x0000003f4d01eb8b in QGraphicsView::viewportEvent (this=0x2b85ae0, event=0x7fff71a59360) at graphicsview/qgraphicsview.cpp:2864
#24 0x0000003f41d72148 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2b8a8c0, event=0x7fff71a59360) at kernel/qcoreapplication.cpp:846
#25 0x0000003f4ca0a9bf in notify_helper (this=0x242d9b0, receiver=0x2b8a8c0, e=0x7fff71a59360) at kernel/qapplication.cpp:4463
#26 QApplicationPrivate::notify_helper (this=0x242d9b0, receiver=0x2b8a8c0, e=0x7fff71a59360) at kernel/qapplication.cpp:4439
#27 0x0000003f4ca1017b in QApplication::notify (this=<value optimized out>, receiver=0x2b8a8c0, e=0x7fff71a59360) at kernel/qapplication.cpp:4028
#28 0x0000003f4e457a66 in KApplication::notify (this=0x2415d90, receiver=0x2b8a8c0, event=0x7fff71a59360) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x0000003f41d71fbc in QCoreApplication::notifyInternal (this=0x2415d90, receiver=0x2b8a8c0, event=0x7fff71a59360) at kernel/qcoreapplication.cpp:731
#30 0x0000003f4ca0b9c2 in sendEvent (receiver=0x2b8a8c0, event=0x7fff71a59360, alienWidget=0x2b8a8c0, nativeWidget=0x2b92bb0, buttonDown=0x2b8a8c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x2b8a8c0, event=0x7fff71a59360, alienWidget=0x2b8a8c0, nativeWidget=0x2b92bb0, buttonDown=0x2b8a8c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3127
#32 0x0000003f4ca87de8 in QETWidget::translateMouseEvent (this=0x2b92bb0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4465
#33 0x0000003f4ca86bea in QApplication::x11ProcessEvent (this=0x2415d90, event=0x7fff71a59a80) at kernel/qapplication_x11.cpp:3591
#34 0x0000003f4caaed32 in x11EventSourceDispatch (s=0x242b310, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x0000003f456454a3 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x0000003f45645c80 in ?? () from /lib/libglib-2.0.so.0
#37 0x0000003f45645f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x0000003f41d9cabf in QEventDispatcherGlib::processEvents (this=0x239c1d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x0000003f4caae9ce in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x0000003f41d711c2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x0000003f41d713bf in QEventLoop::exec (this=0x7fff71a59e50, flags=...) at kernel/qeventloop.cpp:201
#42 0x0000003f41d75567 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#43 0x00007ff6bf073583 in kdemain (argc=1, argv=0x7fff71a5a238) at ../../../../plasma/desktop/shell/main.cpp:120
#44 0x0000003f42a1eead 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=0x7fff71a5a228) at libc-start.c:228
#45 0x00000000004006a1 in _start ()

Reported using DrKonqi
Comment 1 Valery Mamonov 2011-08-04 04:17:56 UTC
Created attachment 62522 [details]
New crash information added by DrKonqi

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

Reproduced this bug with most recent Bespin style version.
Logged on
Pressed on system notifications in tray
Closed all opened notifications via X icons
Then pressed notification icon in tray again, it opened empty minimized notification window and if I resize this window (it's position is near tray) and move it, I get plasma crash.
Will try to reproduce with another style.

-- Backtrace (Reduced):
#6  0x00000033e0d32741 in Plasma::ExtenderGroupPrivate::removeItemFromGroup (this=0x73006e, item=0x1992800) at ../../plasma/extenders/extendergroup.cpp:352
#7  0x00000033e0d3771d in Plasma::ExtenderItem::setGroup (this=0x1992800, group=<value optimized out>, pos=<value optimized out>) at ../../plasma/extenders/extenderitem.cpp:475
#8  0x00000033e0d378ff in Plasma::ExtenderItem::setGroup (this=<value optimized out>, group=<value optimized out>) at ../../plasma/extenders/extenderitem.cpp:444
#9  0x00000033e0d3805b in Plasma::ExtenderItem::mouseMoveEvent (this=0x1992800, event=<value optimized out>) at ../../plasma/extenders/extenderitem.cpp:745
#10 0x00000033c9bc98ce in QGraphicsItem::sceneEvent (this=0x1992810, event=0x7fff8495a970) at graphicsview/qgraphicsitem.cpp:6715
Comment 2 Myriam Schweingruber 2012-05-29 21:50:33 UTC
Is this still reproducible with KDE 4.8.3 or trunk?
Comment 3 Valery Mamonov 2012-05-30 02:00:20 UTC
No, it's not, but I'm currently don't use bespin plasma style. Can provide some info later.
Comment 4 Myriam Schweingruber 2012-05-31 19:51:44 UTC
Thank you for the fast feedback.
Comment 5 Thomas Lübking 2012-05-31 20:40:58 UTC
for the records: the crash happens quite deep in the GraphicsScene (where widget styles don't reach, there's no bespin "plasma style") and from the trace it looks like a dangeling item pointer (unpatched code at that line was  "if (item->group() == q)")

Since the bug was reproducible (no stack corruption) and there's no reference to bespin/QStyle in the trace either (but the trace leads directly from an X11 event into the extender) i rather doubt that this was QStyle or in particular libbespin related.

The only thing actually related to the style could be the extender dimensions.
Comment 6 Andrew Crouthamel 2018-09-04 19:05:35 UTC
Hello! Plasma 4 was replaced by Plasma 5 four years ago by the KDE community. In that time we have made great strides in stability and functionality. We are closing all Plasma 4 bugs as most of them are no longer applicable to the new frameworks Plasma 5 is built upon. If you could, please re-test with the latest version of Plasma 5, and submit a new bug to "plasmashell" if you continue to have an issue. Thank you!