Received fatal signal 11 using a prosqlite predicate

"Bob Ly" <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
I tried calling this predicate from prosqlite on the moz_places table  
from places.sqlite file.
?- sqlite_query('SELECT id, title, visit_count FROM moz_places',Row).

I got the following value.
Row = row(2, 'Web Search - CrunchBang', 185) ;

Then I got the following error message.
SWI-Prolog [thread 1]: received fatal signal 11 (segv)
Stack trace labeled "crash":
   [0] crashHandler+0x36
   [1] dispatch_signal+0x44a
   [2] __restore_rt+(nil)
   [3] __strerror_r+0x171
   [4] PL_put_atom_chars+0x32
   [5] unify_row_term+0x124
   [6] c_sqlite_query+0x25a
   [7] PL_next_solution+0x5818
   [8] query_loop+0x11f
   [9] prologToplevel+0x4f
Aborted

Am I not understanding the prosqlite_query predicate or is there a  
better predicate to obtain selected rows of table?

Best Regards,


Bob Ly
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.