[pulseaudio-tickets] [PulseAudio] #641: Pulseaudio crashes when switching Bluetooth headset from "Telephony" to "High Fidelity" (A2DP)

PulseAudio trac-noreply at tango.0pointer.de
Wed Jan 20 04:09:36 PST 2010


#641: Pulseaudio crashes when switching Bluetooth headset from "Telephony" to
"High Fidelity" (A2DP)
-----------------------+----------------------------------------------------
  Reporter:  foxmajik  |       Owner:  lennart                                            
      Type:  defect    |      Status:  reopened                                           
 Milestone:            |   Component:  daemon                                             
Resolution:            |    Keywords:  bluetooth, module-bluetooth-discover, blueman, a2dp
-----------------------+----------------------------------------------------
Changes (by ajvok):

 * cc: ajvok1 at gmail.com (added)
  * status:  closed => reopened
  * resolution:  worksforme =>


Comment:

 I am seeing this same problem and appear to have later versions than those
 reported to work above.

 I start pavucontrol. My headset is shown, and works, but:
 1. Its mono only
 2. The record volume is way too loud.
 I figured this *may* be fixed by changing the configured profile from  the
 profile from HSP/HSF to a2dp. When I try doing this in
 pavucontrol/configuration screen I get a popup "Connection Failed:
 Connection Terminated".
 Trying this again, but with log-level=debug provides these final lines in
 debug:
 =================================================
 I: module-device-restore.c: Restoring volume for sink
 bluez_sink.00_11_B1_07_A6_3A.
 I: module-device-restore.c: Restoring mute state for sink
 bluez_sink.00_11_B1_07_A6_3A.
 I: sink.c: Created sink 3 "bluez_sink.00_11_B1_07_A6_3A" with sample spec
 s16le 6ch 44100Hz and channel map front-left,front-left-of-center,front-
 center,front-right,front-right-of-center,rear-center
 I: sink.c:     bluetooth.protocol = "a2dp"
 I: sink.c:     device.description = "jabra BT3030"
 I: sink.c:     device.string = "00:11:B1:07:A6:3A"
 I: sink.c:     device.api = "bluez"
 I: sink.c:     device.class = "sound"
 I: sink.c:     device.bus = "bluetooth"
 I: sink.c:     device.form_factor = "headset"
 I: sink.c:     bluez.path = "/org/bluez/19123/hci0/dev_00_11_B1_07_A6_3A"
 I: sink.c:     bluez.class = "0x240404"
 I: sink.c:     bluez.name = "jabra BT3030"
 I: sink.c:     device.icon_name = "audio-headset-bluetooth"
 I: module-device-restore.c: Restoring volume for source
 bluez_sink.00_11_B1_07_A6_3A.monitor.
 I: module-device-restore.c: Restoring mute state for source
 bluez_sink.00_11_B1_07_A6_3A.monitor.
 I: source.c: Created source 6 "bluez_sink.00_11_B1_07_A6_3A.monitor" with
 sample spec s16le 6ch 44100Hz and channel map front-left,front-left-of-
 center,front-center,front-right,front-right-of-center,rear-center
 I: source.c:     device.description = "Monitor of jabra BT3030"
 I: source.c:     device.class = "monitor"
 I: source.c:     device.string = "00:11:B1:07:A6:3A"
 I: source.c:     device.api = "bluez"
 I: source.c:     device.bus = "bluetooth"
 I: source.c:     device.form_factor = "headset"
 I: source.c:     bluez.path =
 "/org/bluez/19123/hci0/dev_00_11_B1_07_A6_3A"
 I: source.c:     bluez.class = "0x240404"
 I: source.c:     bluez.name = "jabra BT3030"
 I: source.c:     device.icon_name = "audio-headset-bluetooth"
 D: module-bluetooth-device.c: IO Thread starting up
 D: core-util.c: SCHED_RR|SCHED_RESET_ON_FORK worked.
 I: core-util.c: Successfully enabled SCHED_RR scheduling for thread, with
 priority 5.
 D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_START_STREAM
 D: module-bluetooth-device.c: Trying to receive message from audio
 service...
 D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_START_STREAM
 D: module-bluetooth-device.c: Trying to receive message from audio
 service...
 D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_NEW_STREAM
 D: module-bluetooth-device.c: Stream properly set up, we're ready to roll!
 E: sink.c: Assertion 'pa_frame_aligned(length, &s->sample_spec)' failed at
 pulsecore/sink.c:1090, function pa_sink_render_full(). Aborting.
 =================================================

 I'm running Mandriva Linux 2010. That came with pulseaudio 0.9.19. After
 having this problem, I upgraded to 0.9.21 - that did not help.
 I'm using module-bluetooth-discover

 Other package versions:
 $ rpm -qa | grep blue
 bluez-alsa-4.54-1mdv2010.0
 bluez-firmware-1.2-6mdv2010.0
 bluez-gstreamer-4.54-1mdv2010.0
 libbluez3-4.54-1mdv2010.0
 bluez-hcidump-1.42-3mdv2010.0
 libbluez-devel-4.54-1mdv2010.0
 bluez-cups-4.54-1mdv2010.0
 pulseaudio-module-bluetooth-0.9.21-0.0.4mdv2010.0
 bluez-4.54-1mdv2010.0
 kbluetooth-0.4-1.RC1.3mdv2010.0
 bluez-pin-0.30-9mdv2010.0

 $ rpm -qa | grep alsa
 bluez-alsa-4.54-1mdv2010.0
 libalsa2-devel-1.0.21a-1mdv2010.0
 java-1.6.0-sun-alsa-1.6.0.16-1mdv2010.0
 libalsa-data-1.0.21a-1mdv2010.0
 alsa-plugins-pulse-config-1.0.21-2mdv2010.0
 libalsa2-1.0.21a-1mdv2010.0
 alsa-plugins-doc-1.0.21-2mdv2010.0
 libalsa-plugins-1.0.21-2mdv2010.0
 alsa-utils-1.0.21-1mdv2010.0
 libalsa-oss0-1.0.17-4.2mdv2010.0
 libalsa-plugins-pulseaudio-1.0.21-2mdv2010.0


 Any suggestions? Bug or me being daft?

 Thanks for any help.

-- 
Ticket URL: <http://pulseaudio.org/ticket/641#comment:7>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list