FS#75994 - [libgme] [Orphan] 0.6.3-1 VLC crash upon attempting to jump forward when playing .SPC files

Attached to Project: Arch Linux
Opened by Mikhail Morozov (KerJoe) - Friday, 23 September 2022, 21:23 GMT
Last edited by Balló György (City-busz) - Thursday, 01 June 2023, 19:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Playing an *.SPC (SNES Music) file in VLC player and trying to go forward in the track, results in a crash with the following output:

vlc: /build/libgme/src/game-music-emu-0.6.3/gme/blargg_common.h:58: T& blargg_vector<T>::operator[](size_t) const [with T = short int; size_t = long unsigned int]: Assertion `n <= size_' failed.
[1] 115680 IOT instruction (core dumped) vlc

The problem gets fixed by adding "-DCMAKE_BUILD_TYPE=Release" to cmake arguments in PKGBUILD.


Steps to reproduce:

1) Run "vlc example.spc".
2) Skip forward by progress bar, by menu or hotkey.
This task depends upon

Closed by  Balló György (City-busz)
Thursday, 01 June 2023, 19:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  libgme 0.6.3-4
Comment by Toolybird (Toolybird) - Friday, 23 September 2022, 23:05 GMT
libgme is an orphaned pkg, so we have no choice but to wait for a dev to pick this up.
Comment by Balló György (City-busz) - Thursday, 01 June 2023, 14:57 GMT
Yes, it fixes the crash apparently.

Loading...