game crashes on first autosave if compiled without lzo but with lzma #6896
Comments
|
while in LZMASaveFilter::Write everything looks OK, the call to LZMASaveFilter::WriteLoop somehow messes up the arguments as if through UB. i suspect the prototype doesn't match the baseclass, or something similar. i changed the last argument to int (as in the gzip class), yet the segfault didn't disappear. GCC 6.4.0 |
i've disabled lzma and enabled zlib. now the same happens with the zlibsavefilter:
|
I'm unable to reproduce this on Windows/MSYS2 with master, with Could be Linux only...
|
Cannot reproduce on Linux, compiled with gcc 6.3.0. |
This issue has been automatically marked as stale because it has not had any activity in the last two months. |
maybe try with alpine linux. it happened on a musl-libc linux. |
This has been sitting here for a while. Any number of things could be the cause if you're using musl-libc, it's not something that's tested for. Can you debug further yourself? It looks like it could be some memory corruption of some sort - perhaps valgrind will flag something up? |
i currently don't have time to look into this again. will let you know when it happens again. |
The text was updated successfully, but these errors were encountered: