-
Notifications
You must be signed in to change notification settings - Fork 54
Segfault on isValid #202
Comments
It's fine too on FreeBSD Confirmed on MacOs Catalina, sfcgal 1.3.7, cgal 4.14.1, gmp 6.1.2 with clang and gcc The backtrace
|
I can confirm the crash on OpenBSD with gmp 6.1.2, cgal 4.14.2 and sfcgal 1.3.7:
|
I can also confirm the crash on Windows 10 with cgal 4.14.2, sfcgal 1.3.7 and gmp 6.1.2 cross-compiled with mingw-w64 Backtrace when run under cygwin (until I figure out how I use gdb/lldb native):
|
The specified snippet application runs fine:
when using the following environment: Operating system: Mac OS X 64bit |
Hi, we're experiencing this issue also. Does anyone have a workaround until its resolved? How can we fall back to a previous version of SFGCAL? Running latest versions of Postgres & Postgis via homebrew. |
@thomersch were you able to find a solution to this issue? |
I encountered a weird issue that seems only to come up on macOS, but also concerns calls from PostGIS.
When I execute
the database segfaults.
So I started to hunt down the problem and was able to reduce it to the following small C++ snippet:
This runs fine on Linux, but not on macOS. Not sure where the issue originates, but I saw that in those cases libgmp receives some very suspicious data structures which contain null pointers.
The text was updated successfully, but these errors were encountered: