public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: BlueZ development <linux-bluetooth@vger.kernel.org>
Subject: Re: bluez-4.11 + 2.6.27-rc8 + SCO headset -> Invalid read of size 4
Date: Mon, 6 Oct 2008 22:31:17 +0200	[thread overview]
Message-ID: <632D4195-1EFF-4191-98D9-4A0953223590@gmail.com> (raw)
In-Reply-To: <48EA6D84.7020101@pook.es>

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




  reply	other threads:[~2008-10-06 20:31 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-30 21:03 bluez-4.9 + 2.6.27-rc8 + SCO headset -> bluetoothd: connect: Operation not permitted Stuart Pook
2008-09-30 23:26 ` David Sainty
2008-10-01 17:30   ` Stuart Pook
2008-10-04  3:47     ` Luiz Augusto von Dentz
2008-10-04 11:25       ` Stuart Pook
2008-10-04 11:51         ` Marcel Holtmann
2008-10-04 23:24           ` bluez-4.11 + 2.6.27-rc8 + SCO headset -> bluetoothd: connect(): Connection timed out (110) Stuart Pook
2008-10-05 17:50             ` Johan Hedberg
2008-10-05 19:17               ` Stuart Pook
2008-10-05 20:07               ` bluez-4.11 + 2.6.27-rc8 + SCO headset -> Invalid read of size 4 Stuart Pook
2008-10-06  8:47                 ` Johan Hedberg
2008-10-06 10:52                   ` Johan Hedberg
2008-10-06 18:38                     ` Stuart Pook
2008-10-06 19:56                     ` Stuart Pook
2008-10-06 20:31                       ` Johan Hedberg [this message]
2008-10-06 20:56                         ` bluez/git + 2.6.27-rc8 + SCO headset -> SIGSEGV Stuart Pook
2008-10-06 21:03                           ` Marcel Holtmann
2008-10-06 21:10                             ` Stuart Pook
2008-10-06 21:21                               ` Marcel Holtmann
2008-10-06 22:40                                 ` bluez/git + 2.6.27-rc8 + bluetoothd " Stuart Pook
2008-10-07  5:34                                   ` Johan Hedberg
2008-12-06 12:15                                     ` bluez-4.22 + twinkle -> Unable to lock headset Stuart Pook
2008-12-08 18:42                                       ` Luiz Augusto von Dentz
2008-12-09 12:23                                         ` sreevani medhahal
2008-10-06 20:39                   ` bluez/git + 2.6.27-rc8 + Belkin F8T017 -> Can't read class of adapter Stuart Pook
2008-10-06 20:45                     ` Marcel Holtmann
2008-10-06 21:55                       ` Stuart Pook
2008-10-06 22:38                         ` Marcel Holtmann
2008-10-06 23:17                           ` bluez/git + 2.6.27-rc8 + Belkin F8T017 -> works with reset=1 Stuart Pook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=632D4195-1EFF-4191-98D9-4A0953223590@gmail.com \
    --to=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox