pulseaudio crashed with SIGFPE in pa_mcalign_csize()

Bug #412224 reported by Florent Mertens
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Fix Released
Daniel T Chen

Bug Description

Binary package hint: pulseaudio

It crashed while selecting different sound in the 'sound alert' tab of the sound preference capplet.

ProblemType: Crash
Architecture: i386
 /dev/snd/controlC0: flo 6962 F.... alsamixer
                      flo 7302 F.... pulseaudio
 /dev/snd/pcmC0D0c: flo 7302 F...m pulseaudio
 Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with STAC9750,51 at irq 5'
   Mixer name : 'SigmaTel STAC9750,51'
   Components : 'AC97a:83847650'
   Controls : 38
   Simple ctrls : 24
CrashCounter: 1
Date: Wed Aug 12 00:44:51 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/pulseaudio
Package: pulseaudio 1:0.9.16~test4-0ubuntu4
ProcCmdline: pulseaudio
 PATH=(custom, user)
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
Signal: 8
SourcePackage: pulseaudio
 pa_mcalign_csize () from /usr/lib/libpulsecommon-0.9.16.so
 pa_sink_input_peek () from /usr/lib/libpulsecore-0.9.16.so
 ?? () from /usr/lib/libpulsecore-0.9.16.so
 pa_sink_render_into () from /usr/lib/libpulsecore-0.9.16.so
 pa_sink_render_into_full ()
Title: pulseaudio crashed with SIGFPE in pa_mcalign_csize()
Uname: Linux 2.6.31-5-generic i686
UserGroups: adm admin audio cdrom dialout dip fax fuse lpadmin netdev plugdev sambashare scanner tape video

Revision history for this message
Florent Mertens (givre) wrote :
Florent Mertens (givre)
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:pa_mcalign_csize (m=0x8f00350, l=1788) at pulsecore/mcalign.c:209
pa_sink_input_peek (i=0x8f00350, slength=1788,
fill_mix_info (s=<value optimized out>,
pa_sink_render_into (s=0x8ecf230, target=0xb3f2e1f4)
pa_sink_render_into_full (s=0x8ecf230, target=0xb3f2e2bc)

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in pulseaudio (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Jeremy Nickurak (nickurak) wrote :

Just got this one with pulseaudio 1:0.9.17-0ubuntu1:

(gdb) bt
#0 pa_mcalign_csize (m=Cannot access memory at address 0xb7ebd090
) at pulsecore/mcalign.c:209
#1 0x0039106e in sink_input_process_msg (o=Cannot access memory at address 0xb7ebd088
    at pulsecore/protocol-native.c:1352
#2 0x009bc21e in pa_asyncmsgq_dispatch (object=0x0, code=Cannot access memory at address 0xb7ebd0f8
    at pulsecore/asyncmsgq.c:324
#3 0x009e0a5b in asyncmsgq_read_work (i=Cannot access memory at address 0xb7ebd120
) at pulsecore/rtpoll.c:554
#4 0x009e1b53 in pa_rtpoll_run (p=Cannot access memory at address 0xb7ebd1b0
) at pulsecore/rtpoll.c:236
#5 0x003b7045 in thread_func (userdata=Cannot access memory at address 0xb7ebd238
) at modules/alsa/alsa-sink.c:1430
#6 0x0014bad2 in internal_thread_func (userdata=Cannot access memory at address 0xb7ebd300
    at pulsecore/thread-posix.c:72
#7 0x00dd9680 in start_thread () from /lib/libpthread.so.0
#8 0x00bb5b6e in clone () from /lib/libc.so.6

Revision history for this message
Jeremy Nickurak (nickurak) wrote :

Mine seems especially easy to reproduce -- just running "paplay <some wav file> &" repeatedly.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Please try the ubuntu-audio-dev PPA version when it's available.

Changed in pulseaudio (Ubuntu):
assignee: nobody → Daniel T Chen (crimsun)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 1:0.9.17-0ubuntu2

pulseaudio (1:0.9.17-0ubuntu2) karmic; urgency=low

  * debian/patches/:
    + 0051-fix-sigfpe-mcalign.patch: Handle div by zero attempts
      (LP: #412224)
    + 0052-backport-56b6e18030.patch: Backport fixes from git HEAD
    + 0053-fix-output-element.patch: Fix misspelling of Surround
    + 0054-mute-iec958-optical-raw-for-audigyX.patch: Mute
      IEC958 Optical Raw by default (LP: #400629, #408370)

 -- Daniel T Chen <email address hidden> Thu, 17 Sep 2009 19:57:15 -0400

Changed in pulseaudio (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers