vgmstream crashes on invalid files? (Android) by nobody1089 at 8:27 PM EDT on July 17, 2016
I've observed that the vgmstream library tends to crash when loading invalid files. Is that normal?

Android crash: https://github.com/droidmjt/Droidsound/issues/305
Scroll to the bottom. Apparently the crash occurs at `reset_vgmstream+16` . I've seen similar issues before when renaming file extensions under foobar2000, but I can't reproduce them right now.

- If I rename the file to .ast or .pcm, it *doesn't* crash in foobar2000 (on Wine).

Either Droidsound-E is calling a different vgmstream function that causes it to crash, or it's bundled with an outdated library version. I suspect it tries opening the file under every possible file extension, and uses the first one that succeeds.

edited 8:30 PM EDT July 17, 2016

edited 11:56 PM EDT July 17, 2016
by kode54 at 2:06 AM EDT on July 18, 2016
Looks like he's calling reset_vgmstream on a null pointer?


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source