[asterisk-bugs] [JIRA] (ASTERISK-24450) Random Segmentation fault crash due to static realtime

Deepak Singh Rawat (JIRA) noreply at issues.asterisk.org
Tue Nov 4 12:32:30 CST 2014


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

Deepak Singh Rawat updated ASTERISK-24450:
------------------------------------------

    Status: Waiting for Feedback  (was: Waiting for Feedback)

[~rnewton] We are using unixODBC 2.2.14. It's an old version released in 2008. We have been using it successfully with asterisk 1.4 since a long time. I will upgrade to latest version and see if that fixes this issue.

We did have asterisk logging enabled. There are lot of entries with the following message just before the crash:

[Oct 21 13:57:52] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX0 at outc-1-0000f41e;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX7 at outc-1-0000f41f;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX1 at outc-1-0000f420;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX9 at outc-1-0000f421;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX6 at outc-1-0000f423;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX0 at outc-1-0000f424;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX3 at outc-1-0000f425;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX9 at outc-1-0000f426;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX1 at outc-1-0000f427;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX0 at outc-1-0000f429;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX0 at outc-1-0000f42a;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX8 at outc-1-0000f42b;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX5 at outc-1-0000f42c;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX7 at outc-1-0000f42d;2
[Oct 21 13:57:53] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX6 at outc-1-0000f42e;2
[Oct 21 13:57:54] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX3 at outc-1-0000f430;2
[Oct 21 13:57:54] NOTICE[29205] manager.c: Request to hangup non-existent channel: Local/XXXXXXXX-XXXXXXXXXX3 at outc-1-0000f431;2
[Oct 21 13:57:54] NOTICE[4631][C-0001113d] res_odbc.c: Connecting prod-db

We are also looking into our code to see if our application was sending wrong hangup requests to asterisk and due to the load it crashed. I just want to make sure this crash is not due to a bug in asterisk 12x as we have been using asterisk 1.4 without such crashes since a very long time.




> Random Segmentation fault crash due to static realtime
> ------------------------------------------------------
>
>                 Key: ASTERISK-24450
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24450
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_agent_pool, Resources/res_odbc
>    Affects Versions: 12.4.0
>         Environment: uname -a: Linux prod2-asterisk02 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> OS: CentOS release 6.4 (Final)
> Memory: 24 GB
>            Reporter: Deepak Singh Rawat
>            Assignee: Deepak Singh Rawat
>            Severity: Critical
>         Attachments: backtrace_odbc_crash.txt
>
>
> PFA the backtrace. Asterisk 12.4 crashes randomly in production. It looks like crash due to static realtime. We use MS SQL Server database and the agent info and credentials are stored in remote db. We use func_odbc.conf to read password from the db.



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



More information about the asterisk-bugs mailing list