[raop] pulseaudio crashed with SIGABRT in __kernel_vsyscall()

Bug #845286 reported by Matthew Lancey
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Fix Released
Medium
David Henningsson

Bug Description

Happened spontaneously after logging in following aptitude dist-upgrade

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: pulseaudio 1:0.99.3-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic-pae 3.0.4
Uname: Linux 3.0.0-10-generic-pae i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: matt 2889 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xc4500000 irq 45'
   Mixer name : 'IDT 92HD81B1X5'
   Components : 'HDA:111d7605,103c144a,00100402'
   Controls : 14
   Simple ctrls : 9
Card1.Amixer.info:
 Card hw:1 'Generic'/'HD-Audio Generic at 0xc4420000 irq 46'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Fri Sep 9 12:23:25 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/pulseaudio
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcCmdline: /usr/bin/pulseaudio --start --log-target=syslog
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 6
SourcePackage: pulseaudio
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/i386-linux-gnu/libc.so.6
 abort () from /lib/i386-linux-gnu/libc.so.6
 ?? () from /usr/lib/pulse-0.99/modules/module-raop-sink.so
 pa_asyncmsgq_dispatch () from /usr/lib/libpulsecore-0.99.so
Title: pulseaudio crashed with SIGABRT in __kernel_vsyscall()
UpgradeStatus: Upgraded to oneiric on 2011-09-04 (4 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors:
 (indicator-multiload:2630): Gdk-CRITICAL **: IA__gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed
 (gwibber-service:2966): libindicate-WARNING **: Menu being changed when the indicator is visible. Listeners will NOT be notified of this change.
dmi.bios.date: 08/05/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.12
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 144A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 65.27
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.12:bd08/05/2010:svnHewlett-Packard:pnHPPaviliondv6NotebookPC:pvr048E100000242B10000020000:rvnHewlett-Packard:rn144A:rvr65.27:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv6 Notebook PC
dmi.product.version: 048E100000242B10000020000
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Matthew Lancey (infinitejones) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 sink_process_msg (o=0xb216eea8, code=27, data=0x0, offset=0, chunk=0x0) at modules/raop/module-raop-sink.c:238
 pa_asyncmsgq_dispatch (object=0xb216eea8, code=27, userdata=0x0, offset=0, memchunk=0xace6f1ec) at pulsecore/asyncmsgq.c:322
 asyncmsgq_read_work (i=0x9e53208) at pulsecore/rtpoll.c:564
 pa_rtpoll_run (p=0xb216dc68, wait_op=true) at pulsecore/rtpoll.c:238
 thread_func (userdata=0xb216d738) at modules/raop/module-raop-sink.c:467

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in pulseaudio (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
summary: - pulseaudio crashed with SIGABRT in __kernel_vsyscall()
+ [raop] pulseaudio crashed with SIGABRT in __kernel_vsyscall()
visibility: private → public
Revision history for this message
David Henningsson (diwic) wrote :

Thanks for your bug report! I've made a patch out that hopefully will fix this problem. I'm attaching it here and I've sent it to PulseAudio upstream for discussion.

Changed in pulseaudio (Ubuntu):
assignee: nobody → David Henningsson (diwic)
status: New → In Progress
Revision history for this message
David Henningsson (diwic) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-RAOP-Don-t-crash-if-fd-is-not-open-when-trying-to-cl.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 1:0.99.3-0ubuntu4

---------------
pulseaudio (1:0.99.3-0ubuntu4) oneiric; urgency=low

  * Fix crash in jack detection patches (LP: #845468)
  * Fix crash when reading volume when sink/source is unlinked (LP: #841968)
  * Fix crash in RAOP (LP: #845286)
 -- David Henningsson <email address hidden> Mon, 12 Sep 2011 10:29:00 +0200

Changed in pulseaudio (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Vincent Ladeuil (vila) wrote :

@David: I've got an oneiric setup where I found the error message introduced by your patch.

I get it when trying to connect to an AitTunes Remote Audio server on my LAN.

Did you get more information about what is causing this behavior ? Your patch added a /* FIXME */ which I'd love to disappear ;) Any freedback from upstream ? Should I re-open this bug ? File a new one ?

Revision history for this message
Vincent Ladeuil (vila) wrote :
Download full text (3.8 KiB)

For the record, digging a bit and running 'pulseaudio -vv', I get (excerpt):

D: [pulseaudio] module-raop-discover.c: Found RAOP: Freebox Server
D: [pulseaudio] module-raop-discover.c: Found key: 'txtvers' with value: '1'
D: [pulseaudio] module-raop-discover.c: Found key: 'vs' with value: '110.63'
D: [pulseaudio] module-raop-discover.c: Found key: 'ch' with value: '2'
D: [pulseaudio] module-raop-discover.c: Found key: 'sr' with value: '44100'
D: [pulseaudio] module-raop-discover.c: Found key: 'ss' with value: '16'
D: [pulseaudio] module-raop-discover.c: Found key: 'pw' with value: 'false'
D: [pulseaudio] module-raop-discover.c: Found key: 'et' with value: '0,1'
D: [pulseaudio] module-raop-discover.c: Found key: 'ek' with value: '1'
D: [pulseaudio] module-raop-discover.c: Found key: 'tp' with value: 'UDP'
D: [pulseaudio] module-raop-discover.c: Found key: 'am' with value: 'AirPort4,107'
D: [pulseaudio] module-raop-discover.c: Found key: 'cn' with value: '0,1'
D: [pulseaudio] module-raop-discover.c: Found key: 'sv' with value: 'false'
D: [pulseaudio] module-raop-discover.c: Found key: 'da' with value: 'true'
D: [pulseaudio] module-raop-discover.c: Found key: 'vn' with value: '65537'
D: [pulseaudio] module-raop-discover.c: Found key: 'md' with value: '0,1,2'
D: [pulseaudio] module-raop-discover.c: Found key: 'sf' with value: '0x4'
D: [pulseaudio] module-raop-discover.c: Loading module-raop-sink with arguments 'server=[192.168.0.254]:5000 sink_name=raop.freebox-server.local sink_properties='device.description="Freebox Server"''
I: [pulseaudio] sink.c: Created sink 2 "raop.freebox-server.local" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c: device.string = "[192.168.0.254]:5000"
I: [pulseaudio] sink.c: device.intended_roles = "music"
I: [pulseaudio] sink.c: device.description = "Freebox Server"
I: [pulseaudio] sink.c: device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 4 "raop.freebox-server.local.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c: device.description = "Monitor of Freebox Server"
I: [pulseaudio] source.c: device.class = "monitor"
I: [pulseaudio] source.c: device.icon_name = "audio-input-microphone"
D: [pulseaudio] rtsp_client.c: Attempting to connect to server '192.168.0.254:5000'
D: [raop-sink] module-raop-sink.c: Thread starting up
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Device added for object /org/pulseaudio/core1/source4
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Source added for object /org/pulseaudio/core1/source4
D: [pulseaudio] module-device-restore.c: Could not set format on sink raop.freebox-server.local
D: [pulseaudio] module-suspend-on-idle.c: Sink raop.freebox-server.local becomes idle, timeout in 5 seconds.
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Device added for object /org/pulseaudio/core1/sink2
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Sink added for object /org/pulseaudio/core1/sink2
I: [pulseaudio] module.c: Loaded "module-raop-sink" (index: #24; argument: "server=[19...

Read more...

Revision history for this message
David Henningsson (diwic) wrote :

Hi Vincent,

Your bug is likely different from the original poster's bug. As I usually not deal with RAOP issues myself: if you have time to contact upstream directly (the <email address hidden> list is recommended) that would probably be your best odds of getting your bug fixed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.