Bug 159696 - plasma crashes when trying to load comic applet.
Summary: plasma crashes when trying to load comic applet.
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-comic (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-22 16:45 UTC by Ritesh Raj Sarraf
Modified: 2008-03-26 19:51 UTC (History)
0 users

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 Ritesh Raj Sarraf 2008-03-22 16:45:57 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

Plasma crashes when trying to load the comic applet.

Application: Plasma Workspace (plasma), signal SIGSEGV
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5073740 (LWP 4996)]
[New Thread 0xb139bb90 (LWP 9077)]
[New Thread 0xb237fb90 (LWP 4998)]
[New Thread 0xb3352b90 (LWP 4997)]
[KCrash handler]
#6  0xb7e99134 in Plasma::SvgPanel::marginSize ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#7  0xb7e3a1f8 in Plasma::Applet::Private::getBorderSize ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#8  0xb7e31ca1 in Plasma::Applet::contentSize ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#9  0xb2a9aee7 in ComicApplet::paintInterface ()
   from /opt/kde4-devel/kde/lib/kde4/plasma_applet_comic.so
#10 0xb7e31eb1 in Plasma::Applet::sizeHint ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#11 0xb7e64c60 in Plasma::Containment::addApplet ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#12 0xb7e64f61 in Plasma::Containment::dropEvent ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#13 0xb67ff6b3 in QGraphicsItem::sceneEvent (this=0x81a9568, event=0xbfd2df8c)
    at graphicsview/qgraphicsitem.cpp:3829
#14 0xb7eba615 in Plasma::Widget::sceneEvent ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#15 0xb681500c in QGraphicsScenePrivate::sendEvent (this=0x80fe2b8, 
    item=0x81a9568, event=0xbfd2df8c) at graphicsview/qgraphicsscene.cpp:1046
#16 0xb68152e8 in QGraphicsScenePrivate::sendDragDropEvent (this=0x80fe2b8, 
    item=0x81a9568, dragDropEvent=0xbfd2df8c)
    at graphicsview/qgraphicsscene.cpp:1075
#17 0xb681532a in QGraphicsScene::dropEvent (this=0x80fe088, event=0xbfd2df8c)
    at graphicsview/qgraphicsscene.cpp:3250
#18 0xb681fa59 in QGraphicsScene::event (this=0x80fe088, event=0xbfd2df8c)
    at graphicsview/qgraphicsscene.cpp:2971
#19 0xb632b74c in QApplicationPrivate::notify_helper (this=0x8064230, 
    receiver=0x80fe088, e=0xbfd2df8c) at kernel/qapplication.cpp:3735
#20 0xb6332749 in QApplication::notify (this=0x805d2f0, receiver=0x80fe088, 
    e=0xbfd2df8c) at kernel/qapplication.cpp:3329
#21 0xb72b1ec6 in KApplication::notify ()
   from /opt/kde4-devel/kde/lib/libkdeui.so.5
#22 0xb6ae01d9 in QCoreApplication::notifyInternal (this=0x805d2f0, 
    receiver=0x80fe088, event=0xbfd2df8c) at kernel/qcoreapplication.cpp:582
#23 0xb6834425 in QGraphicsView::dropEvent (this=0x8131048, event=0xbfd2e4d0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 0xb6379f6b in QWidget::event (this=0x8131048, event=0xbfd2e4d0)
    at kernel/qwidget.cpp:7028
#25 0xb66530b3 in QFrame::event (this=0x8131048, e=0xbfd2e4d0)
    at widgets/qframe.cpp:657
#26 0xb66d535f in QAbstractScrollArea::viewportEvent (this=0x8131048, 
    e=0xb7e64c60) at widgets/qabstractscrollarea.cpp:938
#27 0xb68327ef in QGraphicsView::viewportEvent (this=0x8131048, 
    event=0xbfd2e4d0) at graphicsview/qgraphicsview.cpp:2267
#28 0xb66d7c85 in QAbstractScrollAreaFilter::eventFilter (this=0x8123a10, 
    o=0x81aacb0, e=0xbfd2e4d0) at widgets/qabstractscrollarea_p.h:102
