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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-21-2006, 09:34 AM
|
#1
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Rep:
|
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
|
|
|
05-22-2006, 07:33 PM
|
#2
|
Member
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 643
Rep:
|
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.
|
|
|
05-23-2006, 04:06 AM
|
#3
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Original Poster
Rep:
|
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
|
|
|
05-24-2006, 12:16 PM
|
#4
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Original Poster
Rep:
|
Yeah, a new copy of lame did the trick - thanks.
|
|
|
05-24-2006, 04:56 PM
|
#5
|
Member
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 643
Rep:
|
Were you able to build it into a package or did you need to build it into a package?
|
|
|
05-25-2006, 01:41 AM
|
#6
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Original Poster
Rep:
|
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 :-).
|
|
|
All times are GMT -5. The time now is 03:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|