From: "Sébastien Baguet" <sebastien.baguet@tele2.fr>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] [BUG] crash in pcm_bluetooth.c
Date: Mon, 3 Sep 2007 15:28:18 +0200 [thread overview]
Message-ID: <5149509b0709030628o477273f5yf2c689ed356e2224@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1905 bytes --]
Hi All,
I have a crash in pcm_bluetooth.c when i try a connection.
Here are the details :
I power on my bt headset (Sony Ericsson HBH970) - The headset opens
the connection...
Then i try to play an audio file -> SEG FAULT
$ gdb --args aplay -Dplug:bluetooth ~/sounds/enya- 44100Hz.wav
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program: /usr/bin/aplay -Dplug:bluetooth ~/sounds/enya- 44100Hz.wav
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1211472192 (LWP 6891)]
(no debugging symbols found)
Lecture en cours WAVE '~/sounds/enya-44100Hz.wav' : Signed 16 bit Little
Endian, Taux 44100 Hz, Stéréo
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211472192 (LWP 6891)]
0xb7b86196 in bluetooth_a2dp_write (io=0x8061940, areas=0x805a3e0,
offset=0, size=128)
at pcm_bluetooth.c:674
674 memcpy(a2dp->buffer + a2dp->count, a2dp-> sbc.data, a2dp->sbc.len);
$
When i launch the player again all is working ==> So this bug appears
only when the
headset is initiating the connection.
My setup:
* Ubuntu / Kernel 2.6.22-6
* This morning bluez-libs and bluez-utils cvs
* pcm_bluetooth.c version : REL-3_18: 1.64
Does anyone have a clue on this issues ?
Regards,
S. Baguet
[-- Attachment #1.2: Type: text/html, Size: 2109 bytes --]
[-- Attachment #2: Type: text/plain, Size: 315 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next reply other threads:[~2007-09-03 13:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-03 13:28 Sébastien Baguet [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-09-03 12:26 [Bluez-devel] [BUG] crash in pcm_bluetooth.c Sébastien Baguet
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=5149509b0709030628o477273f5yf2c689ed356e2224@mail.gmail.com \
--to=sebastien.baguet@tele2.fr \
--cc=bluez-devel@lists.sourceforge.net \
/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