From: Johan Hedberg <johan.hedberg@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Re: bluetoothd git version -> Segmentation fault
Date: Sat, 2 May 2009 23:06:00 +0300 [thread overview]
Message-ID: <20090502200600.GA775@jh-x301> (raw)
In-Reply-To: <49FC94FD.1080808@pook.es>
Hi Stuart,
On Sat, May 02, 2009, Stuart Pook wrote:
> bluetoothd seg faulted again. This time I didn't have to type control-C.
> I just ran it and it crashed. I last did a git pull a bit before
> 2009-04-29 20:17
<snip>
> bluetoothd[3300]: connect: Operation not permitted (1)
> ==3300== Invalid read of size 1
> ==3300== at 0x4826728: strlen (mc_replace_strmem.c:242)
> ==3300== by 0x498E677: vfprintf (in /lib/i686/cmov/libc-2.9.so)
> ==3300== by 0x4A2A635: __vsyslog_chk (in /lib/i686/cmov/libc-2.9.so)
> ==3300== by 0x4A2A706: vsyslog (in /lib/i686/cmov/libc-2.9.so)
> ==3300== by 0x12D457: error (logging.c:58)
> ==3300== by 0x4EEC176: get_record_cb (headset.c:1432)
> ==3300== by 0x12D9DA: search_completed_cb (glib-helper.c:209)
> ==3300== by 0x493F0B1: sdp_process (in /usr/local/stow/bluez-4.37/lib/libbluetooth.so.3.2.3)
> ==3300== by 0x12DA46: search_process_cb (glib-helper.c:228)
> ==3300== by 0x48B64AC: (within /usr/lib/libglib-2.0.so.0.2000.1)
> ==3300== by 0x487F847: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.2000.1)
> ==3300== by 0x4882DAA: (within /usr/lib/libglib-2.0.so.0.2000.1)
> ==3300== Address 0x5 is not stack'd, malloc'd or (recently) free'd
> ==3300== ==3300== Process terminating with default action of signal 11
> (SIGSEGV)
Thanks a lot for this trace! It turned out to be a simple format string
bug which is now fixed in git:
http://git.kernel.org/?p=bluetooth/bluez.git;a=commitdiff;h=ca06dd9c4d4d4c055583dd4e2b4a823264c3b687
Johan
next prev parent reply other threads:[~2009-05-02 20:06 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
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 [this message]
[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=20090502200600.GA775@jh-x301 \
--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