lastfm crashed with SIGFPE in AlsaAudio::alsaWrite()

Bug #188490 reported by Frank Quist
16
Affects Status Importance Assigned to Milestone
lastfm (Ubuntu)
Fix Released
Medium
Daniel Hahler

Bug Description

Binary package hint: lastfm

Bug occurs when trying to start playback of a station. This is since I'm on Hardy alpha I think, but I do recall the player working on Hardy once, just not sure.. no trouble with things like rhythmbox/flash/totem sound. The sound server selected for "Music and Movies" in Gnome's sound settings does not matter, although I need to try Alsa later since it reports the device's being used by another application (no idea which).

Command line output if generic audio device is selected in lastfm player's radio settings (soundsystem settings also only show the Alsa system):

ALSA lib pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
Floating point exception (core dumped)

Command line output if Nvidia card is selected:
Floating point exception (core dumped)

(no errors from ALSA)

cat /proc/asound/cards output:
 0 [NVidia ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe024000 irq 16

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Sun Feb 3 01:51:33 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/lastfm
NonfreeKernelModules: nvidia
Package: lastfm 1:1.4.1.57486.dfsg-1ubuntu1
PackageArchitecture: i386
ProcCmdline: /usr/bin/lastfm
ProcCwd: /home/frank
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=C
 SHELL=/bin/bash
Signal: 8
SourcePackage: lastfm
StacktraceTop:
 AlsaAudio::alsaWrite ()
 AlsaPlayback::processData ()
 ?? ()
 ?? ()
 ?? ()
Title: lastfm crashed with SIGFPE in AlsaAudio::alsaWrite()
Uname: Linux frank-hardy 2.6.24-5-generic #1 SMP Thu Jan 24 19:45:21 UTC 2008 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev scanner video

Tags: apport-crash
Revision history for this message
Frank Quist (frankquist) wrote :
Revision history for this message
Frank Quist (frankquist) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:AlsaAudio::alsaWrite (this=0x8229698, input=@0xb6633bf8) at alsaaudio.cpp:492
AlsaPlayback::processData (this=0x822ae90, buffer=@0xb6633bf8) at alsaplayback.cpp:174
AudioControllerThread::playLoop (this=0x82291f8) at AudioController.cpp:372
AudioControllerThread::event (this=0x82291f8, e=0x85797e0) at AudioController.cpp:249
AudioControllerEventHandler::event (this=0x8220ca8, e=0x85797e0) at AudioController.h:249

Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
Changed in lastfm:
importance: Undecided → Medium
Revision history for this message
John Stamp (jstamp) wrote : Re: [Bug 188490] lastfm crashed with SIGFPE in AlsaAudio::alsaWrite()

Hi. I can confirm this. I'm able to crash lastfm if something else is
already using the sound card.

The attached patch works for me. Would you mind trying it? You just
need to put it in the patch series after alsa-qdebug.diff.

If all goes well, I'll notify upstream.

Revision history for this message
John Stamp (jstamp) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

To get your fix included in Ubuntu, try transforming it into a debdiff (http://wiki.ubuntu.com/PackagingGuide/Recipes/Debdiff) and submitting it for review (http://wiki.ubuntu.com/SponsorshipProcess).

Revision history for this message
Daniel Holbach (dholbach) wrote :

Setting status to 'incomplete' for now.

Changed in lastfm:
status: New → Incomplete
Revision history for this message
John Stamp (jstamp) wrote : Re: [Bug 188490] Re: lastfm crashed with SIGFPE in AlsaAudio::alsaWrite()

I'll soon upload a fixed version to Debian and ping the bug report once
it makes it in the archive.

Revision history for this message
Viggo (viggo) wrote :

last.fm crashes when I start playing a song :(
Using ubuntu 8.04 alpha 4

Revision history for this message
John Stamp (jstamp) wrote :

lastfm 1:1.4.2.58240.dfsg-1 is now in Debian unstable. It should no longer
crash. The client will instead pop up a warning and refuse to play if it
cannot open the audio device. This, I think, was the intended behavior.

Changelog:
lastfm (1:1.4.2.58240.dfsg-1) unstable; urgency=low
  * New Upstream.
  * Build with libgpod-nogtk-dev.
  * Added patches:
    - check-soundcard-errors: Don't crash if another program is already using
      the audio device. See LP #188490 for the original report.

Revision history for this message
Daniel Hahler (blueyed) wrote :

Marking "Fix released", since there's 1.4.2.58240.dfsg-1ubuntu1 in Ubuntu Hardy currently.
Thank you.

Changed in lastfm:
assignee: nobody → blueyed
status: Incomplete → Fix Released
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.