On Sun, Jun 20, 2010 at 05:17:52PM -0400, Sam Carleton scratched on the wall:
> 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.

  It crashes when sqlite3_close() is actually called, or sometime
  soon after?

  Does the code make any calls to sqlite3_next_stmt()?  If the code
  crashes soon after sqlite3_close() is called, my guess (and this is a
  pretty wild one) is the code is forcibly finalizing statements,
  leaving behind stale pointers.  As soon as one of those is
  dereferenced, things crash.  This is even more likely if you're
  using FTS.

   -j

-- 
Jay A. Kreibich < J A Y  @  K R E I B I.C H >

"Intelligence is like underwear: it is important that you have it,
 but showing it to the wrong people has the tendency to make them
 feel uncomfortable." -- Angela Johnson
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to