Hi,
i have a very strange problem using sqlite with a C application...
i create a database of images, storing image data and other information about
it.
If i access to a single row (=3Dimage) of the database, with a single execution
of the program, it's all ok, and i see the selected image.
But if i read subsequentially all images (like a function "read" called inside
a for cicle) to store images in an array of images, i encounter some serious
problem.
In fact, if the database contains a certain number of images (that it's 
variable,
in all the attempt of new databases i did, but it was frequently 37), during
data reading loop, it gives a segfault inside sqlite (and it occurs, for
the example of database images=37, reading image 15), and gdb tells me a
glibc detected on sqlite3Parser.
It is courios that if i delete a row, so that database has 36 rows, no error
occours!
If it isn't a known problem, i can post the backtrace, otherwise please tell
me what is it!
tanx

__________________________________________________________________
TISCALI ADSL
Solo con Tiscali Adsl navighi senza limiti e telefoni senza canone
Telecom a partire da 19,95 Euro/mese.
Attivala subito, I PRIMI DUE MESI SONO GRATIS! CLICCA QUI:
http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/



Reply via email to