Bug 164581 - plasma crash with a signal SIGSEGV when i use News Ticker applet
Summary: plasma crash with a signal SIGSEGV when i use News Ticker applet
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-21 11:02 UTC by Ale Hamann
Modified: 2008-06-23 09:08 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 Ale Hamann 2008-06-21 11:02:43 UTC
Version:            (using KDE 4.0.80)
Installed from:    Ubuntu Packages
OS:                Linux

I was look the other similar bugs, but (based on the backtraces), i thing that this is another case.
Really, is too aleatory. I'm not completely sure, but if I try to configure the applet (News Ticker in this case... that can't be configured because the configuration window/dialog only show the «Ok», «Apply» and «Cancel» buttons... and nothing more that this) or if I try to use it (understanding to use, the fact of move the applet around the desktop and change the size), don't matter, the plasma will be crash.


This is the backtrace of the crashed:

Application: Área de trabajo de Plasma (plasma), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f73756277e0 (LWP 13867)]
[New Thread 0x42bfb950 (LWP 13883)]
[New Thread 0x423fa950 (LWP 13871)]
[KCrash handler]
#5  0x00007f737f61e744 in Plasma::Applet::isContainment (this=0x122ec30)
    at /build/buildd/kdebase-workspace-4.0.80/libs/plasma/applet.cpp:1360
#6  0x00007f737f6462bb in Plasma::Containment::contextMenuEvent (
    this=0x7789d0, event=0x7fff880e9300)
    at /build/buildd/kdebase-workspace-4.0.80/libs/plasma/containment.cpp:310
#7  0x00007f737ddbd9f3 in QGraphicsItem::sceneEvent ()
   from /usr/lib/libQtGui.so.4
#8  0x00007f737ddfc654 in QGraphicsWidget::sceneEvent ()
   from /usr/lib/libQtGui.so.4
#9  0x00007f737ddd63d1 in ?? () from /usr/lib/libQtGui.so.4
#10 0x00007f737dde1e42 in QGraphicsScene::contextMenuEvent ()
   from /usr/lib/libQtGui.so.4
#11 0x00007f737dde2b77 in QGraphicsScene::event () from /usr/lib/libQtGui.so.4
#12 0x00007f737d8b254f in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#13 0x00007f737d8b7125 in QApplication::notify () from /usr/lib/libQtGui.so.4
#14 0x00007f737f1b4561 in KApplication::notify (this=0x63d2d0, 
    receiver=0x736000, event=0x7fff880e9300)
    at /build/buildd/kde4libs-4.0.80/kdeui/kernel/kapplication.cpp:311
#15 0x00007f737e8a0109 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#16 0x00007f737ddf0642 in QGraphicsView::contextMenuEvent ()
   from /usr/lib/libQtGui.so.4
#17 0x00007f737d900325 in QWidget::event () from /usr/lib/libQtGui.so.4
#18 0x00007f737dbffa76 in QFrame::event () from /usr/lib/libQtGui.so.4
#19 0x00007f737dc84169 in QAbstractScrollArea::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#20 0x00007f737ddf06f1 in QGraphicsView::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#21 0x00007f737dc85308 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007f737e8a040e in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#23 0x00007f737d8b2520 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#24 0x00007f737d8b7b61 in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0x00007f737f1b4561 in KApplication::notify (this=0x63d2d0, 
    receiver=0x9404c0, event=0x7fff880e9a30)
    at /build/buildd/kde4libs-4.0.80/kdeui/kernel/kapplication.cpp:311
#26 0x00007f737e8a0109 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#27 0x00007f737d916da7 in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007f737d91566b in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#29 0x00007f737d93b8f3 in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007f73795b0262 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#31 0x00007f73795b3516 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007f73795b39af in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#33 0x00007f737e8c93af in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#34 0x00007f737d93b72f in ?? () from /usr/lib/libQtGui.so.4
#35 0x00007f737e89f585 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#36 0x00007f737e89f6db in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#37 0x00007f737e8a1729 in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#38 0x00007f737fcb6e8b in kdemain (argc=1, argv=0x7fff880eaa28)
    at /build/buildd/kdebase-workspace-4.0.80/plasma/plasma/main.cpp:54
#39 0x00007f737f9611c4 in __libc_start_main () from /lib/libc.so.6
#40 0x0000000000400649 in _start ()
#0  0x00007f737f9e0b81 in nanosleep () from /lib/libc.so.6
Comment 1 Sebastian Sauer 2008-06-21 21:46:56 UTC
http://websvn.kde.org/*checkout*/tags/KDE/4.0.80/kdebase/workspace/libs/plasma/containment.cpp
QGraphicsItem* item = scene()->itemAt(point); //#301
applet = qgraphicsitem_cast<Applet*>(item); //#309
if (applet && !applet->isContainment()) { //#310
Comment 2 Sebastian Sauer 2008-06-22 03:36:17 UTC
thinking again about this one, applet is not NULL but it crashes on the try to call applet->isContainment() and the imho most logical reason for this would be, if the qgraphicsitem_cast would return something wrong cause the QGraphicsItem::type() got defined 2 times. iirc there was a while back a commit related to such a case.
Comment 3 Aaron J. Seigo 2008-06-23 06:52:07 UTC
the other very real possibility is that this is a BIC issue and the newsticker applet is simply out of date. this would also explain the empty config dialog, moving it, sizing it, etc all crash things as well.
Comment 4 Sebastian Sauer 2008-06-23 09:08:16 UTC
y, true. So, let's mark the report then as worksforme (it really does) cause both possibilities are fixed in trunk.

@Ale: if you can still reproduce this with >=4.1 beta2 then *please* reopen the report. Thanks for the feedback!