#29 0xb6ae0651 in QCoreApplicationPrivate::sendThroughObjectEventFilters (
    this=0x8064230, receiver=0x81aacb0, event=0xbfd2e4d0)
    at kernel/qcoreapplication.cpp:693
#30 0xb632b723 in QApplicationPrivate::notify_helper (this=0x8064230, 
    receiver=0x81aacb0, e=0xbfd2e4d0) at kernel/qapplication.cpp:3731
#31 0xb633311b in QApplication::notify (this=0x805d2f0, receiver=0x81aacb0, 
    e=0xbfd2e4d0) at kernel/qapplication.cpp:3694
#32 0xb72b1ec6 in KApplication::notify ()
   from /opt/kde4-devel/kde/lib/libkdeui.so.5
#33 0xb6ae01d9 in QCoreApplication::notifyInternal (this=0x805d2f0, 
    receiver=0x81aacb0, event=0xbfd2e4d0) at kernel/qcoreapplication.cpp:582
#34 0xb6397b49 in QX11Data::xdndHandleDrop (this=0x80676c8, xe=0xbfd2e584, 
    passive=false)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 0xb6397e46 in QDragManager::drop (this=0x8b3db90)
    at kernel/qdnd_x11.cpp:1680
#36 0xb639a72d in QDragManager::eventFilter (this=0x8b3db90, o=0x8b2ea58, 
    e=0xbfd2eb10) at kernel/qdnd_x11.cpp:1280
#37 0xb6ae00f8 in QCoreApplicationPrivate::sendThroughApplicationEventFilters
    (this=0x8064230, receiver=0x8b2ea58, event=0xbfd2eb10)
    at kernel/qcoreapplication.cpp:675
#38 0xb632b6c3 in QApplicationPrivate::notify_helper (this=0x8064230, 
    receiver=0x8b2ea58, e=0xbfd2eb10) at kernel/qapplication.cpp:3712
#39 0xb6332d15 in QApplication::notify (this=0x805d2f0, receiver=0x8b2ea58, 
    e=0xbfd2eb10) at kernel/qapplication.cpp:3464
#40 0xb72b1ec6 in KApplication::notify ()
   from /opt/kde4-devel/kde/lib/libkdeui.so.5
#41 0xb6ae01d9 in QCoreApplication::notifyInternal (this=0x805d2f0, 
    receiver=0x8b2ea58, event=0xbfd2eb10) at kernel/qcoreapplication.cpp:582
#42 0xb6331e50 in QApplicationPrivate::sendMouseEvent (receiver=0x8b2ea58, 
    event=0xbfd2eb10, alienWidget=0x0, nativeWidget=0x8b2ea58, 
    buttonDown=0xb6928a90, lastMouseReceiver=@0xb6928a94)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#43 0xb638c48c in QETWidget::translateMouseEvent (this=0x8b2ea58, 
    event=0xbfd2ef3c) at kernel/qapplication_x11.cpp:4096
#44 0xb638bc3a in QApplication::x11ProcessEvent (this=0x805d2f0, 
    event=0xbfd2ef3c) at kernel/qapplication_x11.cpp:3096
#45 0xb63afa54 in x11EventSourceDispatch (s=0x8066f68, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#46 0xb5d9b7e8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0xb5d9ea3e in ?? () from /usr/lib/libglib-2.0.so.0
#48 0x08066298 in ?? ()
#49 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 FiNeX 2008-03-23 01:08:04 UTC
Crash confirmed on revision 788178
Comment 2 Tobias Koenig 2008-03-23 10:59:24 UTC
On Sun, Mar 23, 2008 at 12:08:05AM -0000, FiNeX wrote:
Hej,

> Crash confirmed on revision 788178

Are you sure you have compiled the comic plasmoid with the same library
versions than the plasma desktop?

Ciao,
Tobias
Comment 3 Ritesh Raj Sarraf 2008-03-24 01:55:41 UTC
I think this is not something specific to just the comic plasmoid. I'm able to crash plasma with other plasmoids also.

