[bluez] pulseaudio crashed with SIGABRT in pa_xmalloc() from memblock_new_appended() from pa_memblock_new() from pa_memchunk_make_writable() from pa_sink_render_full()

Bug #981239 reported by Grek-336
30
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Triaged
High
Unassigned

Bug Description

https://errors.ubuntu.com/problem/66febb97e783ee9f6d754cb72d5cc66f9f36b6d7

---

Crash during Rhythmbox playback via Bluetooth Headset. Audio switch from Bluetooth Headset back to Laptop Speaker. First crash over 25 Hours of playback with this combination.

Lenovo Thinkpad X121e E-300 and Arctic Sound P311 Headset.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: pulseaudio 1:1.1-0ubuntu15
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu2
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 1: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: michael 4582 F.... pulseaudio
 /dev/snd/pcmC1D0p: michael 4582 F...m pulseaudio
 /dev/snd/controlC0: michael 4582 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Generic'/'HD-Audio Generic at 0xf0344000 irq 45'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 6
   Simple ctrls : 1
Card0.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Card1.Amixer.info:
 Card hw:1 'SB'/'HDA ATI SB at 0xf0340000 irq 16'
   Mixer name : 'Conexant CX20590'
   Components : 'HDA:14f1506e,17aa21ec,00100002'
   Controls : 8
   Simple ctrls : 5
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw unknown'
   Mixer name : 'ThinkPad EC (unknown)'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Sat Apr 14 00:38:14 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/pulseaudio
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327.1)
ProcCmdline: /usr/bin/pulseaudio --start --log-target=syslog
Signal: 6
SourcePackage: pulseaudio
StacktraceTop:
 raise () from /lib/x86_64-linux-gnu/libc.so.6
 abort () from /lib/x86_64-linux-gnu/libc.so.6
 pa_xmalloc () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
 pa_memblock_new () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
 pa_memchunk_make_writable () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
Title: pulseaudio crashed with SIGABRT in raise()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
XsessionErrors:
 (nm-applet:1886): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion `dest_width > 0' failed
 (gnome-settings-daemon:1837): media-keys-plugin-WARNING **: Unable to get default sink
dmi.bios.date: 11/15/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8RET52WW (1.15 )
dmi.board.asset.tag: Not Available
dmi.board.name: 3051A79
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8RET52WW(1.15):bd11/15/2011:svnLENOVO:pn3051A79:pvrThinkPadX121e:rvnLENOVO:rn3051A79:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 3051A79
dmi.product.version: ThinkPad X121e
dmi.sys.vendor: LENOVO

Revision history for this message
Grek-336 (kult01) wrote :
Revision history for this message
Grek-336 (kult01) wrote :

I have some Problems with the headset. Sometimes the playback stops but no error message ist in syslog. Push the start/stop key twice on the headset solve the probem and the playback starts again.

I don't now is this a hardware Problem Thinkpad/Headset or a software Problem pulseaudio/bluetooth/a2sd.

But alltime no crash of pulseaudio.

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

StacktraceTop:
 pa_xmalloc (size=<optimized out>) at pulse/xmalloc.c:63
 memblock_new_appended (length=158471908, p=0x9fbab0) at pulsecore/memblock.c:234
 pa_memblock_new (p=0x9fbab0, length=<optimized out>) at pulsecore/memblock.c:217
 pa_memchunk_make_writable (c=0x7fd525570e50, min=<optimized out>) at pulsecore/memchunk.c:51
 pa_sink_render_full (s=0xa32b30, length=158471908, result=0x7fd525570e50) at pulsecore/sink.c:1296

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
summary: - pulseaudio crashed with SIGABRT in raise()
+ pulseaudio crashed with SIGABRT in pa_xmalloc()
tags: removed: need-amd64-retrace
Revision history for this message
Grek-336 (kult01) wrote : Re: pulseaudio crashed with SIGABRT in pa_xmalloc()

Possible crash scenario found.

Using Rhythmbox with the headset.

Headset stops playback. Progressbar in Rhythmbox stops to, but not change the status from play to pause.

Pulseaudio chrashed a long time ago.

I can here it when the playback over the Laptop speeker starts. Status LED of the headset say connection is alltime good.

Revision history for this message
Grek-336 (kult01) wrote :

Found second crash report from scenario last night

Revision history for this message
Grek-336 (kult01) wrote :

I can not confirm that I can reproduce the crash mit the methode in comment #6.

When the playback stops after ca. 15 minutes the sound switch back to laptop speakers but no crash of pulseaudio.

Revision history for this message
David Henningsson (diwic) wrote : Re: [bluez] pulseaudio crashed with SIGABRT in pa_xmalloc(), trying to render insane amounts of data

#6 0x00007fd53813c8fb in pa_sink_render_full (s=0xa32b30, length=158471908, result=0x7fd525570e50) at pulsecore/sink.c:1296

This is an insane length, and the memory allocator complains trying to allocate such a long block.

summary: - pulseaudio crashed with SIGABRT in pa_xmalloc()
+ [bluez] pulseaudio crashed with SIGABRT in pa_xmalloc(), trying to
+ render insane amounts of data
Changed in pulseaudio (Ubuntu):
status: New → Triaged
tags: added: saucy
information type: Private → Public
tags: added: xenial yakkety zesty
Changed in pulseaudio (Ubuntu):
importance: Medium → High
summary: - [bluez] pulseaudio crashed with SIGABRT in pa_xmalloc(), trying to
- render insane amounts of data
+ [bluez] pulseaudio crashed with SIGABRT in pa_xmalloc() from
+ memblock_new_appended() from pa_memblock_new() from
+ pa_memchunk_make_writable() from pa_sink_render_full()
description: updated
tags: added: artful bionic
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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