hi,

I get this segfault whenever I try to encode with lame 3.91:

Current directory is /home/felix/src/lame-3.91/frontend/
GNU gdb 19990928
Copyright 1998 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 "i686-pc-linux-gnu"...
(gdb)  set args ~/music/eigene/test.wav
(gdb) r
Starting program: /home/felix/src/lame-3.91/frontend/lame ~/music/eigene/test.wav
LAME version 3.91  (http://www.mp3dev.org/)
Resampling:  input 44.101 kHz  output 44.1 kHz
Using polyphase lowpass  filter, transition band: 15115 Hz - 15648 Hz
Encoding /home/felix/music/eigene/test.wav
      to /home/felix/music/eigene/test.wav.mp3
Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=5
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA 
     0/65     ( 0%)|    0:00/    0:00|    0:00/    0:00|   0.0000x|    0:00 0 0 404 404
<906> 30 30 388 404
<454> 162 162 290 398
<728> 491 491 2 398
<497> 677 389 142 398
<680> 528 528 2 394
<531> 43 43 376 400
<778> 434 434 86 394
<544> 7 7 394 398
<797> 819 531 2 394
<535> 25 25 382 398
<722> 536 536 0 396
<536> 6 6 392 396
<782> 85 85 342 398
<550> 197 197 268 396
<719> 25 25 382 398
<579> 12 12 388 396
<751> 84 84 340 396
<555> 7 7 392 396
<723> 468 468 2 394
<477> 0 0 398 398
<791> 62 62 358 398
<554> 6 6 396 400
<728> 823 535 2 398
<539> 61 61 362 398
<782> 534 534 2 394
<538> 14 14 390 398
<752> 562 562 2 398
<562> 96 96 334 398
<755> 6 6 394 398
<527> 80 80 350 398
<799> 432 432 86 398
<539> 7 7 392 396
<859> 5 5 392 396
<645> 6 6 396 400
<843> 118 118 318 398
<605> 6 6 396 400
<938> 11 11 388 396
<632> 6 6 394 398
<877> 27 27 380 396
<666> 7 7 392 396
<832> 11 11 388 396
<614> 6 6 396 400
<900> 5 5 396 400
<663> 7 7 396 400
<913> 36 36 374 398
<651> 6 6 396 400
<844> 26 26 382 398
<662> 7 7 394 398
<891> 5 5 396 400
<648> 6 6 392 396
<891> 6 6 394 398
<660> 16 16 390 398
<885> 42 42 374 398
<630> 6 6 396 400
<862> 20 20 386 398
<631> 6 6 396 400
<873> 12 12 390 398
<677> 6 6 396 400
<902> 460 460 84 396
<570> 5 5 396 400
<932> 6 6 390 394
<672> 14 14 388 396
<824> 261 261 230 398
<617> 6 6 396 400
<949> 5 5 392 396
<642> 0 0 398 398
<904> 7 7 394 398
<648> 0 0 398 398
<888> 18 18 382 394
<609> 22 22 386 398
<897> 39 39 374 398
<668> 
Program received signal SIGSEGV, Segmentation fault.
0x8063137 in fill_buffer_resample (gfp=0x81216c8, outbuf=0x40158a54, 
    desired_len=1152, inbuf=0x8126ce0, len=1152, num_used=0xbfff8834, ch=0)
    at util.c:662
(gdb) bt
#0  0x8063137 in fill_buffer_resample (gfp=0x81216c8, outbuf=0x40158a54, 
    desired_len=1152, inbuf=0x8126ce0, len=1152, num_used=0xbfff8834, ch=0)
    at util.c:662
#1  0x8062a83 in fill_buffer (gfp=0x81216c8, mfbuf=0xbfff883c, 
    in_buffer=0xbfff8844, nsamples=1152, n_in=0xbfff8834, n_out=0xbfff8838)
    at util.c:531
#2  0x805c1fe in lame_encode_buffer_sample_t (gfp=0x81216c8, 
    buffer_l=0x8126ce0, buffer_r=0x8127ee8, nsamples=1152, 
    mp3buf=0xbfffad0c 
"\016�渼\227\213%'�\f�\e�^Ѱ����Nc\032\203'��˵jm]\006ܤ��CKjN[L�\232O�\004��l\035\237�2�\231\034|��9��\037\037�p��4ソ\034�l�u\221����\222d�\017�cC\001�3rPLH\200\004cn\016!\217\016\006\230��D1b",
 mp3buf_size=16384)
    at lame.c:1491
#3  0x805c5e7 in lame_encode_buffer_int (gfp=0x81216c8, buffer_l=0xbfff890c, 
    buffer_r=0xbfff9b0c, nsamples=1152, 
    mp3buf=0xbfffad0c 
"\016�渼\227\213%'�\f�\e�^Ѱ����Nc\032\203'��˵jm]\006ܤ��CKjN[L�\232O�\004��l\035\237�2�\231\034|��9��\037\037�p��4ソ\034�l�u\221����\222d�\017�cC\001�3rPLH\200\004cn\016!\217\016\006\230��D1b",
 mp3buf_size=16384)
    at lame.c:1651
#4  0x8049cf2 in lame_encoder (gf=0x81216c8, outf=0x81218a0, nogap=0, 
    inPath=0xbffff0a4 "/home/felix/music/eigene/test.wav", 
    outPath=0xbffff874 "/home/felix/music/eigene/test.wav.mp3") at main.c:416
#5  0x804a45b in main (argc=2, argv=0xbffffcc4) at main.c:745
(gdb) 

thanks,

-- 
Felix Natter

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

Reply via email to