james@corydalis ~ $ gdb mplayer GNU gdb (Gentoo 12.1 vanilla) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from mplayer... Reading symbols from /usr/lib/debug//usr/bin/mplayer.debug... (gdb) run /tmp/sample.mp4 Starting program: /usr/bin/mplayer /tmp/sample.mp4 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". MPlayer 1.5-12 (C) 2000-2022 MPlayer Team Playing /tmp/sample.mp4. libavformat version 58.76.100 (external) libavformat file format detected. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffff79b3280]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol Program received signal SIGSEGV, Segmentation fault. decode_cpe (ac=ac@entry=0x5555558853e0, gb=gb@entry=0x7fffffffbba0, cpe=cpe@entry=0x5555558fa1b0) at src/libavcodec/aacdec_template.c:2300 2300 src/libavcodec/aacdec_template.c: No such file or directory. (gdb) bt #0 decode_cpe (ac=ac@entry=0x5555558853e0, gb=gb@entry=0x7fffffffbba0, cpe=cpe@entry=0x5555558fa1b0) at src/libavcodec/aacdec_template.c:2300 #1 0x00007ffff67a80d2 in aac_decode_frame_int (avctx=0x555555883790, data=0x555555884e20, got_frame_ptr=0x7fffffffbc40, gb=, avpkt=) at src/libavcodec/aacdec_template.c:3302 #2 0x00007ffff67a94d5 in aac_decode_frame (avctx=0x555555883790, data=0x555555884e20, got_frame_ptr=0x7fffffffbc40, avpkt=0x5555558852c0) at src/libavcodec/aacdec_template.c:3485 #3 0x00007ffff68b9c0f in decode_simple_internal (discarded_samples=, frame=0x555555884e20, avctx=0x555555883790) at src/libavcodec/decode.c:329 #4 decode_simple_receive_frame (frame=, avctx=) at src/libavcodec/decode.c:530 #5 decode_receive_frame_internal (avctx=avctx@entry=0x555555883790, frame=0x555555884e20) at src/libavcodec/decode.c:550 #6 0x00007ffff68ba6a0 in avcodec_send_packet (avctx=avctx@entry=0x555555883790, avpkt=avpkt@entry=0x7fffffffbd10) at src/libavcodec/decode.c:617 #7 0x00007ffff79116bb in try_decode_frame (s=s@entry=0x555555872210, st=st@entry=0x555555882e20, avpkt=avpkt@entry=0x55555589d6d0, options=) at src/libavformat/utils.c:3084 #8 0x00007ffff791b817 in avformat_find_stream_info (ic=0x555555872210, options=options@entry=0x0) at src/libavformat/utils.c:3949 #9 0x00005555556a064e in demux_open_lavf (demuxer=0x555555878910) at libmpdemux/demux_lavf.c:628 #10 0x0000555555627473 in demux_open_stream (stream=stream@entry=0x555555876870, file_format=44, file_format@entry=0, force=0, audio_id=-1, video_id=video_id@entry=-1, dvdsub_id=-1, filename=0x55555585b930 "/tmp/sample.mp4") at libmpdemux/demuxer.c:1120 #11 0x0000555555627dee in demux_open (vs=0x555555876870, file_format=0, audio_id=-1, video_id=-1, dvdsub_id=-1, filename=0x55555585b930 "/tmp/sample.mp4") at libmpdemux/demuxer.c:1294 #12 0x000055555558a771 in main (argc=, argv=) at mplayer.c:3383