[Kde-bindings] Plasma segmentation fault

David Palacio dpalacio at uninorte.edu.co
Sun Nov 1 19:05:53 UTC 2009


The ruby-extender-tutorial backtrace is different. But when I use the
'applicationjobs' data engine from a korundum program it crashes because
Smoke can not handle DataEngine::Data.

Backtrace with plasmoidviewer:

Application: Visor de componentes de plasma (plasmoidviewer), signal:
Segmentation fault

[Current thread is 0 (LWP 6254)]

Thread 2 (Thread 0x41b97950 (LWP 6255)):

#0 0x00007f832cc6bb66 in poll () from /lib/libc.so.6

#1 0x00007f8327272239 in ?? () from /lib/libglib-2.0.so.0

#2 0x00007f832727252c in g_main_context_iteration () from
/lib/libglib-2.0.so.0

#3 0x00007f832e990356 in QEventDispatcherGlib::processEvents
(this=0x24d2c40, flags=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:409

#4 0x00007f832e964482 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 1102671888}) at kernel/qeventloop.cpp:149

#5 0x00007f832e964854 in QEventLoop::exec (this=0x41b97050, flags={i =
1102671984}) at kernel/qeventloop.cpp:201

#6 0x00007f832e86c7c7 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487

#7 0x00007f832e944bb8 in QInotifyFileSystemWatcherEngine::run
(this=0x26b6420) at io/qfilesystemwatcher_inotify.cpp:248

#8 0x00007f832e86f375 in QThreadPrivate::start (arg=0x26b6420) at
thread/qthread_unix.cpp:244

#9 0x00007f832e5d2fc7 in start_thread () from /lib/libpthread.so.0

#10 0x00007f832cc745ad in clone () from /lib/libc.so.6

#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f832ff9b730 (LWP 6254)):

[KCrash Handler]

#5 QGraphicsWidgetPrivate::fixFocusChainBeforeReparenting (this=0x2ae1bf0,
newParent=0x2ada3a0, newScene=0x0) at graphicsview/qgraphicswidget_p.cpp:804

#6 0x00007f832ded2f75 in QGraphicsWidget::itemChange (this=0x2ae1ba0,
change=<value optimized out>, value=@0x7fff380c7920) at
graphicsview/qgraphicswidget.cpp:1032

#7 0x00007f832de844f3 in QGraphicsItemPrivate::setParentItemHelper
(this=0x2ae1bf0, newParent=0x2ada3b0) at graphicsview/qgraphicsitem.cpp:985

#8 0x00007f832ded8c50 in QGraphicsWidgetPrivate::init (this=0x2ae1bf0,
parentItem=<value optimized out>, wFlags={i = 940341760}) at
graphicsview/qgraphicswidget_p.cpp:73

#9 0x00007f832ded1e6f in QGraphicsWidget (this=0x2ae1ba0, parent=0x2ada3b0,
wFlags={i = 940342016}) at graphicsview/qgraphicswidget.cpp:181

#10 0x00007f832f563d2c in Meter (this=0x2ada3b0, parent=0x2ada3a0) at
/home/kde/src/KDE/kdelibs/plasma/widgets/meter.cpp:289

#11 0x00007f8314b4d59f in __smokeplasma::xcall_Plasma__Meter (xi=<value
optimized out>, obj=<value optimized out>, args=0x2ae1b80) at
/home/kde/build/KDE/kdebindings/smoke/plasma/x_6.cpp:56

#12 0x00007f8314e07077 in QtRuby::MethodCall::callMethod
(this=0x7fff380c7d40) at
/home/kde/src/KDE/kdebindings/ruby/qtruby/src/marshall_types.h:148

#13 0x00007f8314e04faa in QtRuby::MethodCallBase::next (this=0x7fff380c7d40)
at /home/kde/src/KDE/kdebindings/ruby/qtruby/src/marshall_types.cpp:467

#14 0x00007f8312bdd5bf in initialize_qt (argc=1, argv=<value optimized out>,
self=140200930455200) at
/home/kde/src/KDE/kdebindings/ruby/qtruby/src/qtruby.cpp:1304

#15 0x00007f83154f16c2 in rb_call0 (klass=140200971995880,
recv=140200930455200, id=2961, oid=2961, argc=1, argv=0x7fff380c8d18,
body=0x7f83152209a8, flags=<value optimized out>) at eval.c:5904

