Andreas Gnau
Andreas Gnau
Blind guess: Have you tried making sure that all parts of you application (allegro, dumb and the application itsefl) are compiled with `-mstackrealign` (and maybe `-msse`)? Regarding versions, [MSYS2](http://msys2.org/) ships...
Thanks for the quick answer. It's used by aldmb :-) What is the recommended value for the _restrict parameter, then? 0 or 1?
Yes. As I assumed, the double-free is a bug in Allegro4. In case of an error, it does a double-free. https://github.com/liballeg/allegro5/blob/20bf75791f9e1bc6892a4d56e823f70335d18610/src/datafile.c#L1349-L1351 ... but unload_datafile already frees dat here: https://github.com/liballeg/allegro5/blob/20bf75791f9e1bc6892a4d56e823f70335d18610/src/datafile.c#L1690-L1698 So,...
I have done some more debugging and have found the following. How to reproduce (read, continue where I left off): * Compile libdumb with debug-symbols (`-DCMAKE_BUILD_TYPE=Debug`) * Download a version...
I found out what the issue is. Just to be sure, I dumped all the data into a file to make sure that dumb can play it when reading from...
Yeah, random seeking cannot work for example with compressed files (one would need to re-read things from the beginning all the time), which I guess was the reason for this....
I have a proof of concept fix working, expect a PR soon. The fix still does not fix Alex, because I encountered another bug #86. 😔
This is a bug in our CMakeLists.txt. I will go about submitting a PR tomorrow.
The first issue with the include path is fixed by cab1803f1d6517754696b5c3d9b600e23ef9015e. Regarding the second issue, is there a standard environment variable that is used in other build systems to specify...
I suggest to leave this open until we have some of the content of those comments here as documentation in the code as well.