pulseaudio crashed with SIGFPE in pa_mcalign_csize()

Bug #412224 reported by Florent Mertens on 2009-08-11
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Medium
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
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: flo 6962 F.... alsamixer
                      flo 7302 F.... pulseaudio
 /dev/snd/pcmC0D0c: flo 7302 F...m pulseaudio
Card0.Amixer.info:
 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
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 LANGUAGE=fr_FR.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
Signal: 8
SourcePackage: pulseaudio
StacktraceTop:
 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

Florent Mertens (givre) wrote :
Florent Mertens (givre) on 2009-08-11
visibility: private → public

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)

Changed in pulseaudio (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
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

Jeremy Nickurak (nickurak) wrote :

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

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
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
      (56b6e18030b5a467946bd0a5803ec119efccdc8a)
    + 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.