Hi Stuart,
On Oct 6, 2008, at 21:56, Stuart Pook wrote:
I think I managed to fix the segfault issue. The valgrind backtrace
was actually misleading/incorrect but I managed to get a proper one
with gdb. Could you try the latest git and see if the segfault is
gone?
I still have the segfault. But it took a little longer this time.
Actually it's a different issue than the original segfault (see later
in this email).
I'm a git beginner. Is there a git command that gives me the "version"
of what "git clone" retrieved so that you exactly what code I have?
You won't have any specific version but just the latest development
tree. Be sure to run "git pull" every now and then to make sure you
get the latest changes.
bluetoothd[2451]: connect(): Connection timed out (110)
==2451== Invalid read of size 4
==2451== at 0x490CBF3: (within /usr/lib/libdbus-1.so.3.4.0)
==2451== by 0x4911DD1: dbus_message_get_sender (in /usr/lib/
libdbus-1.so.3.4.0)
==2451== by 0x49155C0: dbus_message_new_error (in /usr/lib/
libdbus-1.so.3.4.0)
==2451== by 0x15677: error_common_reply (error.c:42)
==2451== by 0x4ED900D: error_connection_attempt_failed (headset.c:
175)
==2451== by 0x4ED9A3B: sco_connect_cb (headset.c:468)
This is a different trace than the original one. The original one went
through rfcomm_connect_cb while this one goes through sco_connect_cb,
i.e. you've already got the (RFCOMM) control connection up and are
trying to establish the audio (SCO) connection. I will investigate it,
however could you try to get a backtrace with gdb as well since it
seems that valgrind either distorts or hides some errors.
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html