diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-08-02 06:42:48 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-08-02 06:42:48 +0800 |
commit | 631e50e18719c52970c788dd70c19bd14e0d3a54 (patch) | |
tree | 2be0dbc088db0a7959396c2b73d93bbb0073632d /etc | |
parent | f6ceee3a4d789bc1b47a00d5672cefc99bb93c98 (diff) |
Fix crash when opening map on higher-end Mx CPUs
There's this comment in indra/llimage/llimagejpeg.cpp:
//try/catch will crash on Mac and Linux if LLImageJPEG::errorExit throws an error
//so as instead, we use setjmp/longjmp to avoid this crash, which is the best we can get. --bao
but setjmp longjmp that aren't properly paired should be avoided on Apple Silicon (there are multiple setjmps but only 1 longjmp)
so if it still crashes, then that might be because of the try and catch
but if it doesn't crash any more, then the cause might just be improperly paired setjmp and longjmp
https://megapahit.com/show_bug.cgi?id=34
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions