[asterisk-bugs] [JIRA] (ASTERISK-21786) Segfault in MyODBC MySQL connector during reconnect attempt when connection is lost

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue May 21 08:57:01 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-21786.
----------------------------------

    Resolution: Not A Bug

As this is not a bug in Asterisk, I'm going to go ahead and close this out as "Not a bug". However, please feel free to comment on this issue with any feedback you receive from the MySQL team, as that will help others who run into this problem with the MySQL ODBC connector.
                
> Segfault in MyODBC MySQL connector during reconnect attempt when connection is lost
> -----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21786
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21786
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_odbc
>    Affects Versions: 11.2.2, 11.3.0
>         Environment: Debian wheezy
> Realtime with MySQL and odbc
>            Reporter: A. Iglesias
>         Attachments: backtrace.txt
>
>
> Sporadically, we get a segfault in asterisk, that seems related to libmysqlclient liblibmyodbc:
> Apr 22 12:43:34 servidor kernel: [64998.226065] asterisk[1011]: segfault at 4e7671 ip 00007f1088d657c0 sp 00007f1062730fb8 error 7 in libmysqlclient.so.18.0
> May 14 08:04:41 servidor kernel: [1949064.842298] asterisk[31908]: segfault at 1bb8 ip 00007fb969704443 sp 00007fb94717bf50 error 4 in libmyodbc.so[7fb9696eb9696e2000+3c000]
> Always happens with incomings call: we receive a call, phones start ringing but asterisk is crashed.
> This is the dialplan for incoming calls:
> {noformat}
> exten => s,1,Set(LOCUCION=invierno)
>   same => n,Goto(EnterCall)
>   same => n(Festivo),Set(LOCUCION=invierno)
>   same => n,Goto(EnterCall)
>   same => n(Verano),Set(LOCUCION=verano)
>   same => n,Goto(EnterCall)
>   same => n(EnterCall),Background(locuciones/bienvenida)
>   same => n,Dial(SIP/internalname1&SIP/internalname2&SIP/internalname3&SIP/internalname4,10,two)
>   same => n,PlayBack(locuciones/${LOCUCION})
>   same => n,PlayBack(locuciones/buzon)
>   same => n,VoiceMail(0,s)
>   same => n,HangUp()
> {noformat}
> Find attached the backtrace file. Let me know if you need more info.
> Regards
> Alberto

--
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