[asterisk-bugs] [JIRA] (ASTERISK-25102) res_config_odbc / libodbc - Asterisk core dumps with signal 6 when connection lost during query

Niklas Larsson (JIRA) noreply at issues.asterisk.org
Mon Mar 13 09:13:11 CDT 2017


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

Niklas Larsson commented on ASTERISK-25102:
-------------------------------------------

I have the same issue - doing a odbc thing after a lot of nothing for the asterisk makes it dump core (like rotating the logs). Solved it by running  a cron script doing 
{code}
 asterisk -rx 'odbc read ODBC_SQL_PING_CDR 3 exec'
{code}
every 10 minutes.


> res_config_odbc / libodbc - Asterisk core dumps with signal 6 when connection lost during query
> -----------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25102
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25102
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_config_odbc
>    Affects Versions: 13.3.2
>         Environment: CentOS 7 64 bit. The same configuration on CentOS 6 64 bit works fine
>            Reporter: Leandro Dardini
>            Severity: Critical
>         Attachments: backtrace-2015-05-20T05_36.txt, backtrace-2015-05-23T16_57_46, backtrace-2015-05-23T16_58_09, backtrace-2015-05-23T16_59_53, backtrace.tar.gz, full-10minutes-around-16_55, full-10minutes-around-5_36
>
>
> Asterisk crashes with a signal 6. Asterisk activity is really low, but some ODBC commands are executed as well as the access to sipfriends table configured in extconfig.conf. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list