Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Sqlite3 causes segmentation fault on Mac OS 10.6 using kitgen tclkit
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
PaulWalton  
View profile  
 More options Apr 23 2012, 6:00 am
Newsgroups: comp.lang.tcl
From: PaulWalton <walton.p...@gmail.com>
Date: Mon, 23 Apr 2012 03:00:44 -0700 (PDT)
Local: Mon, Apr 23 2012 6:00 am
Subject: Sqlite3 causes segmentation fault on Mac OS 10.6 using kitgen tclkit
This is on a fresh 10.6 Snow Leopard install of Mac OS X. I'm using
this to generate the tclkit:

./kbs.tcl -r -mk-cli install kbskit8.5

I've tried many different options and all have the same effect with
sqlite3.

After running the interpreter, trying to load and use tclsqlite3
(version 3.6.12, installed by default on Mac OS 10.6) causes a
segmentation fault:

% info patchlevel
8.5.11
% load /System/Library/Tcl/sqlite3/libtclsqlite3.dylib
% sqlite3
alloc: invalid block: 0x1001329f8: 0 0
Abort trap

Running the default Mac installation of Tcl and loading sqlite3 works
fine:
pw:~: tclsh
% info patchlevel
8.5.7
% load /System/Library/Tcl/sqlite3/libtclsqlite3.dylib
% sqlite3
wrong # args: should be "sqlite3 HANDLE FILENAME ?-vfs VFSNAME? ?-
readonly BOOLEAN? ?-create BOOLEAN? ?-nomutex BOOLEAN? ?-fullmutex
BOOLEAN?"

What am I missing?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
PaulWalton  
View profile  
 More options Apr 23 2012, 7:18 am
Newsgroups: comp.lang.tcl
From: PaulWalton <walton.p...@gmail.com>
Date: Mon, 23 Apr 2012 04:18:20 -0700 (PDT)
Local: Mon, Apr 23 2012 7:18 am
Subject: Re: Sqlite3 causes segmentation fault on Mac OS 10.6 using kitgen tclkit
On Apr 23, 5:00 am, PaulWalton <walton.p...@gmail.com> wrote:

While I still have no idea of the cause of this, I have found a
solution. And that is to simply download and compile the latest
tclsqlite3 release (3.7.11) and use that.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rene  
View profile  
 More options Apr 24 2012, 1:59 am
Newsgroups: comp.lang.tcl
From: rene <r.zaums...@freenet.de>
Date: Mon, 23 Apr 2012 22:59:11 -0700 (PDT)
Local: Tues, Apr 24 2012 1:59 am
Subject: Re: Sqlite3 causes segmentation fault on Mac OS 10.6 using kitgen tclkit
> > What am I missing?

May be thread/unthreaded builds?
There can be other differences in the compile steps.
Sorry, but I can only guess because I don't have a mac.
Still I'm surprised it works on the mac:)
Thanks go to the tcl core and TEA developers.

> While I still have no idea of the cause of this, I have found a
> solution. And that is to simply download and compile the latest
> tclsqlite3 release (3.7.11) and use that.

You know you could also use the provided sqlite from kbskit?
  ./kbs.tcl install sqlite*

Regards
rene


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »