[physfs] [latest tip, 3b7e318f978c] Crash on reading data from .ogg

Paril me at paril.ca
Sun Sep 24 15:51:15 EDT 2017


Using libsndfile with a wrapper to PHYSFS, a crash seems to occur as the
system tries to do some reading from the beginning.
The following is a mini-trace of the steps it took to read the file, and
the crash that ensued:

PHYSFS_fileLength()
PHYSFS_read(1, 12)
PHYSFS_tell()
PHYSFS_read(1, 4084)
PHYSFS_seek(12)
PHYSFS_tell()
PHYSFS_read(1, 4084)

Exception thrown at 0x00007FF6BA1D366F in quetoo.exe: 0xC0000005: Access
violation reading location 0x000001E87DCD607C.

Here's an image of the locals at the time of crash:
https://i.imgur.com/SEWoiv7.png
(Note that I have modified doBufferedRead slightly to fix my other bug
report; "rc < 0" calls have been changed to "rc <= 0" so that it will not
crash earlier in the app).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20170924/41c6c19f/attachment.html>


More information about the physfs mailing list