emscripten-core / emscripten-core/emscripten

CGAL freezes on boolean operations

Open
#21,580 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

It seems that CGAL's boolean operation hang the browser indefinitely. This occurs from time to time seemingly at random. I have heard it's because CGAL's rounding modes are not imported correctly to WebAssembly. Is that true? Is there a way to use CGAL with Emscripten as to avoid the issue?

emcc -v output: emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.51 (c0c2ca1314672a25699846b4663701bcb6f69cca)
clang version 18.0.0git (https://github.com/llvm/llvm-project f2464ca317bfeeedddb7cbdea3c2c8ec487890bb)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /home/medal/projects/emsdk/upstream/bin

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.