oggenc segmentation fault when profiled (compiled with -pg)
oggenc exits with segmentation fault when compiled with profile target (-pg). Resulting ogg file sounds OK, but gmon.out is not generated.
System is a playstation 3. [gdb@dog vorbis-tools-1.1.1]$ uname -a Linux dog.ccoast.com 2.6.16-20061110.ydl.2ps3 #1 (closed) SMP Tue Dec 5 12:35:42 EST 2006 ppc64 ppc64 ppc64 GNU/Linux
[gdb@dog oggTest]$ gdb --args oggenc -q 6 -o terminator.ogg terminator.wav GNU gdb Red Hat Linux (126.96.36.199-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 "ppc64-yellowdog-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) run Starting program: /usr/local/bin/oggenc -q 6 -o terminator.ogg terminator.wav Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0x100000 Opening with wav module: WAV file reader Encoding "terminator.wav" to "terminator.ogg" at quality 6.00 [ 80.1%] [ 0m00s remaining] /
Done encoding file "terminator.ogg"
File length: 0m 02.0s Elapsed time: 0m 00.1s Rate: 18.4565 Average bitrate: 39.4 kb/s
OggEnc v1.0.2 (c) 2000-2005 Michael Smith email@example.com
ERROR: No input files specified. Use -h for help.
Program received signal SIGSEGV, Segmentation fault. 0x0f68d38c in _getopt_internal_r () from /lib/libc.so.6 (gdb)