> The debugger clams that all the values of the db struct are "Error:
> expression cannot be evaluated".

Which most definitely means that you call sqlite3_close() on the same
connection handler twice - that will or will not cause a crash
depending on system memory allocator and whether connection's memory
was already reused after first closing.


Pavel

On Sun, Jun 20, 2010 at 9:54 PM, Sam Carleton
<[email protected]> wrote:
> On Sun, Jun 20, 2010 at 6:07 PM, Simon Slavin <[email protected]> wrote:
>>
>> On 20 Jun 2010, at 10:17pm, Sam Carleton wrote:
>>
>>> I am getting some strange behavior out of my app, which happens to be
>>> both an Apache module and some Axis2/C Web Services which run under
>>> Apache.  From time to time, it is VERY inconsistent, when the code
>>> calls sqlite3_close() the Apache server crashes.  I don't recall the
>>> error right off.
>>
>> PLEASE write down the error message next time.
>
> Well, it just crashes, so there really isn't anything to write down.
> Here is what I know, it was happening before I was compiling my own
> SQLite3.dll with Visual Studio 2008, but it happens more often now.  I
> did just compile the debug version and found out exactly where it is
> failing:
>
> In sqlite3SafetyCheckSickOrOk, the first real line of code: magic = db->magic;
>
> The debugger clams that all the values of the db struct are "Error:
> expression cannot be evaluated".
>
> Sam
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to