Index | Thread | Search

From:
Walter Alejandro Iglesias <wai@roquesor.com>
Subject:
Re: mplayer crashes when quiting
To:
Landry Breuil <landry@openbsd.org>
Cc:
ports@openbsd.org
Date:
Mon, 10 Nov 2025 17:54:23 +0100

Download raw body.

Thread
On Mon, Nov 10, 2025 at 05:47:58PM +0100, Landry Breuil wrote:
> Le Mon, Nov 10, 2025 at 04:31:49PM +0100, Walter Alejandro Iglesias a écrit :
> > Another beginner question,
> > 
> > On Mon, Nov 10, 2025 at 12:45:55PM +0100, Landry Breuil 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.
> > 
> > I applied your patch and ran:
> > 
> >   $ make clean; make DEBUG='-g -O0' repackage; make reinstall
> > 
> > But I still get the same backtrace than above.
> 
> if you built the packages, it should have built a
> /usr/ports/packages/amd64/all/debug-mplayer-20240803p4.tgz package.
> install it with pkg_add -Dunsigned (along debug-ffmpeg), and you should
> get symbols in your backtrace.
> 

Now I got the same bt than in your example.  Thank you very much!


-- 
Walter