I'm experiencing random (they occur almost everytime, just not the same
place) crashes in one of my files:
GNU gdb 2002-04-01-cvs
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-linux"...(no debugging symbols found)...
(gdb) r sliders_3x03_electric_twister_acid_test\(end.missing\).avi
Starting program: /usr/bin/aviplay
sliders_3x03_electric_twister_acid_test\(end.missing\).avi
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 1024 (LWP 1244)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...
<Init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic
sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
<Init> : 1009.02 MHz AMD Athlon(tm) Processor processor detected
<LDT_Keeper> : Installed fs segment: 0x40015000
<aviplay> : Debug is on 0
<AVI reader> : Checking:
sliders_3x03_electric_twister_acid_test(end.missing).avi
<AVI reader> : AVIMainHeader: MicroSecPerFrame=66667 MaxBytesPerSec=0
PaddingGranularity=0 Flags=[ HAS_INDEX IS_INTERLEAVED ] TotalFrames=37232
InitialFrames=0 Streams=2 SuggestedBufferSize=0 WxH=320x240
Scale=0 Rate=0 Start=0 Length=0
<AVI reader> : AVIStreamHeader: FccType=vids FccHandler=div4 Flags=[ ]
InitialFrames=0 Scale=66667 Rate=1000000 Start=0 Length=37232
SuggestedBufferSize=17956 Quality=10000 SampleSize=0 Rect
l,r,t,b=0,320,0,240
<AVI reader> : AVIStreamHeader: FccType=auds FccHandler=0x0 Flags=[ ]
InitialFrames=1 Scale=1 Rate=4000 Start=0 Length=9928800
SuggestedBufferSize=1677 Quality=-1 SampleSize=1 Rect l,r,t,b=0,0,0,0
<AVI reader> : Reading index from 82572086
<AVI reader> : WARNING: Invalid index entry 69836 -- id: 1667510320
offset: 168450864 size: 168430090
<AVI reader> : Reconstructing index...
<AVI reader> : Stream 0: 0x73646976 (vids) : 0x34766964 (div4) 36260
chunks (566.56KB)
<AVI reader> : Cache: Adding stream, 36260 chunks
<AVI reader> : Stream 1: 0x73647561 (auds) : 0x55 (MPEG Layer-3) 33576
chunks (524.62KB)
<AVI reader> : Cache: Adding stream, 33576 chunks
<AVI reader> : Cache: Creating cache for file descriptor: 12
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...[New Thread 2049 (LWP 12
[New Thread 1026 (LWP 1246)]
<AVI reader> : Initialized video stream 0 (Chunk table size 36260,
format size 40)
<AVI reader> : Initialized audio stream 0 (Chunk table size 9671108,
format size 30)
<AVI reader> : Successfully opened
sliders_3x03_electric_twister_acid_test(end.missing).avi
<Codec keeper> : /usr/lib/avifile0.7/libxvid.so: found A: 0 V: 1 plugin
<Codec keeper> : /usr/lib/avifile0.7/libwin32.so: found A: 13 V: 46
plugins
<Codec keeper> : /usr/lib/avifile0.7/libvorbis_audio.so: found A: 1 V:
0 plugin
<Codec keeper> : /usr/lib/avifile0.7/libmpeg_audiodec.so: found A: 1
V: 0 plugin
<Codec keeper> : /usr/lib/avifile0.7/libmp3lamebin_audioenc.so: found
A: 1 V: 0 plugin
<Codec keeper> : /usr/lib/avifile0.7/libmjpeg.so: found A: 0 V: 1 plugin
<Codec keeper> : /usr/lib/avifile0.7/libmad_audiodec.so: found A: 1 V:
0 plugin
<Codec keeper> : /usr/lib/avifile0.7/libffmpeg.so: found A: 2 V: 6
plugins
<Codec keeper> : /usr/lib/avifile0.7/libdivx4.so: found A: 0 V: 2 plugins
<Codec keeper> : /usr/lib/avifile0.7/libaudiodec.so: found A: 5 V: 0
plugins
<Codec keeper> : /usr/lib/avifile0.7/libac3pass.so: found A: 1 V: 0
plugin
libavcodec: CPU flags: mmx mmxext 3dnow
FFVideoDecoder opened
<Codec keeper> : FFMPEG DivX ;-) video decoder created
<aviplay> : MAXAUTO -1
[New Thread 2051 (LWP 1247)]
<aviplay> : Video decoder thread lowered priority to 5
[New Thread 3076 (LWP 1248)]
[New Thread 4101 (LWP 1250)]
<renderer> : SDL Video driver: x11
<renderer> : Detected nVidia GLX driver
<renderer> : If you need to clear two lowes line set shell variable
AVIPLAY_NVIDIA_ENABLE
[New Thread 5126 (LWP 1252)]
<renderer> : Created surface: 320 x 240 32 bits
<renderer> : Creating YUV overlay 320x240, fourcc 0x32315659 (YV12)
<renderer> : XV attribute name: XV_DOUBLE_BUFFER flags: get set min:
0 max: 1
<renderer> : XV attribute name: XV_COLORKEY flags: get set min: 0
max: 16777215
<renderer> : XV attribute name: XV_AUTOPAINT_COLORKEY flags: get set
min: 0 max: 1
<renderer> : XV attribute name: XV_SET_DEFAULTS flags: set min: 0
max: 0
<renderer> : XV attribute name: XV_BRIGHTNESS flags: get set min:
-512 max: 511
<renderer> : XV attribute name: XV_CONTRAST flags: get set min: 0
max: 8191
<renderer> : XV attribute name: XV_SATURATION flags: get set min: 0
max: 8191
<renderer> : XV attribute name: XV_HUE flags: get set min: 0 max: 360
<renderer> : xv: port: 110
<renderer> : Loading subfont:
"-adobe-helvetica-medium-r-normal--*-160-100-100-p-*-iso8859-*"
<aviplay> : Trying audio renderers: SDL,OSS,noaudio
<AVI reader> : Stream MPEG header VBR:0 Layer:3 SampleRate:8000
Bitrate:32000 SamplesPerFrame:288 NumChannels:2
:1 Offset:40
<MP3 decoder> : Audio in MPEG Layer-1/2 format
<Codec keeper> : MPEG Layer-1,2,3 audio decoder created
<audio renderer> : src [wFormatTag=0x55, nChannels=2,
nSamplesPerSec=8000, nAvgBytesPerSec=4000, nBlockAlign=288, wBi
e=0, cbSize=12]
<audio renderer> : dst [wFormatTag=0x01, nChannels=2,
nSamplesPerSec=8000, nAvgBytesPerSec=32000, nBlockAlign=4, wBit
=16, cbSize=0]
[New Thread 6151 (LWP 1253)]
<Player> : Player started
<AVI reader> : w:320 h:-240 bpp:12 0x32315659 - 1:4 (0x8104258)
<AVI reader> : w:320 h:-240 bpp:12 0x32315659 - 2:4 (0x81465b8)
<AVI reader> : w:320 h:-240 bpp:12 0x32315659 - 3:4 (0x8146d18)
<AVI reader> : w:320 h:-240 bpp:12 0x32315659 - 4:4 (0x811ff58)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 4101 (LWP 1250)]
0x4139f055 in avm::Mpegtoraw::layer3fixtostereo () from
/usr/lib/avifile0.7/libmpeg_audiodec.so
(gdb) where
#0 0x4139f055 in avm::Mpegtoraw::layer3fixtostereo () from
/usr/lib/avifile0.7/libmpeg_audiodec.so
#1 0x413b9834 in bad_alloc virtual table () from
/usr/lib/avifile0.7/libmpeg_audiodec.so
Cannot access memory at address 0x272
(gdb) info thread
8 Thread 6151 (LWP 1253) 0x409b682e in select () from /lib/libc.so.6
7 Thread 5126 (LWP 1252) 0x4098cdf1 in nanosleep () from /lib/libc.so.6
* 6 Thread 4101 (LWP 1250) 0x4139f055 in
avm::Mpegtoraw::layer3fixtostereo () from
/usr/lib/avifile0.7/libmpeg_audiodec.so
5 Thread 3076 (LWP 1248) 0x409158ae in sigsuspend () from /lib/libc.so.6
4 Thread 2051 (LWP 1247) 0x4008ab36 in CImage::Convert () from
/usr/lib/libaviplay-0.7.so.0
3 Thread 1026 (LWP 1246) 0x409157b1 in kill () from /lib/libc.so.6
2 Thread 2049 (LWP 1245) 0x409b4bc0 in poll () from /lib/libc.so.6
1 Thread 1024 (LWP 1244) 0x409b682e in select () from /lib/libc.so.6
(gdb) thread apply all where
Thread 8 (Thread 6151 (LWP 1253)):
#0 0x409b682e in select () from /lib/libc.so.6
#1 0x4071296c in SDL_alarm_interval () from /usr/lib/libSDL-1.2.so.0
#2 0x406ca0a1 in SDL_RunAudio () from /usr/lib/libSDL-1.2.so.0
#3 0x4070a767 in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0
#4 0x4070a95e in SDL_KillThread () from /usr/lib/libSDL-1.2.so.0
#5 0x4085c0ba in pthread_start_thread () from /lib/libpthread.so.0
#6 0x4085c101 in pthread_start_thread_event () from /lib/libpthread.so.0
Thread 7 (Thread 5126 (LWP 1252)):
#0 0x4098cdf1 in nanosleep () from /lib/libc.so.6
#1 0x4085ecda in __pthread_timedsuspend_new () from /lib/libpthread.so.0
#2 0x4085b35b in pthread_cond_timedwait_relative () from
/lib/libpthread.so.0
#3 0x4085b4ec in pthread_cond_timedwait () from /lib/libpthread.so.0
#4 0x40086918 in avm::PthreadCond::Wait () from
/usr/lib/libaviplay-0.7.so.0
#5 0x40091959 in avm::GetPhysicalDepth () from /usr/lib/libaviplay-0.7.so.0
#6 0x4085c0ba in pthread_start_thread () from /lib/libpthread.so.0
#7 0x4085c101 in pthread_start_thread_event () from /lib/libpthread.so.0
Thread 6 (Thread 4101 (LWP 1250)):
#0 0x4139f055 in avm::Mpegtoraw::layer3fixtostereo () from
/usr/lib/avifile0.7/libmpeg_audiodec.so
#1 0x413b9834 in bad_alloc virtual table () from
/usr/lib/avifile0.7/libmpeg_audiodec.so
Cannot access memory at address 0x272
(gdb)
GF3 ti200
Linux cine 2.4.18 #3 man apr 22 10:32:19 CEST 2002 i686 unknown
ii xlibs
4.1.0-16 X Window System client
libraries
ii libsdl1.2debian
1.2.4-1 Simple DirectMedia Layer
NVIDIA driver 2880
--
Dennis
use Inline C => qq{void p(char*g){printf("Just Another %s Hacker\n",g);}};p("Perl");
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile