What does the code look like that is calling sqlite3_prepare?  The crash
point is just dereferening a pointer that you passed in, and it looks
like the pointer value must be bad.
 
> int sqlite3_prepare(
>   sqlite3 *db,              /* Database handle. */
>   const char *zSql,         /* UTF-8 encoded SQL statement. */
>   int nBytes,               /* Length of zSql in bytes. */
>   sqlite3_stmt **ppStmt,    /* OUT: A pointer to the prepared  
> statement */
>   const char** pzTail       /* OUT: End of parsed string */
> ){
>   Parse sParse;
>   char *zErrMsg = 0;
>   int rc = SQLITE_OK;
>   int i;
>
>   /* Assert that malloc() has not failed */
>   assert( !sqlite3MallocFailed() );
>
>   assert( ppStmt );
>   *ppStmt = 0;  <<<<<<<<<< the crash occurs here...


Any ideas why this is happening?

Thanks,

-- Tito


To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except 
where the sender specifically states them to be the views of Reuters Ltd.

Reply via email to