public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Stuart Pook <linux-bluetooth4@pook.es>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: bluetoothd 4.37 -> Segmentation fault
Date: Wed, 29 Apr 2009 19:32:55 +0300	[thread overview]
Message-ID: <20090429163255.GA27251@jh-x301> (raw)
In-Reply-To: <49F87CFF.4090804@pook.es>

Hi Stuart,

On Wed, Apr 29, 2009, Stuart Pook wrote:
> > It'd be good if you could get a trace with debug symbols so we see the
> > exact line numbers.
> 
> Why don't I have debug symbols? Does the default make not add debug
> symbols? I guess that I'll have to look at how I call configure.

I think --enable-debug should be enough.

> > However, before that could you check with latest git
> > if you still experience this crash.
> 
> Do I have to update the client plugins as well or can I mix a bluetoothd 
> from git with the plugins from 4.37?

The easiest way to try git and avoid messing with your current system is 
to build using ./bootstrap-configure && make and run bluetoothd directly 
from the source tree. bootstrap-configure uses the 
--enable-maintainer-mode configure switch which makes bluetoothd load the 
plugins right out of the source tree, so you don't need to worry about 
version conflicts with your existing system.

> > There's at least one commit since
> > 4.37 (7fb4d906c00bf6e2ed03cc3e880bab52b8a984d6) that fixes a crash issue
> > with client_free.
> 
> Should I always try the git version before reporting bugs?

If possible, yes please. It eliminates the question "has this been fixed 
since the last release?" and makes it easier for the developers to match 
the line numbers in the backtrace (assuming you have debug symbols) to 
their development trees which are mostly based on latest git.

Johan

  reply	other threads:[~2009-04-29 16:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29 14:26 bluetoothd 4.37 -> Segmentation fault Stuart Pook
2009-04-29 16:04 ` Johan Hedberg
2009-04-29 16:14   ` Stuart Pook
2009-04-29 16:32     ` Johan Hedberg [this message]
2009-04-29 17:26       ` Stuart Pook
2009-04-29 17:42         ` Johan Hedberg
2009-04-29 18:29           ` Stuart Pook
2009-04-29 19:37             ` Luiz Augusto von Dentz
2009-04-29 20:22               ` bluetoothd git + aplay -> pcm_write:1442: write error: Input/output error Stuart Pook
2009-05-02 18:46               ` bluetoothd git version -> Segmentation fault Stuart Pook
2009-05-02 20:06                 ` Johan Hedberg
     [not found]                 ` <20090502195708.GA28973@jh-x301>
2009-05-02 20:25                   ` bluetoothd git version -> aplay: pcm_write:1442: write error: Input/output error 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=20090429163255.GA27251@jh-x301 \
    --to=johan.hedberg@gmail.com \
    --cc=linux-bluetooth4@pook.es \
    --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