Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db_sqlite: Core dump at mod_Init #43

Closed
oej opened this issue Jan 17, 2015 · 4 comments
Closed

db_sqlite: Core dump at mod_Init #43

oej opened this issue Jan 17, 2015 · 4 comments
Labels

Comments

@oej
Copy link
Member

oej commented Jan 17, 2015

Trying to load my server in the background, the main process core dumps at init of db_sqlite
Git head, os/x

(gdb) bt full
#0  0x00007fff8610c66a in _dispatch_barrier_async_f_slow ()
No symbol table info available.
#1  0x00007fff8acd13bd in sqlite3_initialize ()
No symbol table info available.
#2  0x0000000104b75ba3 in sqlite_mod_init () at db_sqlite.c:69
No locals.
#3  0x00000001033bc93c in init_mod (m=0x103809b80) at sr_module.c:943
No locals.
#4  0x00000001033bc414 in init_mod (m=0x103809e58) at sr_module.c:940
No locals.
@oej oej added the bug label Jan 17, 2015
@oej
Copy link
Member Author

oej commented Jan 17, 2015

Moving db_sqlite module to the top of the load module list did not help.

@oej
Copy link
Member Author

oej commented Jan 17, 2015

Changing Kamailio to run in the foreground causes the crash NOT to happen. Only when trying to start in the background.

@miconda
Copy link
Member

miconda commented Jan 23, 2015

The crash is inside sqlite3_initialize(), which is from sqlite library. Kamailio just executes it inside mod_init for db_sqlite -- it is the fist function. The docs for the function doesn't tell anything special that needs to be done for mac os x. It looks like a bug in sqlite3_initialize().

@miconda
Copy link
Member

miconda commented Apr 1, 2015

Closing this one, investigation seemed to point to sqlite lib, unrelated to Kamailio. If new details can be provided, then re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants