More detailed core dump info. (gdb) bt #0 0x2c673d5c in memset () from /lib32/libc.so.6 #1 0x2c7b0fa8 in sqlite3VdbeHalt () from /ovn/lib/libsqlite3.so.3 #2 0x2c7b1904 in sqlite3VdbeReset () from /ovn/lib/libsqlite3.so.3 #3 0x2c7b55a8 in sqlite3_reset () from /ovn/lib/libsqlite3.so.3 #4 0x2c7b6888 in sqlite3Step () from /ovn/lib/libsqlite3.so.3 #5 0x2c7b6d54 in sqlite3_step () from /ovn/lib/libsqlite3.so.3 #6 0x2b3f91cc in SqlQuery::step(int) () from /ovn/lib/libplatform.so.1 #7 0x10189ea0 in printServiceConfig(void*, ArgumentArray*, unsigned char, char*, void**, char*) () #8 0x1018a3d4 in IsgShowCfgSvc () #9 0x2b8e1374 in OvnRcRunShowConfig () from /ovn/lib/libEngine.so.1 #10 0x101297c4 in IsgShowCfgMainConfig () #11 0x2b8e13f8 in OvnRcRunShowConfig () from /ovn/lib/libEngine.so.1 #12 0x10122b54 in IsgShowCfg () #13 0x2b8df200 in RcParseLine () from /ovn/lib/libEngine.so.1 #14 0x2b8da788 in RcFiniteStateMachine () from /ovn/lib/libEngine.so.1 #15 0x2b8d4298 in AllegroMainTask () from /ovn/lib/libEngine.so.1 #16 0x2b8d5b2c in c_main () from /ovn/lib/libEngine.so.1 #17 0x2b8e3af0 in app_main(int, char**) () from /ovn/lib/libEngine.so.1 #18 0x1004c198 in main ()
------------------------------------------------------------------------------------------------------------------------------------------------------------------- I need more debugging information. Perhaps: (1) Recompile libsqlite3.a from source code. Using -O0 (not -O2) and -g. (2) Rerun your program to crash (3) Send me the new stack trace that shows exactly which line the error occurs on (4) Also send the sqlite_source_id() for the specific version of SQLite you are using. On 8/3/16, ChingChang Hsiao <chs...@advaoptical.com> wrote: > Our sqlite version is "SQLite version 3.8.8.1". > Modify a configuration data while reading a big configuration DB(show > configuration). It goes to busyhandler and write is successful and > read configuration codes goes to core dump. Is there any idea why > going to core dump? Is something to do with mutex handling? Thanks. > > ChingChang > > int32 > DbHandle::registerBusyHook( sqlite3* db, dbCallback_data_t *cbData ) { > sqlite3_busy_handler( db, > &dbBusyHandler, > (void*)cbData ); > return 0; > } > > (gdb) bt > #0 0x2ce4f4fc in sqlite3_step () from /ovn/lib/libsqlite3.so.3 > #1 0x2ba471cc in SqlQuery::step(int) () from > /ovn/lib/libplatform.so.1 > #2 0x10189e50 in printServiceConfig(void*, ArgumentArray*, unsigned > char, char*, void**, char*) () > #3 0x1018a384 in IsgShowCfgSvc () > #4 0x2bf2f3f8 in OvnRcRunShowConfig () from /ovn/lib/libEngine.so.1 > #5 0x10129774 in IsgShowCfgMainConfig () > #6 0x2bf2f3f8 in OvnRcRunShowConfig () from /ovn/lib/libEngine.so.1 > #7 0x10122b04 in IsgShowCfg () > #8 0x2bf2d200 in RcParseLine () from /ovn/lib/libEngine.so.1 > #9 0x2bf28788 in RcFiniteStateMachine () from /ovn/lib/libEngine.so.1 > #10 0x2bf22298 in AllegroMainTask () from /ovn/lib/libEngine.so.1 > #11 0x2bf23b2c in c_main () from /ovn/lib/libEngine.so.1 > #12 0x2bf31af0 in app_main(int, char**) () from > /ovn/lib/libEngine.so.1 > #13 0x1004c148 in main () > > _______________________________________________ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users