<p>I am testing with this recent commit:</p>
<p>opensips-1.10# git log |head<br>
commit <a href="https://github.com/OpenSIPS/opensips/commit/3ba12dde91011a235d26186afdf24cb9561c416e" class="commit-link"><tt>3ba12dd</tt></a><br>
Author: Vlad Paiu <a href="mailto:vladpaiu@opensips.org">vladpaiu@opensips.org</a><br>
Date: Tue Jul 22 12:30:04 2014 +0300</p>
<pre><code>Check for all negative values when fetching cachedb counter
(cherry picked from commit 17bc5d970d18a01c4e08a512691264ce3a8c4a80)
</code></pre>
<p>Here is the backtrace:</p>
<p><a href="http://pastebin.com/Kvmr5YDH">http://pastebin.com/Kvmr5YDH</a></p>
<p>There is only one commit above this one, but it doesn't look an upgrade would solve this:</p>
<p>opensips-1.10# git diff HEAD <a href="https://github.com/OpenSIPS/opensips/commit/3ba12dde91011a235d26186afdf24cb9561c416e" class="commit-link"><tt>3ba12dd</tt></a><br>
diff --git a/modules/cfgutils/script_locks.c b/modules/cfgutils/script_locks.c<br>
index 05fcc60..91d4e12 100644<br>
--- a/modules/cfgutils/script_locks.c<br>
+++ b/modules/cfgutils/script_locks.c<br>
@@ -179,13 +179,11 @@ void destroy_script_locks(void)<br>
lock_entry = static_locks;<br>
static_locks = static_locks->next;</p>
<ul class="task-list">
<li> if (lock_entry->lock)</li>
<li> lock_dealloc(lock_entry->lock);</li>
<li><pre><code> lock_dealloc(lock_entry->lock);
shm_free(lock_entry);
}
/* Free all dynamic locks */
</code></pre></li>
<li> if (dynamic_locks)</li>
<li> lock_set_dealloc(dynamic_locks);</li>
<li> lock_set_dealloc(dynamic_locks);
}</li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/283">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMjQ4MDYxNCwiZGF0YSI6eyJpZCI6Mzg1NTc4MjZ9fQ==--6d0b4d448107514e5cb34648a037177b0ecdc893.gif" width="1" /></p>