[asterisk-bugs] [JIRA] (ASTERISK-27224) Crash when freeing log message
Richard Kenner (JIRA)
noreply at issues.asterisk.org
Sun Aug 27 21:18:08 CDT 2017
Richard Kenner created ASTERISK-27224:
-----------------------------------------
Summary: Crash when freeing log message
Key: ASTERISK-27224
URL: https://issues.asterisk.org/jira/browse/ASTERISK-27224
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Core/Logging
Affects Versions: 14.6.0
Environment: CentOS 7
Reporter: Richard Kenner
Severity: Critical
I have a crash at stringfields.c:94.
See below:
#3 logger_thread (data=data at entry=0x0) at logger.c:1721
1721 logmsg_free(msg);
(gdb) print *msg
$15 = {type = LOGMSG_NORMAL, level = 4, sublevel = -1, line = 2724,
lwp = 30375, callid = 0, __field_mgr_pool = 0x7f9d540cc448,
date = 0x7f9d540cc4c0 "Aug 27 19:50:44",
file = 0x7f9d540cc4da "rtp_engine.c",
function = 0x7f9d540cc4ea "ast_rtp_dtls_cfg_parse",
message = 0x7f9d540cc46a "dtlscafile file /etc/pki/tls/certs/server-ca.crt does not exist or is not readable\n", level_name = 0x7f9d540cc4d2 "ERROR",
__field_mgr = {last_alloc = 0x7f9d540cc4ea "ast_rtp_dtls_cfg_parse",
embedded_pool = 0x7f9d540cc448, string_fields = {elems = 0x7f9d5408f510,
max = 5, current = 5}}, list = {next = 0x0}}
(gdb) p msg->__field_mgr.string_fields.elems[0]
$16 = (const char **) 0x696b702f6374652f
(gdb) p $16
$17 = (const char **) 0x696b702f6374652f
(gdb) p *$16
Cannot access memory at address 0x696b702f6374652f
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list