Application: Plasma Workspace (plasma), signal SIGSEGV
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb505b740 (LWP 16976)]
[New Thread 0xb137db90 (LWP 17281)]
[New Thread 0xb2361b90 (LWP 16979)]
[New Thread 0xb3334b90 (LWP 16977)]
[KCrash handler]
#6  0xb7e1b582 in Plasma::Applet::paintInterface ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#7  0xb7e1ceb1 in Plasma::Applet::sizeHint ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#8  0xb7e4fc60 in Plasma::Containment::addApplet ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#9  0xb7e4ff61 in Plasma::Containment::dropEvent ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#10 0xb67e76b3 in QGraphicsItem::sceneEvent (this=0x816b7b0, event=0xbff4094c)
    at graphicsview/qgraphicsitem.cpp:3829
#11 0xb7ea58e5 in Plasma::Widget::sceneEvent ()
   from /opt/kde4-devel/kde/lib/libplasma.so.1
#12 0xb67fd00c in QGraphicsScenePrivate::sendEvent (this=0x81437a8, 
    item=0x816b7b0, event=0xbff4094c) at graphicsview/qgraphicsscene.cpp:1046
#13 0xb67fd2e8 in QGraphicsScenePrivate::sendDragDropEvent (this=0x81437a8, 
    item=0x816b7b0, dragDropEvent=0xbff4094c)
    at graphicsview/qgraphicsscene.cpp:1075
#14 0xb67fd32a in QGraphicsScene::dropEvent (this=0x8143578, event=0xbff4094c)
    at graphicsview/qgraphicsscene.cpp:3250
#15 0xb6807a59 in QGraphicsScene::event (this=0x8143578, event=0xbff4094c)
    at graphicsview/qgraphicsscene.cpp:2971
#16 0xb631374c in QApplicationPrivate::notify_helper (this=0x8064238, 
    receiver=0x8143578, e=0xbff4094c) at kernel/qapplication.cpp:3735
#17 0xb631a749 in QApplication::notify (this=0x805d2f0, receiver=0x8143578, 
    e=0xbff4094c) at kernel/qapplication.cpp:3329
#18 0xb729a4da in KApplication::notify ()
   from /opt/kde4-devel/kde/lib/libkdeui.so.5
#19 0xb6ac81d9 in QCoreApplication::notifyInternal (this=0x805d2f0, 
    receiver=0x8143578, event=0xbff4094c) at kernel/qcoreapplication.cpp:582
#20 0xb681c425 in QGraphicsView::dropEvent (this=0x808bbc8, event=0xbff40e90)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 0xb6361f6b in QWidget::event (this=0x808bbc8, event=0xbff40e90)
    at kernel/qwidget.cpp:7028
#22 0xb663b0b3 in QFrame::event (this=0x808bbc8, e=0xbff40e90)
    at widgets/qframe.cpp:657
#23 0xb66bd35f in QAbstractScrollArea::viewportEvent (this=0x808bbc8, 
    e=0xbff40290) at widgets/qabstractscrollarea.cpp:938
#24 0xb681a7ef in QGraphicsView::viewportEvent (this=0x808bbc8, 
    event=0xbff40e90) at graphicsview/qgraphicsview.cpp:2267
#25 0xb66bfc85 in QAbstractScrollAreaFilter::eventFilter (this=0x80a9238, 
    o=0x80ab848, e=0xbff40e90) at widgets/qabstractscrollarea_p.h:102
#26 0xb6ac8651 in QCoreApplicationPrivate::sendThroughObjectEventFilters (
    this=0x8064238, receiver=0x80ab848, event=0xbff40e90)
    at kernel/qcoreapplication.cpp:693
#27 0xb6313723 in QApplicationPrivate::notify_helper (this=0x8064238, 
    receiver=0x80ab848, e=0xbff40e90) at kernel/qapplication.cpp:3731
#28 0xb631b11b in QApplication::notify (this=0x805d2f0, receiver=0x80ab848, 
    e=0xbff40e90) at kernel/qapplication.cpp:3694
#29 0xb729a4da in KApplication::notify ()
   from /opt/kde4-devel/kde/lib/libkdeui.so.5
#30 0xb6ac81d9 in QCoreApplication::notifyInternal (this=0x805d2f0, 
    receiver=0x80ab848, event=0xbff40e90) at kernel/qcoreapplication.cpp:582
