<p>Richard Mudgett has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/5979">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">json.c: Add backtrace log to find 'Invalid UTF-8 string' errors<br><br>Change-Id: I9020ff9f2b3749904317c0c173f47a1bbed6f929<br>---<br>M main/json.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/79/5979/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/json.c b/main/json.c<br>index a28dbb2..9004978 100644<br>--- a/main/json.c<br>+++ b/main/json.c<br>@@ -823,6 +823,7 @@<br>                      ast_log(LOG_ERROR,<br>                            "Error building JSON from '%s': %s.\n",<br>                             format, error.text);<br>+                 ast_log_backtrace();<br>          }<br>     }<br>     return r;<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/5979">change 5979</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/5979"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I9020ff9f2b3749904317c0c173f47a1bbed6f929 </div>
<div style="display:none"> Gerrit-Change-Number: 5979 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>