Re: mplayer and mpv both crash with jack from libswresample.so.3?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Roger <gurusonic@xxxxxxxxx> [2023-04-05 01:40]:
[...]
> I can't help you with your problem but can say I don't have the problem
> here.
> 
> $ apt list -i libswresample3
> 
> libswresample3/stable,stable-security,now 7:4.3.5-0+deb11u1 amd64
> [installed,automatic]
Fine, the same version I am running.
 
> Playing 2 files I just ripped from vinyl and restored in iZotope RX in
> Windows, one 24/96, the other 24/44.1 :
> 
> $ mpv --ao=jack *.wav
> Playing: Blue Monday-24-96 RX-fin-dithered.wav
>  (+) Audio --aid=1 (pcm_s24le 2ch 96000Hz)
> AO: [jack] 48000Hz stereo 2ch floatp
> A: 00:07:35 / 00:07:36 (99%) Cache: 0.0s
> 
> Playing: The Beach (12inch single)24-44.1-dithered.wav
>  (+) Audio --aid=1 (pcm_s24le 2ch 44100Hz)
> AO: [jack] 48000Hz stereo 2ch floatp
> A: 00:03:36 / 00:07:24 (48%) Cache: 227s/64MB

Ok, ran more tests:

mplayer crashing over jackd running 44.1kHz with a 48kHz wav file.
or
mplayer crashing over jackd running 48kHz with a 44.1kHz wav file,
posting in verbose -v mode:
Building audio filter chain for 44100Hz/1ch/s16le -> 48000Hz/2ch/floatle...
[libaf] Adding filter lavcresample 
[SWR @ 0x7f64bde4a9a0]Using s16p internally between filters

So mplayer crashes when resampling different rates but not bitdepths.

mpv in turn segfaults over jackd running 44.1kHz or 48kHz with both, a 48kHz and
a 44.1kHz wav file of 16bits depth.
mpv posts the following message when run with the --v verbose flag:
	[swresample] 48000Hz mono s16 -> 48000Hz mono floatp
So it uses libswresample for changing the bitdepth and subsequently
segfaults.

Happy to hear about any more ideas!

I hope I will find the time soon to run a debug with symbols of
mplayer, as explained in the segfault error message:

MPlayer interrupted by signal 11 in module: af_init
- 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.
 [ This binary of MPlayer in Debian is currently compiled with
   '--enable-debug'; the debugging symbols are in the package
   'mplayer-dbgsym'.]

> Wish you luck. Let me know if there are any more tests I can run for you.
Thanks Roger! Will let you know, this is very appreciated!

Peter
_______________________________________________
Linux-audio-user mailing list -- linux-audio-user@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to linux-audio-user-leave@xxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux