I'm using Slackware 9.0 with gcc 3.2.2.

When I compiled lame, I got the following warning:
gain_analysis.c:206: warning: operation on `output' may be undefined

When I run lame:

[EMAIL PROTECTED]:~/music$ lame sanitarium_interpretation.wav
LAME version 3.95  (http://www.mp3dev.org/)
Using polyphase lowpass  filter, transition band: 17226 Hz - 17806 Hz
Encoding sanitarium_interpretation.wav to sanitarium_interpretation.wav.mp3
Encoding as 48 kHz 128 kbps j-stereo MPEG-1 Layer III (12x) qval=3
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
     0/12882  ( 0%)|    0:00/    0:00|    0:00/    0:00|   0.0000x|    0:00 
Segmentation fault (core dumped)
[EMAIL PROTECTED]:~/music$ gdb $(which lame) core
GNU gdb 5.3
Copyright 2002 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-slackware-linux"...
Core was generated by `lame sanitarium_interpretation.wav'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x08055c01 in filterYule (input=0x401b518c, output=0x80c7628, 
nSamples=1054,
    kernel=0x14d45e28) at gain_analysis.c:186
186             *output++ =  input [0]  * kernel[0]
(gdb) bt
#0  0x08055c01 in filterYule (input=0x401b518c, output=0x80c7628, 
nSamples=1054,
    kernel=0x14d45e28) at gain_analysis.c:186
#1  0x401b8fcc in ?? ()
Cannot access memory at address 0x41f
(gdb) up 1
#1  0x401b8fcc in ?? ()
(gdb) list
186             *output++ =  input [0]  * kernel[0]
187              - output[-1] * kernel[1]
188              + input [-1] * kernel[2]
189              - output[-2] * kernel[3]
190              + input [-2] * kernel[4]
191              - output[-3] * kernel[5]
192              + input [-3] * kernel[6]
193              - output[-4] * kernel[7]
194              + input [-4] * kernel[8]
195              - output[-5] * kernel[9]
(gdb)

Feel free to ask for more information.

Lyle
_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to