On Mon, 24 Oct 2005 [EMAIL PROTECTED] wrote:

>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.
> ...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!


No idea. A backtrace would be useful. I assume the images are BLOBs? Make
sure you're handling memory correctly and not corrupting the heap. If your
crash is within malloc or free, this points to heap corruption. Not sure
what you mean by "gdb tells me a glibc detected on sqlite3Parser" but it
could be that glibc has detected heap corruption.


Christian

-- 
    /"\
    \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
     X                           - AGAINST MS ATTACHMENTS
    / \

Reply via email to