xmalloc.c: Assertion 'size > 0' failed at pulse/xmalloc.c:60
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Pulseaudio frequently crashes when Skype or some games (e.g. BigPharma from Steam) are playing audio, it appears fine otherwise.
It gets restarted as my user (not as the system), and hence things can start playing again, but neither Skype nor the games recover from this situation, so audio is broken forever for them.
Log, from running it non-daemonised; I don't seem to get the E: log in syslog when I run it daemonised, but I may just be failing at reading the right bit of syslog:
D: [pulseaudio] module-
D: [alsa-sink-ALC892 Analog] alsa-sink.c: Limited to 12572 bytes.
D: [alsa-sink-ALC892 Analog] alsa-sink.c: before: 1047
D: [alsa-sink-ALC892 Analog] alsa-sink.c: after: 1047
D: [alsa-sink-ALC892 Analog] alsa-sink.c: Rewound 12564 bytes.
D: [alsa-sink-ALC892 Analog] sink.c: Processing rewind...
D: [alsa-sink-ALC892 Analog] sink.c: latency = 639
D: [alsa-sink-ALC892 Analog] sink-input.c: Have to rewind 12564 bytes on render memblockq.
D: [alsa-sink-ALC892 Analog] sink-input.c: Have to rewind 12564 bytes on render memblockq.
D: [alsa-sink-ALC892 Analog] source.c: Processing rewind...
D: [alsa-sink-ALC892 Analog] protocol-native.c: Requesting rewind due to end of underrun.
D: [alsa-sink-ALC892 Analog] alsa-sink.c: Requested to rewind 65520 bytes.
D: [alsa-sink-ALC892 Analog] alsa-sink.c: Limited to 13244 bytes.
D: [alsa-sink-ALC892 Analog] alsa-sink.c: before: 1103
D: [alsa-sink-ALC892 Analog] alsa-sink.c: after: 1103
D: [alsa-sink-ALC892 Analog] alsa-sink.c: Rewound 13236 bytes.
D: [alsa-sink-ALC892 Analog] sink.c: Processing rewind...
D: [alsa-sink-ALC892 Analog] sink.c: latency = 599
D: [alsa-sink-ALC892 Analog] sink-input.c: Have to rewind 13236 bytes on render memblockq.
D: [alsa-sink-ALC892 Analog] sink-input.c: Have to rewind 13236 bytes on render memblockq.
D: [alsa-sink-ALC892 Analog] sink-input.c: Have to rewind 13236 bytes on render memblockq.
D: [alsa-sink-ALC892 Analog] source.c: Processing rewind...
E: [alsa-sink-ALC892 Analog] xmalloc.c: Assertion 'size > 0' failed at pulse/xmalloc.c:60, function pa_xmalloc(). Aborting.
$ killall -9 pulseaudio; gdb --args pulseaudio
b abort
r
...
gdb) bt
#0 __GI_abort () at abort.c:51
#1 0x00007ffff78d27fb in pa_xmalloc (size=size@entry=0) at pulse/xmalloc.c:60
#2 0x00007ffff78d29e9 in pa_xmemdup (p=0x7fffef568040, l=l@entry=0) at pulse/xmalloc.c:94
#3 0x00007ffff7b4a6b5 in pa_lfe_
#4 0x00007ffff7b68313 in pa_resampler_run (r=0x81c830, in=in@entry=
#5 0x00007ffff7b730d3 in pa_sink_input_peek (i=i@entry=
#6 0x00007ffff7b7b990 in fill_mix_info (s=s@entry=
#7 0x00007ffff7b7e74d in pa_sink_render_into (s=s@entry=
#8 0x00007ffff7b7ecef in pa_sink_
#9 0x00007fffe9b9668a in mmap_write (on_timeout=false, polled=false, sleep_usec=
#10 thread_func (userdata=0x6f46f0) at modules/
#11 0x00007ffff790c4d8 in internal_
#12 0x00007ffff6dfd6aa in start_thread (arg=0x7fffe936
#13 0x00007ffff641eeed in clone () at ../sysdeps/
pulsecore/
Wily pre-release, pulseaudio 1:6.0-0ubuntu11.
apport hangs forever trying to gather details.
This bug also exists upstream now, and there's a patch to fix it at: http:// lists.freedeskt op.org/ archives/ pulseaudio- discuss/ 2015-September/ 024401. html