Bug#1091178: enigma: Enigma crashes when changing menu music
Yogeshwar A. Velingker
yogi at velingker.com
Mon Dec 23 00:54:34 GMT 2024
Package: enigma
Version: 1.30+dfsg-1+b1
Severity: important
Enigma crashes when changing the menu music (in Options->Audio) because
of the removal of "Pentagonal Dreams" from the list of music queues,
which was done without changing the button position of the succeeding
"In Game" music queue. As a result the button positions skip from 2 to
4, and Enigma crashes when clicking through the options:
Warning: Tried to choose empty music queue title as menu music queue.
enigma: MusicManager.cc:97: int sound::GetOptionMenuMusic(): Assertion `pos >= 0' failed.
Aborted (core dumped)
I did some testing and found that Enigma works fine without
pentagonal_dreams.s3m, if you reverse Debian's changes to
MusicManager.cc. It just finds that the file is absent and skips over
it. This solution would also have the advantage of allowing users to
still hear "Pentagonal Dreams" in Debian's version of Enigma by
separately downloading placing the file in
/usr/share/games/enigma/music/menu.
More information about the Pkg-games-devel
mailing list