Download raw body.
mplayer crashes when quiting
Le Mon, Nov 10, 2025 at 07:43:28PM +0100, Kirill A. Korinsky a écrit : > On Mon, 10 Nov 2025 12:45:55 +0100, > Landry Breuil <landry@openbsd.org> wrote: > > > > Le Mon, Nov 10, 2025 at 12:08:13PM +0100, Walter Alejandro Iglesias a écrit : > > > mplayer seems to play videos fine but when the program exits it prints > > > this message: > > > > > > MPlayer interrupted by signal 11 in module: uninit_acodec > > > - MPlayer crashed by bad usage of CPU/FPU/RAM. > > > Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and > > > disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash. > > > - 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 > > > > > > > > > Thread 1 received signal SIGSEGV, Segmentation fault. > > > 0x00000a9a6fa5b024 in av_freep () from /usr/local/lib/libavutil.so.17.0 > > > (gdb) bt > > > #0 0x00000a9a6fa5b024 in av_freep () from /usr/local/lib/libavutil.so.17.0 > > > #1 0x00000a984c4e1c04 in ?? () > > > #2 0x0000003000000018 in ?? () > > > #3 0x0000000000000000 in ?? () > > > (gdb) q > > > > can confirm the crash, better trace below, when compiled with the > > attached diff that disables striping. > > > > Program received signal SIGSEGV, Segmentation fault. > > 0x00000d1fd0fed024 in av_freep () from /usr/local/lib/libavutil.so.17.0 > > (gdb) bt > > #0 0x00000d1fd0fed024 in av_freep () from /usr/local/lib/libavutil.so.17.0 > > #1 0x00000d1d742a1c74 in uninit (sh=<optimized out>) at libmpcodecs/ad_ffmpeg.c:201 > > #2 0x00000d1d741d55b1 in uninit_audio (sh_audio=0xd1fd2bf3280) at libmpcodecs/dec_audio.c:326 > > #3 0x00000d1d7416f5fe in uninit_player (mask=7883) at mplayer.c:578 > > #4 0x00000d1d7416f9d7 in exit_player_with_rc (how=EXIT_QUIT, rc=0) at mplayer.c:708 > > #5 0x00000d1d741669ee in run_command (mpctx=0xd1d7430c1f8 <mpctx_s>, cmd=0xd1fd2bd9f00) at command.c:2773 > > #6 0x00000d1d74174555 in main (argc=2, argv=0x743d0318a5b8) at mplayer.c:3999 > > > > > > Thanks for the trace. May I ask you to try this diff? thanks, it seems to work fine here, no crash upon exit. i dunno much about this ffmpeg spaghetti, but my reading of https://bugzilla.mozilla.org/show_bug.cgi?id=1980802 seems to say that using avcodec_free_context() is the way to go.
mplayer crashes when quiting