#31 0xb637fb49 in QX11Data::xdndHandleDrop (this=0x80676c8, xe=0xbff40f44, 
    passive=false)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 0xb637fe46 in QDragManager::drop (this=0x8851370)
    at kernel/qdnd_x11.cpp:1680
#33 0xb638272d in QDragManager::eventFilter (this=0x8851370, o=0x8d3de00, 
    e=0xbff414d0) at kernel/qdnd_x11.cpp:1280
#34 0xb6ac80f8 in QCoreApplicationPrivate::sendThroughApplicationEventFilters
    (this=0x8064238, receiver=0x8d3de00, event=0xbff414d0)
    at kernel/qcoreapplication.cpp:675
#35 0xb63136c3 in QApplicationPrivate::notify_helper (this=0x8064238, 
    receiver=0x8d3de00, e=0xbff414d0) at kernel/qapplication.cpp:3712
#36 0xb631ad15 in QApplication::notify (this=0x805d2f0, receiver=0x8d3de00, 
    e=0xbff414d0) at kernel/qapplication.cpp:3464
#37 0xb729a4da in KApplication::notify ()
   from /opt/kde4-devel/kde/lib/libkdeui.so.5
#38 0xb6ac81d9 in QCoreApplication::notifyInternal (this=0x805d2f0, 
    receiver=0x8d3de00, event=0xbff414d0) at kernel/qcoreapplication.cpp:582
#39 0xb6319e50 in QApplicationPrivate::sendMouseEvent (receiver=0x8d3de00, 
    event=0xbff414d0, alienWidget=0x0, nativeWidget=0x8d3de00, 
    buttonDown=0xb6910a90, lastMouseReceiver=@0xb6910a94)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#40 0xb637448c in QETWidget::translateMouseEvent (this=0x8d3de00, 
    event=0xbff418fc) at kernel/qapplication_x11.cpp:4096
#41 0xb6373c3a in QApplication::x11ProcessEvent (this=0x805d2f0, 
    event=0xbff418fc) at kernel/qapplication_x11.cpp:3096
#42 0xb6397a54 in x11EventSourceDispatch (s=0x8066f68, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#43 0xb5d837e8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0xb5d86a3e in ?? () from /usr/lib/libglib-2.0.so.0
#45 0x08066298 in ?? ()
#46 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()

Comment 4 Ritesh Raj Sarraf 2008-03-24 02:16:43 UTC
Maybe be this can add some more info.

I found this in the kernel dmesg on Linux (2.6.24).
In both kernel logs, it is plasma that is the culprit command.

WARNING: at fs/inotify.c:172 set_dentry_child_flags()                                                                                 
Pid: 16976, comm: plasma Tainted: P        2.6.24-1-686 #1                                                                            
 [<c019e50e>] set_dentry_child_flags+0x60/0x12c                                                                                       
 [<c019e62d>] remove_watch_no_event+0x53/0x5f                                                                                         
 [<c019e71b>] inotify_remove_watch_locked+0x12/0x3e
 [<c019e9e5>] inotify_rm_wd+0x6d/0x8a
 [<c019ef53>] sys_inotify_rm_watch+0x38/0x4f
 [<c0103fe6>] syscall_call+0x7/0xb
 [<c02c0000>] vcc_connect+0x49e/0x4b7
 =======================
WARNING: at fs/inotify.c:172 set_dentry_child_flags()
Pid: 16976, comm: plasma Tainted: P        2.6.24-1-686 #1
 [<c019e50e>] set_dentry_child_flags+0x60/0x12c
 [<c019eb65>] inotify_add_watch+0x84/0xca
 [<c019f587>] sys_inotify_add_watch+0x10d/0x146
 [<c0155ae8>] audit_syscall_exit+0x2c7/0x2e3
 [<c010726e>] do_syscall_trace+0x124/0x16a
 [<c0103fe6>] syscall_call+0x7/0xb
 [<c02c0000>] vcc_connect+0x49e/0x4b7
 =======================

Comment 5 Tobias Koenig 2008-03-26 19:51:39 UTC
Hej,

I can't reproduce this bug with a stable kernel (2.6.21) and a vanilla KDE4 from trunk,
so I guess the culprit is the new kernel or some really broken inotify thingy in your
distro.

Ciao,
Tobias