Bug#692768: pulseaudio: Assertion '(size_t) decoded == a2dp->frame_length' failed

Cristian Baboi cristian.baboi at gmail.com
Thu Nov 8 16:57:48 UTC 2012


Package: pulseaudio
Version: 0.9.21-3+squeeze1
Severity: normal


Cannot connect nokia 5800 audio to pulseaudio.

When I try to connect from the phone, the blueman applet displays a
green spot, blueman device manager displays the orange, green, blue bars
for a while and the phone display a cannot connect message.

When I try to connect from the blueman device manager with Connect to  
Audio Source,
the connection is established, the phone appears as a source in sound
preferences, but the sound preferences dialog freezes with a message
"waiting for a reply from the sound system" and I cannot switch the input
source. While the phone is connected, the song stop playing on the phone
at random intervals.

The option "Headset Service" is available only after trying to connect from
the phone to the audio system but it doesn't work.
The option "Audio Source" is available only after /etc/init.d/bluetooth
restart.
"Refresh Services" remove these two services.



Nokia 5800 xm bluetooth profiles:
=================================
SDP, A2DP, AVRC, AVRCP, TCP, HSP, FTP, PBA, OPP, DUN, BIP, HFP, HID, SAP

/etc/bluetooth/audio.conf
==========================
# Configuration file for the audio service

# This section contains options which are not specific to any
# particular interface
[General]

# Switch to master role for incoming connections (defaults to true)
#Master=true

# If we want to disable support for specific services
# Defaults to supporting all implemented services
#Disable=Control,Source

Enable=Source,Sink,Headset,Gateway,Control,Socket,Media

# SCO routing. Either PCM or HCI (in which case audio is routed to/from
ALSA)
# Defaults to HCI
#SCORouting=PCM

# Automatically connect both A2DP and HFP/HSP profiles for incoming
# connections. Some headsets that support both profiles will only connect
the
# other one automatically so the default setting of true is usually a good
# idea.
AutoConnect=true

# Headset interface specific options (i.e. options which affect how the
audio
# service interacts with remote headset devices)
[Headset]

# Set to true to support HFP, false means only HSP is supported
# Defaults to true
HFP=true

# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
MaxConnected=1

# Just an example of potential config options for the other interfaces
[A2DP]
#SBCSources=1
#MPEG12Sources=0


dmesg
========
[    6.385114] usb 2-9.3: Product: BLUETOOTH USB +EDR ADAPTER v2.1 UHE
[    8.183571] Bluetooth: Core ver 2.15
[    8.183922] Bluetooth: HCI device and connection manager initialized
[    8.183958] Bluetooth: HCI socket layer initialized
[    8.325634] Bluetooth: Generic Bluetooth USB driver ver 0.6
[   29.037794] Bluetooth: L2CAP ver 2.14
[   29.037837] Bluetooth: L2CAP socket layer initialized
[   29.284040] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   29.284077] Bluetooth: BNEP filters: protocol multicast
[   29.288811] Bluetooth: RFCOMM TTY layer initialized
[   29.288852] Bluetooth: RFCOMM socket layer initialized
[   29.288885] Bluetooth: RFCOMM ver 1.11
[   29.477692] Bluetooth: SCO (Voice Link) ver 0.6
[   29.477728] Bluetooth: SCO socket layer initialized
[14261.837044] usb 2-9.3: Product: BLUETOOTH USB +EDR ADAPTER v2.1 UHE

package versions
==================
ii  bluedevil
1.0~rc3-2                              The KDE bluetooth stack
ii  blueman
1.21-4.1                               A Graphical bluetooth manager
ii  bluetooth
4.66-3                                 Bluetooth support
ii  bluez
4.66-3                                 Bluetooth tools and daemons
ii  bluez-alsa
4.66-3                                 Bluetooth ALSA support
ii  bluez-audio
4.66-3                                 Transitional package
ii  bluez-cups
4.66-3                                 Bluetooth printer driver for CUPS
ii  bluez-firmware
1.2-2                                  Firmware for Bluetooth devices
ii  bluez-gstreamer
4.66-3                                 Bluetooth GStreamer support
ii  bluez-utils
4.66-3                                 Transitional package
ii  gnome-bluetooth
2.30.0-2                               GNOME Bluetooth tools
ii  kdebluetooth
1:1.0~rc3-2                            dummy transition package for
kdebluetooth to bluedevil
ii  libbluedevil1
1.7+dfsg-1                             A Qt wrapper for bluez
ii  libbluetooth3
4.66-3                                 Library to use the BlueZ Linux
Bluetooth stack
ii  libgnome-bluetooth7
2.30.0-2                               GNOME Bluetooth tools - support
library
ii  pulseaudio-module-bluetooth
0.9.21-3+squeeze1                      Bluetooth module for PulseAudio
sound server

ii  alsa-base
1.0.23+dfsg-2                          ALSA driver configuration files
ii  alsa-oss
1.0.17-4                               ALSA wrapper for OSS applications
ii  alsa-utils
1.0.23-3                               Utilities for configuring and using
ALSA

ii  gnome-alsamixer
0.9.7~cvs.20060916.ds.1-2              ALSA sound mixer for GNOME

