public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] [BUG] crash in pcm_bluetooth.c
@ 2007-09-03 13:28 Sébastien Baguet
  0 siblings, 0 replies; 2+ messages in thread
From: Sébastien Baguet @ 2007-09-03 13:28 UTC (permalink / raw)
  To: bluez-devel


[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [Bluez-devel] [BUG] crash in pcm_bluetooth.c
@ 2007-09-03 12:26 Sébastien Baguet
  0 siblings, 0 replies; 2+ messages in thread
From: Sébastien Baguet @ 2007-09-03 12:26 UTC (permalink / raw)
  To: bluez-devel


[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-03 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-03 13:28 [Bluez-devel] [BUG] crash in pcm_bluetooth.c Sébastien Baguet
  -- strict thread matches above, loose matches on Subject: below --
2007-09-03 12:26 Sébastien Baguet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox