LAME MP3 Encoder Segmentation Faults

This happened on one of my Ubuntu machines where I got some kind of segfault on line 21 from LAME at random while encoding MP3s (a second try is fine usually).  I've read that it's best to compile it from source and that has solved most issues for people.

 

Here is my preferred configure line:

 

 ./configure --enable-mp3x --with-fileio=lame --enable-debug --with-vorbis

Even with that I got a different error this time:

line 33: 22793 Floating point exceptionlame $lameoptions "$dest_dir"/$track.wav

 

lame: vbrquantize.c:183: k_34_4: Assertion `x[0] <= 8206 && x[1] <= 8206 && x[2] <= 8206 && x[3] <= 8206' failed.
/root/mp3rip.sh: line 33: 24594 Aborted                 lame $lameoptions "$dest_dir"/$track.wav


Tags:

mp, encoder, segmentation, faultsthis, ubuntu, segfault, encoding, ve, compile, preferred, configure, enable, fileio, debug, vorbis, exceptionlame, lameoptions, quot, dest_dir, wav, vbrquantize, k_, _, assertion, sh, aborted,

Latest Articles

  • FreePBX 17 How To Add a Trunk
  • Docker Container Onboot Policy - How to make sure a container is always running
  • FreePBX 17 How To Add Phones / Extensions and Register
  • Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. solution
  • Cisco How To Use a Third Party SIP Phone (eg. Avaya, 3CX)
  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX 17 in Linux Debian Ubuntu Mint Guide
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer
  • Cisco CME How To Configure SIP Trunk VOIP
  • Virtualbox host Only Network Error Failed to save host network interface parameter - Cannot change gateway IP of host only network
  • Cisco CME and C7200 Router Testing and Learning Environment on Ubuntu 20+ Setup Tutorial Guide
  • Abusive IP ranges blacklist