[asterisk-bugs] [JIRA] (ASTERISK-25957) Segfault in odbc after commit 9b0a96b947437f58fcc88f154ed5080fde529009

Jacek Kuzemczak (JIRA) noreply at issues.asterisk.org
Thu Jun 16 09:19:56 CDT 2016


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

Jacek Kuzemczak edited comment on ASTERISK-25957 at 6/16/16 9:19 AM:
---------------------------------------------------------------------

One of our servers is also affected by this issue - seems to fail every few hours. We're using the 5.3.6 driver from the MySQL website and the packaged version of unixodbc which I believe is 2.3.1.

Wondering if anyone is aware of a workaround for this or even the steps to reproduce it so we can try and avoid them :P


was (Author: jacekkuzemczak):
One of our servers is also affected by this issue - seems to fail every few hours. We're using the 5.3.6 driver from the MySQL website and the packaged version of unixodbc which I believe id 2.3.1.

Wondering if anyone is aware of a workaround for this or even the steps to reproduce it so we can try and avoid them :P

> Segfault in odbc after commit 9b0a96b947437f58fcc88f154ed5080fde529009
> ----------------------------------------------------------------------
>
>                 Key: ASTERISK-25957
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25957
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 13.8.0, 13.8.1, 13.8.2
>         Environment: Debian 7 64 bit, voicemail and cdr via ODBC
>            Reporter: Niklas Larsson
>            Assignee: Unassigned
>         Attachments: backtrace_odbc_2.3.4.txt, backtrace_odbc.txt, backtrace.txt, cdr_adaptive_odbc.conf, modules.conf, odbc.ini, odbcinst.ini
>
>
> Commit 9b0a96b947437f58fcc88f154ed5080fde529009 (https://gerrit.asterisk.org/#/c/2073/) segfaults asterisk when it's trying to access ODBC. No segfaults if I move back one commit (to d2be16472efa0608c389b467ad69044fbe8e9f5f).
> I use odbc for voicemail and cdr_adaptive_odbc
> And after adding:
> preload => cdr_adaptive_odbc.so
> after:
> preload => res_odbc.so
> preload => res_config_odbc.so
> preload => chan_local.so
> there is no more segfaults.



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



More information about the asterisk-bugs mailing list