ii  libpulse-browse0
0.9.21-3+squeeze1                      PulseAudio client libraries
(zeroconf support)
ii  libpulse-mainloop-glib0
0.9.21-3+squeeze1                      PulseAudio client libraries (glib
support)
ii  libpulse0
0.9.21-3+squeeze1                      PulseAudio client libraries
ii  pulseaudio
0.9.21-3+squeeze1                      PulseAudio sound server
ii  pulseaudio-esound-compat
0.9.21-3+squeeze1                      PulseAudio ESD compatibility layer
ii  pulseaudio-module-bluetooth
0.9.21-3+squeeze1                      Bluetooth module for PulseAudio
sound server
ii  pulseaudio-module-gconf
0.9.21-3+squeeze1                      GConf module for PulseAudio sound
server
ii  pulseaudio-module-hal
0.9.21-3+squeeze1                      HAL to udev transitioning module
for PulseAudio sound server
ii  pulseaudio-module-jack
0.9.21-3+squeeze1                      jackd modules for PulseAudio sound
server
ii  pulseaudio-module-x11
0.9.21-3+squeeze1                      X11 module for PulseAudio sound
server
ii  pulseaudio-module-zeroconf
0.9.21-3+squeeze1                      Zeroconf module for PulseAudio
sound server
ii  pulseaudio-utils
0.9.21-3+squeeze1                      Command line tools for the
PulseAudio sound server


/var/log/syslog
===============
Nov  8 17:30:04 nvidia bluetoothd[2289]: link_key_request
(sba=00:0A:3A:87:0F:61, dba=00:24:04:F0:48:48)
Nov  8 17:30:43 nvidia last message repeated 2 times
Nov  8 17:30:43 nvidia kernel: [22510.348460] input: 00:24:04:F0:48:48 as
/devices/virtual/input/input12
Nov  8 17:30:44 nvidia pulseaudio[3220]: module-bluetooth-device.c:
/Assertion '(size_t) decoded == a2dp->frame_length' failed at
/modules/bluetooth/module-bluetooth-device.c:1367, function
/a2dp_process_push(). Aborting.
Nov  8 17:30:44 nvidia pulseaudio[5194]: pid.c: Stale PID file,  
overwriting.
Nov  8 17:30:45 nvidia pulseaudio[5194]: module-bluetooth-device.c:
Assertion '(size_t) decoded == a2dp->frame_length' failed at
modules/bluetooth/module-bluetooth-device.c:1367, function
a2dp_process_push(). Aborting.
Nov  8 17:30:45 nvidia pulseaudio[5185]: main.c: Daemon startup failed.
Nov  8 17:30:46 nvidia pulseaudio[5208]: pid.c: Daemon already running.
Nov  8 17:30:46 nvidia pulseaudio[5210]: pid.c: Daemon already running.
Nov  8 17:30:46 nvidia pulseaudio[5213]: pid.c: Daemon already running.
Nov  8 17:30:46 nvidia pulseaudio[5215]: pid.c: Stale PID file,  
overwriting.
Nov  8 17:30:47 nvidia pulseaudio[5215]: module-bluetooth-device.c:
Assertion '(size_t) decoded == a2dp->frame_length' failed at
modules/bluetooth/module-bluetooth-device.c:1367, function
a2dp_process_push(). Aborting.


-- System Information:
Debian Release: 6.0.6
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,  
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.3-amd64 (SMP w/2 CPU cores)
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pulseaudio depends on:
ii  adduser                3.112+nmu2        add and remove users and  
groups
ii  consolekit             0.4.1-4           framework for defining and  
trackin
ii  libasound2             1.0.23-2.1        shared library for ALSA  
applicatio
ii  libc6                  2.11.3-4          Embedded GNU C Library:  
Shared lib
ii  libcap2                1:2.19-3          support for getting/setting  
POSIX.
ii  libdbus-1-3            1.2.24-4+squeeze1 simple interprocess messaging  
syst
ii  libgdbm3               1.8.3-9           GNU dbm database routines  
(runtime
ii  libice6                2:1.0.6-2         X11 Inter-Client Exchange  
library
ii  libltdl7               2.2.6b-2          A system independent dlopen  
wrappe
ii  libpulse0              0.9.21-3+squeeze1 PulseAudio client libraries
ii  libsamplerate0         0.1.7-3           Audio sample rate conversion  
libra
ii  libsm6                 2:1.1.1-1         X11 Session Management library
ii  libsndfile1            1.0.21-3+squeeze1 Library for reading/writing  
audio
ii  libspeexdsp1           1.2~rc1-1         The Speex extended runtime  
library
ii  libudev0               164-3             libudev shared library
ii  libx11-6               2:1.3.3-4         X11 client-side library
ii  libxtst6               2:1.1.0-3         X11 Testing -- Record  
extension li
ii  lsb-base               3.2-23.2squeeze1  Linux Standard Base 3.2 init  
scrip
ii  udev                   164-3             /dev/ and hotplug management  
daemo

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaud 0.10.24-1         GStreamer plugin for  
PulseAudio
ii  libasound2-plugins     1.0.23-1+b1       ALSA library additional  
plugins
ii  pulseaudio-esound-comp 0.9.21-3+squeeze1 PulseAudio ESD compatibility  
layer
ii  pulseaudio-module-x11  0.9.21-3+squeeze1 X11 module for PulseAudio  
sound se

Versions of packages pulseaudio suggests:
ii  paman                  0.9.4-1           PulseAudio Manager
ii  paprefs                0.9.9-2           PulseAudio Preferences
ii  pavucontrol            0.9.9-1           PulseAudio Volume Control
ii  pavumeter              0.9.3-1           PulseAudio Volume Meter
ii  pulseaudio-utils       0.9.21-3+squeeze1 Command line tools for the  
PulseAu

-- no debconf information



More information about the pkg-pulseaudio-devel mailing list