Yes. source which striped from any dependencies is attached.<br><br>I build service binary in next case:<br> <br># ./sim300_dbus_init.make && sim300_dbus_test.make<br><br>where first script build static library and second - test application
<br><br>\\wbr Vitaly<br><br><div><span class="gmail_quote">On 11/5/07, <b class="gmail_sendername">Thiago Macieira</b> <<a href="mailto:thiago@kde.org">thiago@kde.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Em Monday 05 November 2007 16:36:57 Vitaly V. Ch escreveu:<br>> I try to write simple dbus service according to example<br>> qt/examples/qdbus/remotecontrolledcar<br>><br>> but service fail when client try to call get_csq with next backtrace:
<br>><br>> ==6856== Invalid read of size 2<br>> ==6856== at 0x417B0D1: QString::toUtf8() const (in /usr/lib/qt-4.2.2<br>> /lib/libQtCore.so.4.2.2)<br>> ==6856== by 0x406B62D: (within /usr/lib/qt-4.2.2
/lib/libQtDBus.so.4.2.2)<br>> ==6856== by 0x404BEF1: (within /usr/lib/qt-4.2.2/lib/libQtDBus.so.4.2.2)<br>> ==6856== by 0x40404E0: (within /usr/lib/qt-4.2.2/lib/libQtDBus.so.4.2.2)<br>> ==6856== by 0x4046BFC: (within /usr/lib/qt-
4.2.2/lib/libQtDBus.so.4.2.2)<br>> ==6856== by 0x4047162: (within /usr/lib/qt-4.2.2/lib/libQtDBus.so.4.2.2)<br>> ==6856== by 0x41FEA1C: QObject::event(QEvent*) (in /usr/lib/qt-4.2.2<br>> /lib/libQtCore.so.4.2.2)
<br>> ==6856== by 0x41EE6AD: QCoreApplicationPrivate::notify_helper(QObject*,<br>> QEvent*) (in /usr/lib/qt-4.2.2/lib/libQtCore.so.4.2.2)<br>> ==6856== by 0x41EFF7B: QCoreApplication::notify(QObject*, QEvent*) (in
<br>> /usr/lib/qt-4.2.2/lib/libQtCore.so.4.2.2)<br>> ==6856== by 0x41EF81F: QCoreApplication::sendPostedEvents(QObject*, int)<br>> (in /usr/lib/qt-4.2.2/lib/libQtCore.so.4.2.2)<br>> ==6856== by 0x42122BE: (within /usr/lib/qt-
4.2.2/lib/libQtCore.so.4.2.2)<br>> ==6856== by 0x42D2B10: g_main_context_dispatch (in /usr/lib/libglib-<br>> 2.0.so.0.1200.12)<br>> ==6856== Address 0xBE89F000 is not stack'd, malloc'd or (recently) free'd
<br>><br>><br>> source attached.<br>><br>> any idea?<br><br>You have two .pro files in the same directory in your .zip file. And both<br>reference an unknown -lbj.<br><br>Can you provide us with a self-contained example that compiles?
<br><br>--<br> Thiago Macieira - thiago (AT) <a href="http://macieira.info">macieira.info</a> - thiago (AT) <a href="http://kde.org">kde.org</a><br> PGP/GPG: 0x6EF45358; fingerprint:<br> E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
<br><br>_______________________________________________<br>dbus mailing list<br><a href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/dbus">http://lists.freedesktop.org/mailman/listinfo/dbus
</a><br><br><br></blockquote></div><br>