[asterisk-bugs] [JIRA] (ASTERISK-22350) DUNDI - core dump on shutdown - segfault in sqlite3_reset from /usr/lib/libsqlite3.so.0

Corey Farrell (JIRA) noreply at issues.asterisk.org
Fri Aug 23 15:11:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209556#comment-209556 ] 

Corey Farrell commented on ASTERISK-22350:
------------------------------------------

Using Ctrl-C to shutdown causes SHUTDOWN_FAST.  Modules are not unloaded for SHUTDOWN_FAST or SHUTDOWN_NORMAL, but ast_register_atexit callbacks are run.

The 14k pastebin.txt shows that thread #1 is DUNDI trying to use ast_db_gettree.  Thread #12 is close_logger() waiting for the logger thread to end.  This means that astdb and most other things in the core have already been shutdown by ast_run_atexits.  Since asterisk exit's very shortly after ast_run_atexits() this is difficult to reproduce.
                
> DUNDI - core dump on shutdown - segfault in sqlite3_reset from /usr/lib/libsqlite3.so.0
> ---------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22350
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22350
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/pbx_dundi
>    Affects Versions: SVN
>            Reporter: Birger "WIMPy" Harzenetter
>         Attachments: pastebin.txt, pastebin.txt
>
>
> segfault in sqlite3 after process_clearcache
> Asterisk was running in foreground and was killed using ^C

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list