summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-02 06:42:48 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-02 06:42:48 +0800
commit631e50e18719c52970c788dd70c19bd14e0d3a54 (patch)
tree2be0dbc088db0a7959396c2b73d93bbb0073632d /.pre-commit-config.yaml
parentf6ceee3a4d789bc1b47a00d5672cefc99bb93c98 (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 '.pre-commit-config.yaml')
0 files changed, 0 insertions, 0 deletions