libretro / libretro-pocketcdg

PocketCDG libretro port
http://www.kyuran.be
MIT License
5 stars 12 forks source link

Ungraceful exit when song ends #12

Closed zach-morris closed 2 years ago

zach-morris commented 2 years ago

Tested on both Mac OSX and Linux (EmuElec), pocketcdg causes Retroarch to crash at the end of a song.

On OSX, RA logs show:

RetroArch(49540,0x10f1565c0) malloc: Incorrect checksum for freed object 0x7f9b25967800: probably modified after being freed.
Corrupt value: 0x0
RetroArch(49540,0x10f1565c0) malloc: *** set a breakpoint in malloc_error_break to debug
Abort trap: 6

On Linux/EmuELEC logs show:

[libretro ERROR] mad decode (Err:-1) 3039337 (0, 0) 1440
...
[libretro ERROR] mad decode (Err:-1) 3039338 (0, 0) 1440
...
[libretro ERROR] mad decode (Err:1) 3039359 (0, 0) 1440
[INFO] [Environ]: SHUTDOWN.
[INFO] [Core]: Content ran for a total of: 00 hours, 02 minutes, 31 seconds.
malloc(): unsorted double linked list corrupted
Aborted
exit 134