#16 0x00007f83154f182a in rb_call (klass=140200971995880,
recv=140200930455200, mid=2961, argc=1, argv=0x7fff380c8d18, scope=3,
self=6) at eval.c:6151

#17 0x00007f83154fadf4 in rb_call_super (argc=1, argv=<value optimized out>)
at eval.c:6319

#18 0x00007f83154eba7b in rb_eval (self=140200930455200, n=<value optimized
out>) at eval.c:3558

#19 0x00007f83154f1578 in rb_call0 (klass=140200930914840,
recv=140200930455200, id=2961, oid=2961, argc=0, argv=0x7fff380c9830,
body=0x7f83152423f0, flags=<value optimized out>) at eval.c:6055

#20 0x00007f83154faffb in method_call (argc=1, argv=0x7fff380c9830,
method=<value optimized out>) at eval.c:9537

#21 0x00007f83154f16c2 in rb_call0 (klass=140200972229280,
recv=140200930454280, id=5521, oid=5521, argc=1, argv=0x7fff380c9830,
body=0x7f8315259960, flags=<value optimized out>) at eval.c:5904

#22 0x00007f83154f182a in rb_call (klass=140200972229280,
recv=140200930454280, mid=5521, argc=1, argv=0x7fff380c9830, scope=0,
self=140200971996000) at eval.c:6151

#23 0x00007f83154eb7e0 in rb_eval (self=140200971996000, n=<value optimized
out>) at eval.c:3492

#24 0x00007f83154ef9bb in rb_yield_0 (val=4118798, self=140200971996000,
klass=0, flags=<value optimized out>, avalue=0) at eval.c:5077

#25 0x00007f83154fb853 in rb_f_catch (dmy=<value optimized out>,
tag=4118798) at eval.c:13531

#26 0x00007f83154f16c2 in rb_call0 (klass=140200972364080,
recv=140200971996000, id=4185, oid=4185, argc=1, argv=0x7fff380cb410,
body=0x7f83152766c8, flags=<value optimized out>) at eval.c:5904

#27 0x00007f83154f182a in rb_call (klass=140200972364080,
recv=140200971996000, mid=4185, argc=1, argv=0x7fff380cb410, scope=1,
self=140200971996000) at eval.c:6151

#28 0x00007f83154eb912 in rb_eval (self=140200971996000, n=<value optimized
out>) at eval.c:3507

#29 0x00007f83154eef80 in rb_eval (self=140200971996000, n=<value optimized
out>) at eval.c:3222

#30 0x00007f83154f1578 in rb_call0 (klass=140200971994240,
recv=140200971996000, id=16065, oid=16065, argc=1, argv=0x7fff380cccb0,
body=0x7f8312b4f6f8, flags=<value optimized out>) at eval.c:6055

#31 0x00007f83154f182a in rb_call (klass=140200971994240,
recv=140200971996000, mid=16065, argc=2, argv=0x7fff380cccb0, scope=1,
self=6) at eval.c:6151

#32 0x00007f83154f21f3 in rb_funcall2 (recv=<value optimized out>,
mid=<value optimized out>, argc=<value optimized out>, argv=<value optimized
out>) at eval.c:6287

#33 0x00007f8312bdd3ef in new_qt (argc=1, argv=0x7fff380cd290, klass=<value
optimized out>) at
/home/kde/src/KDE/kdebindings/ruby/qtruby/src/qtruby.cpp:1336

#34 0x00007f83154f16c2 in rb_call0 (klass=140200971995840,
recv=140200930914840, id=3361, oid=3361, argc=1, argv=0x7fff380cd290,
body=0x7f83152209f8, flags=<value optimized out>) at eval.c:5904

#35 0x00007f83154f182a in rb_call (klass=140200971995840,
recv=140200930914840, mid=3361, argc=1, argv=0x7fff380cd290, scope=0,
self=140200930655440) at eval.c:6151

#36 0x00007f83154eb7e0 in rb_eval (self=140200930655440, n=<value optimized
out>) at eval.c:3492

#37 0x00007f83154eef80 in rb_eval (self=140200930655440, n=<value optimized
out>) at eval.c:3222

#38 0x00007f83154ecc02 in rb_eval (self=140200930655440, n=<value optimized
out>) at eval.c:3677

