Hi,
Today I spent some time closing PostGIS tickets in preparation to Monday's release.
Upon investigation we found:
- A build for Ubuntu Bionic installed on Debian Stretch passes the suite, requiring llvm6;
- A build for Debian Stretch fails the suite on a call to external library GEOS, showing no traces of JIT in the stacktrace;
- Setting jit=off lets the suite pass;
- The query called in clean session by itself does not crash Postgres. Queries above it are required to reproduce the crash;
I suspect that a fix would require to bisect llvm/clang version which stops showing this behavior and making it a new minimum for JIT, if this is not a symptom of bigger (memory management?) problem.
Thank you!
--