sqlite-jdbc icon indicating copy to clipboard operation
sqlite-jdbc copied to clipboard

Segfault after update of native SQLite to 3.29.0 on Mac (Homebrew)

Open stranljip opened this issue 6 years ago • 3 comments

SQLite 3.29.0 has been released on July, 10th. Is there already a plan to update to that version?

stranljip avatar Jul 26 '19 06:07 stranljip

SQlite-jdbc usually gets updated when the amount of pull requests warrants it. It does not update for every SQLite release. The short answer is It gets updated when it gets updated.

If you look at the release history, you'll get a good idea of the frequency of updates.

Note for this issue: New recommended compile time option in 3.29.0, see sqlite changelog

witmoca avatar Jul 31 '19 11:07 witmoca

OK - I was asking because of a Mac issue. We are using Spatialite/SQLite and since the Home-brew version of SQLite updated to 3.29.0 we get the following Segfault:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000163556396, pid=2316, tid=79879
#
# JRE version: OpenJDK Runtime Environment (11.0.3+7) (build 11.0.3+7)
# Java VM: OpenJDK 64-Bit Server VM (11.0.3+7, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C  [sqlite-3.28.0-692f8140-47bd-43df-ba90-0eeb070155a8-libsqlitejdbc.jnilib+0xa396]  Java_org_sqlite_core_NativeDB_clear_1progress_1handler+0x6d1c

The error can be omitted by rolling back sqlite to 3.28.0 (and pinning it there ...)

stranljip avatar Jul 31 '19 12:07 stranljip

Is this still happening on the latest version?

gotson avatar Jul 28 '22 08:07 gotson