ppmd_sh icon indicating copy to clipboard operation
ppmd_sh copied to clipboard

longjmp error

Open sebastiandeorowicz opened this issue 5 years ago • 2 comments
trafficstars

Ubuntu 18.04, g++ 7.4.0 Compilation as given in readme. Compression of any file (e.g., size 1 with single space) results in " *** longjmp causes uninitialized stack frame ***: ./pmd terminated "

Same error of optimization flags -O1, -O2, -O3, but for -O0 the program works.

sebastiandeorowicz avatar Jan 15 '20 07:01 sebastiandeorowicz

It seems that adding -U_FORTIFY_SOURCE helps but this is rather a workaround.

sebastiandeorowicz avatar Jan 15 '20 09:01 sebastiandeorowicz

coro3b (new version of my coroutine library) seems to work, but I replaced it with a fake which doesn't use longjmp here. Thanks for testing.

Shelwien avatar Apr 14 '20 14:04 Shelwien