Below is just a copy of the gdb trace I posted to mplayer-dev-eng. I have only tested the sample file on a 7400 PowerPC cpu, and no DLL:s are used, only libavcodec. No testing on x86 has been done. And yes, the sample does not crash 0.90rc5. / magnus Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /home/damm/build/mplayer/install/cvs//share/locale MPlayer dev-CVS-030623-08:19-3.2.3 (C) 2000-2003 Árpád Gereöffy (see DOCS) AltiVec found Reading config file /home/damm/build/mplayer/install/cvs//etc/mplayer/mplayer.conf: No such file or directory Reading config file /home/damm/.mplayer/config Reading /home/damm/.mplayer/codecs.conf: can't open '/home/damm/.mplayer/codecs.conf': No such file or directory Reading /home/damm/build/mplayer/install/cvs//etc/mplayer/codecs.conf: 58 audio & 149 video codecs CommandLine: '-v' '/home/damm/mplayer_sample-audio_0x161.wmv' get_path('font/font.desc') -> '/home/damm/.mplayer/font/font.desc' font: can't open file: /home/damm/.mplayer/font/font.desc font: can't open file: /home/damm/build/mplayer/install/cvs//share/mplayer/font/font.desc init_freetype Using Unoptimized OnScreenDisplay Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /dev/rtc should be readable by the user.) Using usleep() timing get_path('input.conf') -> '/home/damm/.mplayer/input.conf' Can't open input config file /home/damm/.mplayer/input.conf : No such file or directory Can't open input config file /home/damm/build/mplayer/install/cvs//etc/mplayer/input.conf : No such file or directory Falling back on default (hardcoded) input config get_path('mplayer_sample-audio_0x161.wmv.conf') -> '/home/damm/.mplayer/mplayer_sample-audio_0x161.wmv.conf' Playing /home/damm/mplayer_sample-audio_0x161.wmv Not an URL! [file] File size is 5242880 bytes STREAM: [file] /home/damm/mplayer_sample-audio_0x161.wmv STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) Checking for YUV4MPEG2 DEMUXER: freeing demuxer at 0x103733a0 ASF file format detected. Title: Walking Dead Author: MacGyver Copyright: Paramount Pictures Comment: encoded by pdxSurreal Rating: ASF: packets: 53155 flags: 2 max_packet_size: 1518 min_packet_size: 1518 max_bitrate: 576851 preroll: 3000 stream type: guid_audio_stream stream concealment: guid_audio_conceal_interleave type: 28 bytes, stream: 8 bytes ID: 1 unk1: 0 unk2: FCF6C8 FILEPOS=0x0 ==> Found audio stream: 1 ======= WAVE Format ======= Format Tag: 353 (0x161) Channels: 2 Samplerate: 44100 avg byte/sec: 8005 Block align: 1487 bits/sample: 16 cbSize: 10 Unknown extra header dump: [0] [88] [0] [0] [f] [0] [79] [2e] [0] [0] ASF: audio scrambling: 1 x 1 x 1487 stream type: guid_video_stream stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b type: 55 bytes, stream: 0 bytes ID: 2 unk1: 0 unk2: 27E060 FILEPOS=0x0 ==> Found video stream: 2 ======= VIDEO Format ====== biSize 44 biWidth 352 biHeight 240 biPlanes 1 biBitCount 24 biCompression 861293911='3VMW' biSizeImage 0 =========================== ============ ASF Stream group == START === object size = 38 stream count=[0x2][2] stream id=[0x1][1] max bitrate=[0x1021f][66079] stream id=[0x2][2] max bitrate=[0x7cb34][510772] ============ ASF Stream group == END === Found movie at 0xBDE - 0x4CF4468 ASF: 1 audio and 1 video streams found Invalid plen type! assuming plen=0 Auto-selected ASF video ID = 2 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 VIDEO: [3VMW] 352x240 24bpp ASF: Searching for audio stream (id:1). Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Auto-selected ASF audio ID = 1 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 Invalid plen type! assuming plen=0 [V] filefmt:6 fourcc:0x33564D57 size:352x240 fps:1000.00 ftime:=0.0010 Clip info: name: Walking Dead author: MacGyver copyright: Paramount Pictures comments: encoded by pdxSurreal get_path('sub/') -> '/home/damm/.mplayer/sub/' get_path('default.sub') -> '/home/damm/.mplayer/default.sub' ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders dec_audio: Allocating 131072 + 65536 = 196608 bytes for output buffer FFmpeg's libavcodec audio codec INFO: libavcodec init OK! [New Thread 16384 (LWP 22582)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 22582)] 0x101f1fd0 in wma_decode_block (s=0x1037c540) at wmadec.c:1037 1037 n = nb_coefs[ch]; #0 0x101f1fd0 in wma_decode_block (s=0x1037c540) at wmadec.c:1037 #1 0x101f1bec in wma_decode_block (s=0x1037c540) at wmadec.c:960 #2 0x101f25e8 in wma_decode_superframe (avctx=0x1, data=0x0, data_size=0x40, buf=0x17
, buf_size=272090432) at wmadec.c:1281 #3 0x10132164 in avcodec_decode_audio (avctx=0x800, samples=0xa10b6613, frame_size_ptr=0x0, buf=0x100c0
, buf_size=11) at utils.c:382 #4 0x1005b1b8 in decode_audio (sh_audio=0x103546d0, buf=0x301ad008 "", minlen=0, maxlen=65728) at ad_ffmpeg.c:141 #5 0x1005af88 in init (sh_audio=0x103546d0) at ad_ffmpeg.c:101 #6 0x10056fe0 in init_audio_codec (sh_audio=0x103546d0) at dec_audio.c:105 #7 0x100572e0 in init_audio (sh_audio=0x103546d0, codecname=0x17
, afm=0x103b8a10 "", status=272338320) at dec_audio.c:195 #8 0x100575b4 in init_best_audio_codec (sh_audio=0x103546d0, audio_codec_list=0x7fffe54c, audio_fm_list=0x0) at dec_audio.c:240 #9 0x1000e168 in main (argc=64, argv=0x1037c540) at mplayer.c:1594 #10 0x0f4d7d44 in __libc_start_main () from /lib/libc.so.6 Dump of assembler code from 0x101f1fb0 to 0x101f1ff0: 0x101f1fb0 : li r0,0 0x101f1fb4 : stw r0,0(r31) 0x101f1fb8 : addi r31,r31,4 0x101f1fbc : bdnz+ 0x101f1fb4 0x101f1fc0 : li r6,0 0x101f1fc4 : li r10,0 0x101f1fc8 : ori r6,r6,32864 0x101f1fcc : add r6,r6,r6 0x101f1fd0 : lwzx r29,r6,r1 0x101f1fd4 : cmpw r10,r29 0x101f1fd8 : bge- 0x101f2030 0x101f1fdc : lis r11,4128 0x101f1fe0 : mtctr r29 0x101f1fe4 : addi r11,r11,15392 0x101f1fe8 : lis r8,17200 0x101f1fec : lfd f12,0(r11) End of assembler dump. r0 0x0 0 r1 0x7fff6300 2147443456 r2 0xfc79240 264737344 r3 0x1 1 r4 0xa10b6613 -1593088493 r5 0x0 0 r6 0x100c0 65728 r7 0xb 11 r8 0xf65efb0 258338736 r9 0x1037c540 272090432 r10 0x0 0 r11 0xf661df0 258350576 r12 0x440884e2 1141408994 r13 0x102cc5e0 271369696 r14 0x0 0 r15 0x0 0 r16 0xfffffed1 -303 r17 0x1 1 r18 0x0 0 r19 0x0 0 r20 0x1037c540 272090432 r21 0x40 64 r22 0x1037c540 272090432 r23 0x103b8d90 272338320 r24 0x103b8a10 272337424 r25 0x17 23 r26 0x10380998 272107928 r27 0x0 0 r28 0x1037c990 272091536 r29 0x800 2048 r30 0x1037c540 272090432 r31 0x103829a0 272116128 f0 316.22775268554688 (raw 0x4073c3a4e0000000) f1 5.0118725475594577 (raw 0x40140c28512df3ca) f2 9.6767201638855285e-07 (raw 0x3eb03c1ea246ca1c) f3 6.0799999999999994e-05 (raw 0x3f0fe07017c01025) f4 2.3025850929939224 (raw 0x40026bb1bbb55400) f5 0.77387288333677695 (raw 0x3fe8c39110a62a70) f6 0.50000000000013811 (raw 0x3fe00000000004dc) f7 -6.0487951708552295e-13 (raw 0xbd65484534b516f1) f8 -3.4603942396891027e-09 (raw 0xbe2db97cc6ab5e04) f9 0.50000016127872948 (raw 0x3fe000005695fad4) f10 0.77387362913140334 (raw 0x3fe8c392a10b6613) f11 9.3638822518473269e-13 (raw 0x3d70791e1f190f0e) f12 0.77387362913140334 (raw 0x3fe8c392a10b6613) f13 -3.0605070125139135e-09 (raw 0xbe2a4a2047b7466e) f14 0 (raw 0x0000000000000000) f15 0 (raw 0x0000000000000000) f16 0 (raw 0x0000000000000000) f17 0 (raw 0x0000000000000000) f18 0 (raw 0x0000000000000000) f19 0 (raw 0x0000000000000000) f20 0 (raw 0x0000000000000000) f21 0 (raw 0x0000000000000000) f22 0 (raw 0x0000000000000000) f23 0 (raw 0x0000000000000000) f24 0 (raw 0x0000000000000000) f25 0 (raw 0x0000000000000000) f26 0 (raw 0x0000000000000000) f27 0.050000000000000003 (raw 0x3fa999999999999a) f28 0 (raw 0x0000000000000000) f29 0.0009765625 (raw 0x3f50000000000000) f30 0.0048944070003926754 (raw 0x3f740c2860000000) f31 1 (raw 0x3ff0000000000000) pc 0x101f1fd0 270475216 ps 0x200d032 33607730 cr 0x240884e2 604538082 lr 0x101f1bec 270474220 ctr 0x0 0 xer 0x20000000 536870912 fpscr 0x0 0 vr0 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr1 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr2 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr3 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr4 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr5 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr6 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr7 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr8 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr9 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr10 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr11 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr12 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr13 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr14 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr15 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr16 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr17 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr18 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr19 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr20 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr21 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr22 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr23 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr24 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr25 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr26 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr27 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr28 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr29 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr30 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr31 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vscr 0x0 0 vrsave 0xdfffffff -536870913 MPlayer interrupted by signal 1 in module: init_audio_codec - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. DEMUXER: freeing demuxer at 0x103733a0 DEMUXER: freeing sh_audio at 0x103546d0 DEMUXER: freeing sh_video at 0x10354778 vo: x11 uninit called but X11 not inited..