Simple service crash
Vitaly V. Ch
vitaly.v.ch at gmail.com
Mon Nov 5 07:36:57 PST 2007
I try to write simple dbus service according to example
qt/examples/qdbus/remotecontrolledcar
but service fail when client try to call get_csq with next backtrace:
==6856== Invalid read of size 2
==6856== at 0x417B0D1: QString::toUtf8() const (in /usr/lib/qt-4.2.2
/lib/libQtCore.so.4.2.2)
==6856== by 0x406B62D: (within /usr/lib/qt-4.2.2/lib/libQtDBus.so.4.2.2)
==6856== by 0x404BEF1: (within /usr/lib/qt-4.2.2/lib/libQtDBus.so.4.2.2)
==6856== by 0x40404E0: (within /usr/lib/qt-4.2.2/lib/libQtDBus.so.4.2.2)
==6856== by 0x4046BFC: (within /usr/lib/qt-4.2.2/lib/libQtDBus.so.4.2.2)
==6856== by 0x4047162: (within /usr/lib/qt-4.2.2/lib/libQtDBus.so.4.2.2)
==6856== by 0x41FEA1C: QObject::event(QEvent*) (in /usr/lib/qt-4.2.2
/lib/libQtCore.so.4.2.2)
==6856== by 0x41EE6AD: QCoreApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/qt-4.2.2/lib/libQtCore.so.4.2.2)
==6856== by 0x41EFF7B: QCoreApplication::notify(QObject*, QEvent*) (in
/usr/lib/qt-4.2.2/lib/libQtCore.so.4.2.2)
==6856== by 0x41EF81F: QCoreApplication::sendPostedEvents(QObject*, int)
(in /usr/lib/qt-4.2.2/lib/libQtCore.so.4.2.2)
==6856== by 0x42122BE: (within /usr/lib/qt-4.2.2/lib/libQtCore.so.4.2.2)
==6856== by 0x42D2B10: g_main_context_dispatch (in /usr/lib/libglib-
2.0.so.0.1200.12)
==6856== Address 0xBE89F000 is not stack'd, malloc'd or (recently) free'd
source attached.
any idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20071105/93ee5d4e/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sim300.dbus.tgz
Type: application/x-gzip
Size: 3647 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20071105/93ee5d4e/attachment.bin
More information about the dbus
mailing list