[asterisk-bugs] [JIRA] (ASTERISK-26667) sorcery: Segfault in res_sorcery_memory_cache, in ast_sorcery_object_get_id at sorcery.c

Jesse Ross (JIRA) noreply at issues.asterisk.org
Thu Dec 22 09:34:10 CST 2016


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

Jesse Ross updated ASTERISK-26667:
----------------------------------

    Attachment: debug.txt

> sorcery: Segfault in res_sorcery_memory_cache, in ast_sorcery_object_get_id at sorcery.c
> ----------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26667
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26667
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_sorcery_memory_cache
>    Affects Versions: 13.12.2
>         Environment: Ubuntu 16.04.1 Kernel 4.4.0-53
>            Reporter: Jesse Ross
>            Severity: Critical
>         Attachments: backtrace.txt, debug.txt, gdb.txt, sorcery.conf
>
>
> Asterisk crashes 2-3 times a day with this outputted to /var/log/syslog: 
> {noformat}
> Dec 20 12:45:00 voip kernel: [618425.917499] asterisk[14173]: segfault at 0 ip 00000000005e0755 sp 00007fc6aafb6cc0 error 4 in asterisk[400000+2ca000]
> {noformat}
> No calls were happening. 4 devices were registered to Asterisk.
> This is the last output to the Asterisk debug log:
> {noformat}
> [2016-12-20 12:45:00] DEBUG[14541] res_sorcery_memory_cache.c: Cached sorcery object type 'endpoint' ID '1234' is stale. Refreshing
> [2016-12-20 12:45:00] DEBUG[14173] res_config_odbc.c: Skip: 0; SQL: SELECT * FROM ps_endpoints WHERE id = ?
> [2016-12-20 12:45:00] DEBUG[14173] res_config_odbc.c: Parameter 1 ('id') = '1234'
> [2016-12-20 12:45:00] DEBUG[14173] res_sorcery_realtime.c: Filtering out realtime field 'disallow' from retrieval
> [2016-12-20 12:45:00] DEBUG[14173] res_sorcery_memory_cache.c: Refreshing stale cache object type 'endpoint' ID '1234'
> {noformat}
> I changed the ID of the endpoint above for security.



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



More information about the asterisk-bugs mailing list