Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14398 - Audacity-1.0.0-r2 segfaults when converting .wav to mp3 with Lame-3.93.1
Summary: Audacity-1.0.0-r2 segfaults when converting .wav to mp3 with Lame-3.93.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-22 18:16 UTC by Decibels
Modified: 2003-01-31 12:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Decibels 2003-01-22 18:16:24 UTC
Audacity works fine with the Wave file and recording (well, as it normally does).
Saved the file as Wave and then tried to save as MP3 and it segfaulted.
Also it doesn't give any other information, even when used with strace.

Another interesting thing is that every time I tried it it ask if "Would you
like to locate libmp3lame.so now?"  Even though I set it up in Preferences.

Still segfaults though even when supply it with the lib file. Tried remerging
Lame and still did it every time.

I was able to use Lame by itself to convert the wave to mp3. So it isn't a
permission deal cause was doing everything as User and Lame converted perfectly
as User.

Lame results by itself:

lame -h File1.wav File1.mp3
LAME version 3.93 MMX  (http://www.mp3dev.org/)
CPU features: i387, MMX (ASM used), 3DNow! (ASM used)
Using polyphase lowpass  filter, transition band: 15115 Hz - 15648 Hz
Encoding File1.wav to File1.mp3
Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=2
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
 65527/65530 (100%)|    3:10/    3:10|    3:43/    3:43|   8.9954x|    0:00
average: 128.0 kbps   LR: 1 (0.001526%)   MS: 65529 (100.0%)

Writing LAME Tag...done
Comment 1 Nick Hadaway 2003-01-28 06:44:28 UTC
does audacity-1.1.1 have this same problem?  There is even a patch
included in the ebuild for a problem doing mono mp3 exports...
Comment 2 Decibels 2003-01-28 08:37:55 UTC
Not sure it won't compile.

First it had to have a lot of new packages:
Calculating dependencies ...done!
[ebuild    U ] media-libs/svgalib-1.9.17-r1 [1.4.3-r4]
[ebuild    U ] media-libs/libpng-1.2.5-r4 [1.2.5-r3]
[ebuild    U ] media-libs/netpbm-10.11.4 [9.12-r4]
[ebuild    U ] x11-base/opengl-update-1.5 [1.4]
[ebuild    U ] media-video/nvidia-kernel-1.0.4191-r1 [1.0.3123-r2]
[ebuild    U ] media-video/nvidia-glx-1.0.4191 [1.0.3123]
[ebuild    U ] x11-libs/wxGTK-2.4.0 [2.2.9-r1]
[ebuild    U ] media-libs/id3lib-3.8.2 [3.8.0]
[ebuild    U ] media-sound/audacity-1.1.1 [1.0.0-r2]

Then everything finishes, but Audacity fails with:

AStatus.cpp:266: ambiguous overload for `wxString& != const char[1]' operator
/usr/include/wx/string.h:1182: candidates are: bool operator!=(const wxString&,
   const wxString&) <near match>
/usr/include/wx/string.h:1186:                 bool operator!=(const wxChar*,
   const wxString&) <near match>
/usr/include/wx/string.h:1215:                 bool operator!=(wchar_t, const
   wxString&) <near match>
/usr/include/wx/string.h:1216:                 bool operator!=(const wxString&,
   wchar_t) <near match>
/usr/include/wx/string.h:1224:                 bool operator!=(const wxString&,
   const wxWCharBuffer&) <near match>
/usr/include/wx/longlong.h:919:                 bool operator!=(long int, const
   wxLongLong&) <near match>
/usr/include/wx/longlong.h:932:                 bool operator!=(long unsigned
   int, const wxULongLong&) <near match>
make[1]: *** [obj/AStatus.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/audacity-1.1.1/work/audacity-src-1.1.1/src'
make: *** [audacity] Error 2

!!! ERROR: media-sound/audacity-1.1.1 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)

Going to try and try audacity-1.1.0.ebuild, which is going to only do one other
thing: put wxGTK back to original (2.2.9-r1). 

Well, that didn't work either. I got this error now:

gtk-2.2 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_REENTRANT 
effects/ladspa/LoadLadspa.cpp -o obj/effects/ladspa/LoadLadspa.o
Assembler messages:
FATAL: can't create obj/effects/ladspa/LoadLadspa.o: No such file or directory

cc1plus:

Broken

pipe:

error

writing

to

-
make[1]: *** [obj/effects/ladspa/LoadLadspa.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/audacity-1.1.0/work/audacity-src-1.1.0/src'
make: *** [audacity] Error 2

!!! ERROR: media-sound/audacity-1.1.0 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)

Going to try and put the Audacity I had back before testing this. Hopefully the
rest of the system isn't borked.
Comment 3 Decibels 2003-01-28 08:58:52 UTC
Okay, got 1.0.0-r2 back, and works just the same. Seems like system okay.
Comment 4 Nick Hadaway 2003-01-30 20:03:36 UTC
audacity-1.1.1-r1 which is now in portage exports mp3s to wav with the latest lame marvelously.
Comment 5 Decibels 2003-01-31 12:44:17 UTC
I confirm. Didn't finish building the mp3 at this time. But it did do it and it did remember next time started Audacity that it had found the libmp3lame.so.

So FIXED. Thanks!