[qtMoko] Request needed to restore bluetooth

Guilhem Bonnefille guilhem.bonnefille at gmail.com
Mon Jun 6 22:09:05 CEST 2011


2011/6/5 Radek Polak <psonek2 at seznam.cz>:
> Guilhem Bonnefille wrote:
>
>> Here is the backtrace.
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x40a3c414 in QDBusAbstractInterface::isValid() const () from
>> /opt/qtmoko/lib/libQtDBus.so.4
>> (gdb) where
>> #0  0x40a3c414 in QDBusAbstractInterface::isValid() const () from
>> /opt/qtmoko/lib/libQtDBus.so.4
>> #1  0x403e16b8 in bool QBluetoothDbusIface::btcall<void>(QString
>> const&, QDBusReply<void>&, QList<QVariant>, bool, QObject*, char
>> const*, char const*) () from /opt/qtmoko/lib/libqtopiacomm.so.4
>> #2  0x403eb1e0 in ?? () from /opt/qtmoko/lib/libqtopiacomm.so.4
>> #3  0x403eb1e0 in ?? () from /opt/qtmoko/lib/libqtopiacomm.so.4
>> Backtrace stopped: previous frame identical to this frame (corrupt stack?)
>
> Hmm this looks quite strange since it segfaults in the Qt call
> (QDBusAbstractInterface). I cant tell more just from the stacktrace. It would
> be best if i could debug this locally. Hmm and i will probably rework the
> whole bluetooth library after experience with FSO, e.g. so that the BT dbus
> bindings are autogenerated.

Reading traces and code, I think I found at least one aspect of the
bug. Here is a small patch. As I'm not yet able to compile and test my
modifications, this is a "blind" patch. Can you give me feedback,
please?

-- 
Guilhem BONNEFILLE
-=- JID: guyou at im.apinc.org MSN: guilhem_bonnefille at hotmail.com
-=- mailto:guilhem.bonnefille at gmail.com
-=- http://nathguil.free.fr/



More information about the community mailing list