[Vorbis-dev] Segfault in vorbis_book_decodevv_add

Maxime Guillaud maxime at mguillaud.net
Wed Dec 1 23:51:28 PST 2004


Maxime Guillaud wrote:
> Thanks for your input, I'll keep you updated.

well... the problem is still there !
Remember that I'm now using libvorbis 1.1.0.
I attach the output of the gdb backtrace, which shows line numbers now.

I still haven't gotten around to capture a stream that triggers the 
fault, but will work on it. Let me know if you need anything else...
Maxime

-- 
Maxime Guillaud  -  maxime at mguillaud.net
-------------- next part --------------
[maxime at moriarty ~]$ gdb ogg123
GNU gdb 6.1.1 [FreeBSD]
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 "i386-marcel-freebsd"...(no debugging symbols found)...
(gdb) run http://62.93.224.180:15000/radio404.ogg
Starting program: /usr/local/bin/ogg123 http://62.93.224.180:15000/radio404.ogg

Audio Device:   OSS audio driver output 

                                                                    
Playing: http://62.93.224.180:15000/radio404.ogg


[...snip normal ogg123 output...]


Ogg Vorbis stream: 2 channel, 44100 Hz
Encoder: stream404
Artist: Sons Of The Desert
Title: Greedy As I Get
Time: 02:09.39  ( 68.2 kbps)  Input Buffer  83.6%   Output Buffer  96.9%  
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 100116)]
0x280a7eea in decode_packed_entry_number (book=0x80c9bc8, b=0x80ae248) at codebook.c:345
345     codebook.c: No such file or directory.
        in codebook.c
(gdb) bt 
#0  0x280a7eea in decode_packed_entry_number (book=0x80c9bc8, b=0x80ae248) at codebook.c:345
#1  0x280a8520 in vorbis_book_decodevv_add (book=0x80c9bc8, a=0xbfbfe5a0, offset=256, ch=2, b=0x80ae248, n=32) at codebook.c:460
#2  0x280a584a in res2_inverse (vb=0x80ae244, vl=0x8066580, in=0xbfbfe5a0, nonzero=0xbfbfe580, ch=2) at res0.c:862
#3  0x280a6fda in mapping0_inverse (vb=0x80ae244, l=0x80c7000) at mapping0.c:783
#4  0x28099e69 in vorbis_synthesis (vb=0x80ae244, op=0xbfbfe6b0) at synthesis.c:76
#5  0x2808694c in _fetch_and_process_packet (vf=0x80ae000, op_in=0x0, readp=1, spanp=1) at vorbisfile.c:484
#6  0x280893f3 in ov_read (vf=0x80ae000, 
    buffer=0x8059418 "x\031x\030³\030¡\027Ò\027¤\026»\025W\024\027\023\\\021É\020\225\0160\020j\r½\017V\f\024\r\b\tv\nÈ\005Ý\t\235\004\237\bç\002ä\004Óþ]\001\bû+\001\225ú®\002Äû\036\002Åú6", length=1032, bigendianp=0, word=2, sgned=1, bitstream=0x80ae2c8)
    at vorbisfile.c:1545
#7  0x080504ae in ?? ()
#8  0x080ae000 in ?? ()
#9  0x08059418 in environ ()
#10 0x00000408 in ?? ()
#11 0x00000000 in ?? ()
#12 0x00000002 in ?? ()
#13 0x00000001 in ?? ()
#14 0x080ae2c8 in ?? ()
#15 0x0806b000 in ?? ()
#16 0x00001000 in ?? ()
#17 0x00001000 in ?? ()
#18 0x00000009 in ?? ()
#19 0x00000bf8 in ?? ()
#20 0x00000bf8 in ?? ()
#21 0xbfbfe818 in ?? ()
#22 0x080ae000 in ?? ()
#23 0x00000002 in ?? ()
#24 0xbfbfe804 in ?? ()
#25 0x080587d0 in __isthreaded ()
#26 0xbfbfe838 in ?? ()
#27 0x0804ff0e in ?? ()
#28 0x08066280 in ?? ()
#29 0x08059418 in environ ()
#30 0x00000408 in ?? ()
#31 0xbfbfe7e4 in ?? ()
#32 0xbfbfe7f0 in ?? ()
#33 0x08058820 in environ ()
#34 0x00001000 in ?? ()
#35 0x08066280 in ?? ()
#36 0x127f0c7f in ?? ()
#37 0x000024e8 in ?? ()
#38 0x00000000 in ?? ()
#39 0x00000000 in ?? ()
#40 0x00001000 in ?? ()
#41 0x00000000 in ?? ()
#42 0x00000000 in ?? ()
#43 0x080dacc0 in ?? ()
#44 0x00000000 in ?? ()
#45 0x00000002 in ?? ()
#46 0x00000001 in ?? ()
#47 0x0000ac44 in ?? ()
#48 0x00000002 in ?? ()
#49 0x00000000 in ?? ()
#50 0x00000002 in ?? ()
#51 0xbfbfe950 in ?? ()
#52 0x0804f2a8 in ?? ()
#53 0x0806b000 in ?? ()
#54 0x0804cf90 in ?? ()
#55 0x0804d0fc in ?? ()
#56 0x08066280 in ?? ()
#57 0x0805c3c0 in ?? ()
#58 0x08058248 in __progname ()
#59 0x080581a0 in __progname ()
#60 0xbfbfe950 in ?? ()
#61 0xbfbfe95c in ?? ()
#62 0xbfbfe908 in ?? ()
#63 0x0804fb89 in ?? ()
#64 0x08066100 in ?? ()
#65 0x0804f2a8 in ?? ()
#66 0x08059820 in environ ()
#67 0x08058200 in __progname ()
#68 0x2834c460 in __isthreaded () from /lib/libc.so.5
#69 0x2827199c in ?? () from /usr/lib/libpthread.so.1
#70 0xbfbfe898 in ?? ()
#71 0x282640dc in pthread_mutex_unlock () from /usr/lib/libpthread.so.1
Previous frame inner to this frame (corrupt stack?)
(gdb) 


More information about the Vorbis-dev mailing list