Segmentation fault creating sqlite3 db on OS X El Capitan

Posted by rraallvv on 2016-02-23 13:26
Forums: ActiveTcl discussion | OS: OS X

I’m trying to create a database from tclsh but get a segmentation fault on OS X El Capitan. I'm using is version of 8.6.4 installed though ActiveTcl8.

$ which tclsh
$ which wish
$ which sqlite3
$ tclsh
% info patchlevel
% package require sqlite3
% sqlite3 db file
Segmentation fault: 11

macdefender | Sat, 2016-03-05 03:35

I've got a smal test script that is running fine on my other Mac with OS 10.10 but crashes with a Segmentation fault on my OS 10.11 computer.
So there must be something different in the handling/library of sqlite3 between these systems.
I've reinstalled the latest ActiveState TCL on both machines but with ElCapitan it just keeps crashing while running fine with Yosemite.

The command that creates the segmentation fault is:

tdbc::sqlite3::connection create dbFiles sqliteDB.sql

If I change this into:

tdbc::sqlite3::connection create # without anything

I still get a Segmentation fault: 11

ActiveState Staff
Tue, 2016-03-08 15:26

There have been reported issues on ElCapitan with several products running the sqlite3 version

The 8.6.5 releases will use sqlite3 version 3.11.0.

rianmonnahan | Fri, 2017-03-31 09:48

Any update on this issue? I don't see any version later than 8.6.4 on ActiveState's web site

ActiveState Staff
Mon, 2017-04-03 08:37

ActiveTcl 8.6.5 never got to QA before 8.6.6 was released upstream. ActiveTcl 8.6.6 for OS X is scheduled for release this quarter.