Hello,
 
I get an Invalid Pointer error when opening my database with sqlite3_open_v2():
 
*** glibc detected *** bin/freeswitch: free(): invalid pointer: 0x08108190 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7bc9d65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7bcd800]
/usr/local/freeswitch/lib/libfreeswitch.so.1(sqlite3GenericFree+0x1d)[0xb7e4236d]
/usr/local/freeswitch/lib/libfreeswitch.so.1(sqlite3_free+0x21)[0xb7e41941]
/usr/local/lib/libsqlite3.so.0[0xaf99a30a]
/usr/local/lib/libsqlite3.so.0(sqlite3_mutex_free+0x22)[0xaf966e82]
/usr/local/lib/libsqlite3.so.0(sqlite3_initialize+0x40f)[0xaf97878f]
/usr/local/lib/libsqlite3.so.0[0xaf9883e2]
/usr/local/freeswitch/mod/mod_trust.so(_ZN11DataAdapterC1Ev+0x5f)[0xaf9f2b05]
/usr/local/freeswitch/mod/mod_trust.so(_ZN14MessageManagerC1Ev+0x67)[0xaf9fd257]
/usr/local/freeswitch/mod/mod_trust.so(_Z14mod_trust_loadPP32switch_loadable_module_interfaceP10apr_pool_t+0xfa)[0xaf9ffc38]
/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_loadable_module_load_module+0x2fb)[0xb7deea4b]
/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_loadable_module_init+0x363)[0xb7def1e3]
/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_core_init_and_modload+0x151)[0xb7de8ae1]
bin/freeswitch[0x8049c37]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7b76050]
bin/freeswitch[0x8048d61]

sqlite3_open_v2() is called within a shared object which is loaded by 
FreeSWITCH (i. e. within a FreeSWITCH module).
I have no idea what's going wrong. A second application using exactly the same 
c++ class for database access has no problems.
 
Can you give me any hint what to do?
 
 
Thanks in advance!
 
Alois
 

--
Alois Komenda
Fraunhofer-Einrichtung für Systeme der Kommunikationstechnik ESK



 
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to