On Sun, 02 May 2004 18:59:35 -0400 "D. Richard Hipp" <[EMAIL PROTECTED]> claimed: > Frederick Heckel wrote: > > > > I just attempted to run a program which I had left alone for a > > couple weeks, and found that every sqlite query i try to run > > generates this in gdb: > > > > Program received signal SIGSEGV, Segmentation fault. > > 0x40865d34 in sqliteSafetyOn () from /usr/lib/libsqlite.so.0 > > > > For a specific case, a statement that generates this is: > > > > SELECT ( id ) FROM song where ( filename > > =="/home/fwph/why-cooperation-with-rms-is-impossible.mp3" ) > > > > the relevant line of code(i'm using the compile/step method): > > sqlite_compile (theDb, buffer, &tail, &vm, &err); > > > > After a quick glance at the code, it appears that a segfault > will result if the "theDb" variable is NULL or some other > value other than a valid sqlite* pointer.
guh. nevermind. i should remember to run valgrind first, and then post
to lists. there's some sort of magical memory error somewhere in another
part of the code.
i blame gtk. :)
(fwph)
--
Frederick Heckel
[EMAIL PROTECTED]
(The strange attachment is my digital signature; do not be alarmed)
===================================================================
Bennett's Laws of Horticulture:
(1) Houses are for people to live in.
(2) Gardens are for plants to live in.
(3) There is no such thing as a houseplant.
pgp00000.pgp
Description: PGP signature

