Extender tutorial on techbase

Marco Martin notmart at gmail.com
Wed Sep 10 15:50:29 CEST 2008


On Wednesday 10 September 2008, Rob Scheepmaker wrote:
> On Wednesday 10 September 2008 15:02:23 Marco Martin wrote:
> > another problem:
> > adding a clock on the desktop when plasma is already started produces a
> > crash, at line 389 of extenderitem.cpp widget->setParentItem(this);
> > don't understand why just setting a parent item would crash :-/
> > instead if the clock is saved in plasma-appletsrc it gets created without
> > any problems
>
> Can you post a backtrace? It might contain some useful information.
sure (yeah, i know, qt symbols missing, i'm awful:)).
looking at it it seems that someone tries to delete the extenderitem, kinda 
weird
> Interesting btw how the Extender Tutorial threat has grown in a PopupApplet
> review discussion ;)
yeah, the two things are kinda tied :)
the tutorial itself is crystal clear, it's just me that does weird idea 
associations :P

Cheers,
Marco Martin

Application: Plasma Workspace (plasma), signal SIGABRT
[?1034h[Thread debugging using libthread_db enabled]
[Current thread is 0 (LWP 13939)]

Thread 5 (Thread 0xb2b2db90 (LWP 13940)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6933c15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb69b7802 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb2b43923 in RenderThread::run (this=0x81556b4) at 
/home/diau/svn/kdebase/workspace/plasma/wallpapers/image/renderthread.cpp:90
#4  0xb69b6a97 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6930175 in start_thread () from /lib/libpthread.so.0
#6  0xb678fdce in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb1192b90 (LWP 13941)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6933c15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb69b7802 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb2b43923 in RenderThread::run (this=0x82aecec) at 
/home/diau/svn/kdebase/workspace/plasma/wallpapers/image/renderthread.cpp:90
#4  0xb69b6a97 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6930175 in start_thread () from /lib/libpthread.so.0
#6  0xb678fdce in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb02d6b90 (LWP 13942)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6933c15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb69b7802 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7773112 in ?? () from /usr/lib/libQtNetwork.so.4
#4  0xb69b6a97 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6930175 in start_thread () from /lib/libpthread.so.0
#6  0xb678fdce in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaf736b90 (LWP 13948)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6933f42 in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
#2  0xb69b77dc in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb69adc7e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb69b6a97 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6930175 in start_thread () from /lib/libpthread.so.0
#6  0xb678fdce in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4af16f0 (LWP 13939)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb66ec900 in raise () from /lib/libc.so.6
#8  0xb66ee238 in abort () from /lib/libc.so.6
#9  0xb68f7728 in __gnu_cxx::__verbose_terminate_handler () from 
/usr/lib/libstdc++.so.6
#10 0xb68f5055 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb68f5092 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb68f62d5 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#13 0xb7571049 in QGraphicsItem::sceneBoundingRect () from 
/usr/lib/libQtGui.so.4
#14 0xb758a476 in ?? () from /usr/lib/libQtGui.so.4
#15 0xb75a4c6b in ?? () from /usr/lib/libQtGui.so.4
#16 0xb75a55e0 in QGraphicsView::items () from /usr/lib/libQtGui.so.4
#17 0xb75a56f4 in QGraphicsView::itemAt () from /usr/lib/libQtGui.so.4
#18 0xb757975c in QGraphicsItem::unsetCursor () from /usr/lib/libQtGui.so.4
#19 0xb75baaa5 in ?? () from /usr/lib/libQtGui.so.4
#20 0xb75bb023 in QGraphicsProxyWidget::setWidget () from 
/usr/lib/libQtGui.so.4
#21 0xb75bb0a6 in QGraphicsProxyWidget::~QGraphicsProxyWidget () from 
/usr/lib/libQtGui.so.4
#22 0xb7575255 in QGraphicsItem::~QGraphicsItem () from /usr/lib/libQtGui.so.4
#23 0xb75ac0c2 in QGraphicsWidget::~QGraphicsWidget () from 
/usr/lib/libQtGui.so.4
#24 0xb7e85975 in ~ExtenderItem (this=0x87064f0) at 
/home/diau/svn/kdebase/workspace/libs/plasma/extenderitem.cpp:357
#25 0xb6a9d28c in qDeleteInEventHandler () from /usr/lib/libQtCore.so.4
#26 0xb6a9ec63 in QObject::event () from /usr/lib/libQtCore.so.4
#27 0xb75ad707 in QGraphicsWidget::event () from /usr/lib/libQtGui.so.4
#28 0xb706e69c in QApplicationPrivate::notify_helper () from 
/usr/lib/libQtGui.so.4
#29 0xb707576e in QApplication::notify () from /usr/lib/libQtGui.so.4
#30 0xb7bb4e7d in KApplication::notify () from /usr/lib/libkdeui.so.5
#31 0xb6a908f1 in QCoreApplication::notifyInternal () from 
/usr/lib/libQtCore.so.4
#32 0xb6a91241 in QCoreApplicationPrivate::sendPostedEvents () from 
/usr/lib/libQtCore.so.4
#33 0xb6a913dd in QCoreApplication::sendPostedEvents () from 
/usr/lib/libQtCore.so.4
#34 0xb70f8a3e in ?? () from /usr/lib/libQtGui.so.4
#35 0xb6a8f06a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#36 0xb6a8f22a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#37 0xb6a9149d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#38 0xb706e517 in QApplication::exec () from /usr/lib/libQtGui.so.4
#39 0xb7f6db61 in kdemain (argc=1, argv=0xbf9a7194) at 
/home/diau/svn/kdebase/workspace/plasma/shells/desktop/main.cpp:58
#40 0x08048726 in main (argc=) at 
/home/diau/svn/kdebase/build/workspace/plasma/shells/desktop/plasma_qgv_dummy.cpp:3




More information about the Plasma-devel mailing list