[asterisk-bugs] [JIRA] (ASTERISK-21786) Segfault in odbc

A. Iglesias (JIRA) noreply at issues.asterisk.org
Tue May 14 04:16:38 CDT 2013


A. Iglesias created ASTERISK-21786:
--------------------------------------

             Summary: Segfault in odbc
                 Key: ASTERISK-21786
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21786
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: PBX/pbx_realtime, Resources/res_odbc
    Affects Versions: 11.3.0, 11.2.2
         Environment: Debian wheezy
Realtime with MySQL and odbc
            Reporter: A. Iglesias


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:

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/internalname&SIP/internalname&SIP/internalname&SIP/internalname,10,two)
  same => n,PlayBack(locuciones/${LOCUCION})
  same => n,PlayBack(locuciones/buzon)
  same => n,VoiceMail(0,s)
  same => n,HangUp()

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