"Theo de Raadt" <dera...@openbsd.org> writes:

> I'm very confident we can make it through this last phase, in which case
> the next release will ship with xonly.  Otherwise, we'll slow the
> process down.  Not going to slow it down yet.  Thanks for participating
> in snapshots and helping us make a better world.

Thank you Theo for building this wonderful system which is (also in my
opinion) a step towards a better world!  I am very glad if I can be of
any help.


Stuart Henderson <s...@spacehopper.org> writes:

> Very unlikely to be the problem here, but don't use -U when you're
> updating packages, it's a shortcut for when you install a new package
> and need to get the immediate dependencies updated, but might leave
> other installed packages with a broken mixture of libraries. (i.e.
> speed hack but might not always give good results).
>
> The normal way to update all packages is just "pkg_add -u".

Okay, thank you for the explaination, I initially tried with pkg_add -u
But then I tried -Uu since I thought it was more "thorough", forcing
everything to update.

>>  (+) Video --vid=1 (*) 'Presented By EMBER' (hevc 1920x1080 23.976fps)
>>      Video --vid=2 [P] 'cover.jpg' (mjpeg)
>>  (+) Audio --aid=1 --alang=jpn (*) (aac 2ch 44100Hz)
>>  (+) Subs  --sid=1 --slang=eng (*) (ass)
>> File tags:
>>  Title: S01E05-More Than a Nosebleed, but Less Than a Kiss
>> Segmentation fault (core dumped) 
>
> https://www.openbsd.org/faq/ports/ports.html#Backtrace may give us some
> clues as to where the problem is.

Okay, so to expand, I think the problem seems to be at the level of the
codec code since not only mpv segfault, but vlc and mplayer... Even more
so, each time I try to play a video in my web browser (chromium-based),
the tab crashes as well.

So followed the FAQ that you linked, fortunately there was a debug-mpv
package in the ports, so I'll inline the little report I made with it.
I tried to play files with different video codecs (hevc and vp9) and
they both produce the following error:

This is the core after trying to play a video encoded in hevc:

$ egdb mpv mpv.core                                                             
                                                                                
         
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-unknown-openbsd7.2".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mpv...
Reading symbols from /usr/local/bin/.debug/mpv.dbg...
[New process 590111]
[New process 446975]
[New process 584337]
[New process 382906]
[New process 408449]
[New process 326071]
[New process 344625]
[New process 397508]
[New process 420988]
[New process 163934]
[New process 532396]
[New process 397225]
[New process 506725]
[New process 121303]
Core was generated by `mpv'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000bdcab34912c in ff_imdct_half_avx.pre () from 
/usr/local/lib/libavcodec.so.25.0
[Current thread is 1 (process 590111)]


This is the core after trying to play a video file encoded with vp9:

$ egdb mpv mpv.core                                                             
                                                                                
         
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-unknown-openbsd7.2".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mpv...
Reading symbols from /usr/local/bin/.debug/mpv.dbg...
[New process 308636]
[New process 541784]
[New process 386401]
[New process 613862]
[New process 228375]
[New process 431048]
[New process 603834]
[New process 336689]
[New process 448521]
[New process 384831]
[New process 574102]
[New process 487739]
[New process 449578]
[New process 325483]
Core was generated by `mpv'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000099a1ac9ff51 in ff_fft_calc_sse () from 
/usr/local/lib/libavcodec.so.25.0
[Current thread is 1 (process 308636)]

Cheers,
-- 
nature

Reply via email to