Re: Received fatal signal 11 using a prosqlite predicate

Nicos Angelopoulos (Univ of York) <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <20130929002959.2e83ba26@naga>

Dear Bob, 

Further to my last email, the errors on my local set up 
where due to Sqlite returning zero length Texts and non-zero Nills.
As far as I understand it this should n't be the case.
I am not sure if it is the files that are wrong or Sqlite.
I have taken a pragmatic approach and added extra length checks.
In my set up I can now read Firefox's places.sqlite.

You can test the changes by getting prosqlite.c from
http://www.swi-prolog.org/git/packages/prosqlite.git/tree/HEAD:/c
and putting it in <SWILIBdir>/packs/prosqlite/c/prosqlite.c

then rebuild the pack

?- pack_rebuild(prosqlite).

hope it helps,

Nicos Angelopoulos.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.