Hello,

I run stable.

I built a new amd64 4.3 machine yesterday, and installed sox and lame.

When I attempted convert a wav file to mp3 format, it dumped core.

# gdb `which sox` sox.core
GNU gdb 6.3
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 "amd64-unknown-openbsd4.3"...(no debugging
symbols found)

Core was generated by `sox'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libvorbisfile.so.5.0...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libvorbisfile.so.5.0
Reading symbols from /usr/local/lib/libvorbisenc.so.2.3...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libvorbisenc.so.2.3
Reading symbols from /usr/local/lib/libvorbis.so.6.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libvorbis.so.6.0
Reading symbols from /usr/local/lib/libogg.so.5.3...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libogg.so.5.3
Reading symbols from /usr/lib/libm.so.2.3...done.
Loaded symbols for /usr/lib/libm.so.2.3
Reading symbols from /usr/local/lib/libmad.so.2.1...done.
Loaded symbols for /usr/local/lib/libmad.so.2.1
Reading symbols from /usr/local/lib/libmp3lame.so.0.1...done.
Loaded symbols for /usr/local/lib/libmp3lame.so.0.1
Reading symbols from /usr/lib/libc.so.43.0...done.
Loaded symbols for /usr/lib/libc.so.43.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so

#0  0x00000000485580f4 in lame_encode_buffer_long2 () from
/usr/local/lib/libmp3lame.so.0.1
(gdb) backtrace
#0  0x00000000485580f4 in lame_encode_buffer_long2 () from
/usr/local/lib/libmp3lame.so.0.1
#1  0x000000000040f74b in st_mp3write ()
#2  0x000000000040682e in st_write ()
#3  0x0000000000404668 in flow_effect_out ()
#4  0x0000000000403b9a in process ()
#5  0x0000000000403329 in main ()
(gdb) quit

# pkg_info sox
Information for inst:sox-12.18.2-mp3-vorbis

<stuff deleted>

# pkg_info lame
Information for inst:lame-3.96.1p2-no_x11

Required by:
sox-12.18.2-mp3-vorbis

<stuff deleted>

I have an older machine running OpenBSD 4.1 on i386, with

# lame -v
LAME version 3.96.1 (http://lame.sourceforge.net/)
# sox -v
sox: option requires an argument -- v
sox: Version 12.18.2

And the 4.1/i386 version works fine.

Any ideas?

I am happy to include the short wav file if needed....

Reply via email to