LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-21-2006, 09:34 AM   #1
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Segmentation faults with Lame 3.96.1 -- help!


I'm trying to convert a WAV file to MP3 using the LAME encoder (version 3.96.1, which I believe to be the latest). Every time I try it, it segfaults. I've tried it with lots of different WAV files, so I know it's not the file that's causing it to fail. I've run it through gdb, below is the output.

I've tried googling for this, and have found a couple of other instances where people have got the same problem, but no suggestions as to what might be at fault.

I've also tried various different command-line arguments: none, --preset standard, --alt-preset standard etc, all to no avail.

Can anyone help?

Code:
GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) set args 01.wav 01.mp3
(gdb) run
Starting program: /usr/bin/lame 01.wav 01.mp3
Reading symbols from shared object read from target memory...(no debugging symbols found)...done.
Loaded system supplied DSO at 0xabb000
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
LAME version 3.96.1 (http://lame.sourceforge.net/)
CPU features: MMX (ASM used), 3DNow! (ASM used), SSE
Using polyphase lowpass filter, transition band: 17249 Hz - 17782 Hz
Encoding 01.wav to 01.mp3
Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=3
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
     0/7336   ( 0%)|    0:00/    0:00|    0:00/    0:00|   0.0000x|    0:00
Program received signal SIGSEGV, Segmentation fault.
0x0808e0f4 in ?? ()
Thanks in advance,
Regards
David Gee
 
Old 05-22-2006, 07:33 PM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 643
Blog Entries: 1

Rep: Reputation: 54
You might want to download the source code and compile the program on your system. If you go that route and the program is not a single instance standalone program, you might also want to build the result into an RPM that you can install and/or uninstall with your package manager.
 
Old 05-23-2006, 04:06 AM   #3
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by xode
You might want to download the source code and compile the program on your system. If you go that route and the program is not a single instance standalone program, you might also want to build the result into an RPM that you can install and/or uninstall with your package manager.
Thanks, xode, I'll give that a try.

Regards
David
 
Old 05-24-2006, 12:16 PM   #4
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Original Poster
Rep: Reputation: 30
Yeah, a new copy of lame did the trick - thanks.
 
Old 05-24-2006, 04:56 PM   #5
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 643
Blog Entries: 1

Rep: Reputation: 54
Were you able to build it into a package or did you need to build it into a package?
 
Old 05-25-2006, 01:41 AM   #6
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Original Poster
Rep: Reputation: 30
Actually, I just removed lame, and reinstalled the rpm off the Fedora download site. Not sure why it worked this time - maybe the original rpm was corrupted or something. Anyway, it works now :-).
 
  


Reply

Tags
lame, mp3, segfault, wav


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation faults winterhunter Linux - Software 5 10-14-2005 03:06 AM
Some help with segmentation faults? captainslushie Linux - Software 5 06-23-2005 02:59 PM
Segmentation Faults. Terroth Linux - Hardware 1 06-19-2005 05:16 AM
Segmentation Faults ryankask Mandriva 2 06-13-2005 07:10 PM
Segmentation Faults? floyd Linux - General 5 09-01-2003 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration