[asterisk-bugs] [JIRA] (ASTERISK-27224) Crash when freeing log message
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Sun Aug 27 21:18:08 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=238254#comment-238254 ]
Asterisk Team commented on ASTERISK-27224:
------------------------------------------
Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.
A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.
Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].
> 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