#39 0x00007f83154f1578 in rb_call0 (klass=140200930683600,
recv=140200930655440, id=11145, oid=11145, argc=0, argv=0x7fff380cf4b0,
body=0x7f8312abe6d0, flags=<value optimized out>) at eval.c:6055

#40 0x00007f83154f182a in rb_call (klass=140200930683600,
recv=140200930655440, mid=11145, argc=1, argv=0x7fff380cf4b0, scope=1,
self=140200930655440) at eval.c:6151

#41 0x00007f83154eb912 in rb_eval (self=140200930655440, n=<value optimized
out>) at eval.c:3507

#42 0x00007f83154f1578 in rb_call0 (klass=140200930683600,
recv=140200930655440, id=24561, oid=24561, argc=0, argv=0x2829050,
body=0x7f8312abd7f8, flags=<value optimized out>) at eval.c:6055

#43 0x00007f83154f182a in rb_call (klass=140200930683600,
recv=140200930655440, mid=24561, argc=1, argv=0x2829050, scope=1, self=6) at
eval.c:6151

#44 0x00007f83154f21f3 in rb_funcall2 (recv=<value optimized out>,
mid=<value optimized out>, argc=<value optimized out>, argv=<value optimized
out>) at eval.c:6287

#45 0x00007f83154e78f1 in rb_protect (proc=0x7f8314e04ee0
<funcall2_protect>, data=140200930655440, state=0x7fff380d088c) at
eval.c:5526

#46 0x00007f8314e0697f in QtRuby::InvokeSlot::invokeSlot
(this=0x7fff380d0970) at
/home/kde/src/KDE/kdebindings/ruby/qtruby/src/marshall_types.cpp:802

#47 0x00007f8314e04f6a in QtRuby::SigSlotBase::next (this=0x7fff380d0970) at
/home/kde/src/KDE/kdebindings/ruby/qtruby/src/marshall_types.cpp:651

#48 0x00007f8312be7e3a in qt_metacall (argv=<value optimized out>,
self=140200930655440) at
/home/kde/src/KDE/kdebindings/ruby/qtruby/src/qtruby.cpp:1481

#49 0x00007f83154f16c2 in rb_call0 (klass=140200930683600,
recv=140200930655440, id=24441, oid=24441, argc=3, argv=0x7fff380d1570,
body=0x7f8312aba350, flags=<value optimized out>) at eval.c:5904

#50 0x00007f83154f182a in rb_call (klass=140200930683600,
recv=140200930655440, mid=24441, argc=3, argv=0x7fff380d1570, scope=1,
self=6) at eval.c:6151

#51 0x00007f83154f21f3 in rb_funcall2 (recv=<value optimized out>,
mid=<value optimized out>, argc=<value optimized out>, argv=<value optimized
out>) at eval.c:6287

#52 0x00007f83154e78f1 in rb_protect (proc=0x7f8314e04ee0
<funcall2_protect>, data=140200930655440, state=0x7fff380d14ec) at
eval.c:5526

#53 0x00007f8314e06331 in QtRuby::VirtualMethodCall::callMethod
(this=0x7fff380d15c0) at
/home/kde/src/KDE/kdebindings/ruby/qtruby/src/marshall_types.cpp:524

#54 0x00007f8314e04faa in QtRuby::MethodCallBase::next (this=0x7fff380d15c0)
at /home/kde/src/KDE/kdebindings/ruby/qtruby/src/marshall_types.cpp:467

#55 0x00007f8314dcd91f in QtRuby::Binding::callMethod (this=0x7f8312df4c30,
method=<value optimized out>, ptr=0x2993ff0, args=0x7fff380d1660)

at /home/kde/src/KDE/kdebindings/ruby/qtruby/src/Qt.cpp:276

#56 0x00007f831465ec7c in __smokeqt::x_QObject::qt_metacall (this=0x2993ff0,
x1=QMetaObject::InvokeMetaMethod, x2=16, x3=0x7fff380d1770) at
/home/kde/build/KDE/kdebindings/smoke/qt/x_11.cpp:8991

#57 0x00007f832e9797c9 in QMetaObject::activate (sender=0x291a730, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x2ada5f0) at
kernel/qobject.cpp:3398

#58 0x00007f832f4b93d2 in Plasma::DataEngine::sourceAdded (this=0x2ada3b0,
_t1=<value optimized out>) at
/home/kde/build/KDE/kdelibs/plasma/dataengine.moc:185

#59 0x00007f832f4bc543 in Plasma::DataEngine::addSource (this=0x291a730,
source=0x2aabea0) at /home/kde/src/KDE/kdelibs/plasma/dataengine.cpp:247

#60 0x00007f83123bd138 in KuiserverEngine::requestView (this=0x291a730,
appName=@0x2945210, appIconName=@0x24b43a0, capabilities=3)

at
/home/kde/src/KDE/kdebase/workspace/plasma/generic/dataengines/applicationjobs/kuiserverengine.cpp:290

#61 0x00007f83123bec51 in JobViewServerAdaptor::requestView (this=<value
optimized out>, appName=@0x0, appIconName=@0x2ada5f0, capabilities=5620686)

at
/home/kde/build/KDE/kdebase/workspace/plasma/generic/dataengines/applicationjobs/jobviewserveradaptor.cpp:39

#62 0x00007f83123becb7 in JobViewServerAdaptor::qt_metacall (this=0x2a4e090,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff380d19b0)

at
/home/kde/build/KDE/kdebase/workspace/plasma/generic/dataengines/applicationjobs/jobviewserveradaptor.moc:89

#63 0x00007f832eca7224 in QDBusConnectionPrivate::deliverCall
(this=0x23e26a0, object=0x2a4e090, msg=@0x2a90b60,
metaTypes=@0x7fff380d1c88, slotIdx=4) at qdbusintegrator.cpp:891

#64 0x00007f832eca8208 in QDBusConnectionPrivate::activateCall
(this=0x23e26a0, object=0x2a4e090, flags=273, msg=@0x2a90b60) at
qdbusintegrator.cpp:796

#65 0x00007f832eca8998 in QDBusConnectionPrivate::activateObject
(this=0x23e26a0, node=@0x2a90b38, msg=@0x2a90b60, pathStartPos=<value
optimized out>) at qdbusintegrator.cpp:1351

#66 0x00007f832eca8ce8 in QDBusActivateObjectEvent::placeMetaCall
(this=0x2a90af0) at qdbusintegrator.cpp:1464

#67 0x00007f832e976058 in QObject::event (this=0x291a730, e=0x2a90af0) at
kernel/qobject.cpp:1246

#68 0x00007f832d893ddd in QApplicationPrivate::notify_helper
(this=0x22f9f60, receiver=0x291a730, e=0x2a90af0) at
kernel/qapplication.cpp:4277

#69 0x00007f832d89b50d in QApplication::notify (this=0x7fff380d29d0,
receiver=0x291a730, e=0x2a90af0) at kernel/qapplication.cpp:4166

#70 0x00007f832faa57ab in KApplication::notify (this=0x7fff380d29d0,
receiver=0x291a730, event=0x2a90af0) at
/home/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302

#71 0x00007f832e965b9c in QCoreApplication::notifyInternal
(this=0x7fff380d29d0, receiver=0x291a730, event=0x2a90af0) at
kernel/qcoreapplication.cpp:704

#72 0x00007f832e966ac4 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x22e05a0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215

#73 0x00007f832e9907e3 in postEventSourceDispatch (s=<value optimized out>)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220

#74 0x00007f832726eaca in g_main_context_dispatch () from
/lib/libglib-2.0.so.0

#75 0x00007f8327272368 in ?? () from /lib/libglib-2.0.so.0

#76 0x00007f832727252c in g_main_context_iteration () from
/lib/libglib-2.0.so.0

#77 0x00007f832e99033c in QEventDispatcherGlib::processEvents
(this=0x22dfd60, flags=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:407

#78 0x00007f832d93d73f in QGuiEventDispatcherGlib::processEvents
(this=0x2ada3b0, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202

#79 0x00007f832e964482 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 940386160}) at kernel/qeventloop.cpp:149

#80 0x00007f832e964854 in QEventLoop::exec (this=0x7fff380d27b0, flags={i =
940386240}) at kernel/qeventloop.cpp:201

#81 0x00007f832e966d46 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981

#82 0x000000000040a831 in main (argc=2, argv=0x7fff380d32c8) at
/home/kde/src/KDE/kdebase/workspace/plasma/generic/shells/plasmoidviewer/main.cpp:231
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20091101/76989f5c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dialog.rb
Type: application/x-ruby
Size: 1642 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20091101/76989f5c/attachment.bin>


More information about the Kde-bindings mailing list