flac crashed with SIGFPE

Bug #1219087 reported by AO
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
flac (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

On 13.10 amd64, when using Rubyripper, Rubyripper returns a successful rip to a single flac file, the wav file is correctly being generated during the process, but flac crashes during the conversion step and produces a 172 ko file.

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: flac 1.3.0-1
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic x86_64
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
CrashCounter: 1
Date: Fri Aug 30 17:00:06 2013
ExecutablePath: /usr/bin/flac
MarkForUpload: True
ProcCmdline: flac -o /home/username/flac/Stereolab\ (2006)\ Fab\ Four\ Suture/Stereolab\ -\ Fab\ Four\ Suture\ (2006).flac --best -V --tag ARTIST=Stereolab --tag ALBUM=Fab\ Four\ Suture --tag GENRE=Indie\ Rock --tag DATE=2006 --tag ENCODER=Rubyripper\ 0.7.0a1 --tag DISCID=8e0c220c --tag TRACKTOTAL=12 --cuesheet=/home/username/flac/Stereolab\ (2006)\ Fab\ Four\ Suture/Stereolab\ -\ Fab\ Four\ Suture\ (flac).cue /home/username/flac/temp_cdrom/image_1.wav
Signal: 8
SourcePackage: flac
StacktraceTop:
 ?? ()
 ?? ()
 ?? () from /usr/lib/x86_64-linux-gnu/libFLAC.so.8
 ?? () from /usr/lib/x86_64-linux-gnu/libFLAC.so.8
 ?? () from /usr/lib/x86_64-linux-gnu/libFLAC.so.8
Title: flac crashed with SIGFPE
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers

Revision history for this message
AO (aofrl10n) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceTop.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in flac (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in flac (Ubuntu):
status: New → Confirmed
Revision history for this message
Marcel Fuhrmann (marcel-fuhrmann) wrote :

Importance: Medium...
If you want to archive your CDs with flac it's important. :-)

Is there a workaround?

Revision history for this message
Cosmik Debris (cosmik-debris) wrote :

Workaround: add --silent to the default flac options:

For example:
   --best -V --silent

Without the --silent option, the same flac command runs fine when run from a terminal. Notice that it also displays a progress indicator.
Somehow, this progress indicator seems to cause a floating point exception when Ruby executes the flac command by calling:
       PTY.spawn(command) do |stdin, stdout, pid|

This worked fine in Ubuntu 13.04, though.

Revision history for this message
sokolov (daniel-sokolov) wrote :

I can confirm this bug for Ubuntu 14.04 Trusty when using ripperX to encode with flac.

I have tried adding "silent" to the options in ripperX. The result was that no crash was reported, but the flac-files were still too small and only contained a few seconds of sound each. Same result when I added "--best -V --silent"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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