KDE/kdelibs/kdecore/util

Michael Jansen kde at michael-jansen.biz
Mon Oct 13 23:10:57 BST 2008


On Monday 13 October 2008 23:45:29 Thiago Macieira wrote:
> Michael Jansen wrote:
> >+ ? ? ?// 2. qt 4.4.3 crashes when trying to emit signals on class
> > without + ? ? ?// ? ?Q_CLASSINFO("D-Bus Interface", "<your interface>")
> > but + ? ? ?// ? ?ExportSignal set.
>
> I hope you sent a bug report about that.

Not yet. I will fix the wording. It should read asserts. 

See below the backtrace. I hope to create a bugreport but i can't guarantee 
it. I'm not that keen on reporting bugs i am not sure are bugs given the 
success i had with reporting things i consider bugs.

Specifiying no interface but wanting to emit signals is quite some wrong usage 
if i understand dbus correctly. Which i'm not sure.

But i'm pretty sure qt could do a much nicer job of telling me what is wrong. 
Took me quite some time to figure out what the problem is.

Mike

#5  0x00007fd177aac5c5 in raise () from /lib64/libc.so.6
#6  0x00007fd177aadbb3 in abort () from /lib64/libc.so.6
#7  0x00007fd17ae2b77d in qt_message_output (msgType=QtFatalMsg, 
buf=0x7fff85ebbeb0 "ASSERT: \"mciid != -1\" in file 
/local/build/kde/trunk/src/qt-copy/src/dbus/qdbusintegrator.cpp, line 1064")
    at /local/build/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:2102
#8  0x00007fd17ae2b88c in qFatal (msg=0x7fd17af706b8 "ASSERT: \"%s\" in file 
%s, line %d") at /local/build/kde/trunk/src/qt-
copy/src/corelib/global/qglobal.cpp:2303
#9  0x00007fd17ae2bc99 in qt_assert (assertion=0x7fd17a98c111 "mciid != -1", 
file=0x7fd17a98b9c0 "/local/build/kde/trunk/src/qt-
copy/src/dbus/qdbusintegrator.cpp", line=1064)
    at /local/build/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:1872
#10 0x00007fd17a95ca67 in QDBusConnectionPrivate::relaySignal (this=0x620da0, 
obj=0x7dce10, mo=0x7fd172dc4820, signalId=5, args=@0x7fff85ebe320)
    at /local/build/kde/trunk/src/qt-copy/src/dbus/qdbusintegrator.cpp:1064
#11 0x00007fd17a98a3e6 in QDBusConnectionPrivate::qt_metacall (this=0x620da0, 
_c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff85ebe2a0) at .moc/debug-
shared/moc_qdbusconnection_p.cpp:91
#12 0x00007fd17af33a43 in QMetaObject::activate (sender=0x7d4b80, 
from_signal_index=6, to_signal_index=6, argv=0x7fff85ebe2a0)
    at /local/build/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3019
#13 0x00007fd17af33eb9 in QMetaObject::activate (sender=0x7d4b80, 
m=0x7fd17aba6720, local_signal_index=2, argv=0x7fff85ebe2a0)
    at /local/build/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3092
#14 0x00007fd17a973874 in QDBusAdaptorConnector::relaySignal (this=0x7d4b80, 
_t1=0x7dce10, _t2=0x7fd172dc4820, _t3=5, _t4=@0x7fff85ebe320)
    at /local/build/kde/trunk/src/qt-
copy/src/dbus/qdbusabstractadaptor.cpp:372
#15 0x00007fd17a973ab3 in QDBusAdaptorConnector::relay (this=0x7d4b80, 
senderObj=0x7dce10, lastSignalIdx=5, argv=0x7fff85ebe540)
    at /local/build/kde/trunk/src/qt-
copy/src/dbus/qdbusabstractadaptor.cpp:301
#16 0x00007fd17a973b1f in QDBusAdaptorConnector::relaySlot (this=0x7d4b80, 
argv=0x7fff85ebe540) at /local/build/kde/trunk/src/qt-
copy/src/dbus/qdbusabstractadaptor.cpp:263
#17 0x00007fd17a973e70 in QDBusAdaptorConnector::qt_metacall (this=0x7d4b80, 
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff85ebe540)
    at /local/build/kde/trunk/src/qt-
copy/src/dbus/qdbusabstractadaptor.cpp:359
#18 0x00007fd17af33a43 in QMetaObject::activate (sender=0x7dce10, 
from_signal_index=5, to_signal_index=5, argv=0x7fff85ebe540)
    at /local/build/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3019
#19 0x00007fd17af33eb9 in QMetaObject::activate (sender=0x7dce10, 
m=0x7fd17d01b9e0, local_signal_index=1, argv=0x7fff85ebe540)
    at /local/build/kde/trunk/src/qt-copy/src/corelib/kernel/qobject.cpp:3092
#20 0x00007fd17cd7aa72 in KDEDModule::windowRegistered (this=0x4b2e, 
_t1=73400321) at /local/build/kde/trunk/bld/kdelibs/kdecore/kdedmodule.moc:93

Michael Jansen

http://www.michael-jansen.biz




More information about the kde-core-devel mailing list