Bug#862753: Fwd: mpg123 crashes in Remote mode if FORMAT command issued when file loaded but not started playback

Thomas Orgis thomas-forum at orgis.org
Tue May 23 00:25:34 UTC 2017


Am Wed, 17 May 2017 08:13:32 +0200
schrieb Thomas Orgis <thomas-forum at orgis.org>: 

> Confirmed with current upstream mpg123 1.24.0:
> 
> $ mpg123 -R -o dummy
> @R MPG123 (ThOr) v8
> LP some_file.mp3
> @I ID3v2.title:some title
> @I ID3v2.artist:some band
> @I ID3v2.year:2017
> @I ID3v2.comment:whatever
> @I ID3v2.genre:some_style
> @P 1
> FORMAT
> @FORMAT 44100 2
> pause
> @P 2
> main: [src/mpg123.c:809] error: Deep trouble! Cannot flush to my output anymore!
> 08:09|sturbolzen:~$ 

This should be fixed in the upcoming 1.25.0. Please test the
https://mpg123.org/snapshot .

$ src/mpg123 -R -o test
@R MPG123 (ThOr) v8
lp /home/thomas/daten/projekte/mosin_nagant/forced_to_kill_thor.mp3
@I forced_to_kill_thor
@P 1
format
@FORMAT 44100 2
p
@P 2
@S 1.0 3 44100 Stereo 0 417 2 0 0 0 128 0 0
@F 0 7335 0.00 191.61
@F 0 7335 0.00 191.61
@F 1 7335 0.03 191.61
@F 2 7334 0.05 191.58
@F 3 7333 0.08 191.56

I finally resorted to introducing new API to libmpg123 to avoid the
interference of FORMAT with the main playback loop.


Alrighty then,

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20170523/c8e5fc58/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list