<p>Interesting, it is clear the crash happened because the var pointer is invalid:</p>

<pre><code>#0  0x00007f3b4fd779da in update_dialog_vars_dbinfo (cell=0x7f3b3c3aa958, var=0x3433) at dlg_db_handler.c:651
651     SET_STR_VALUE(values+2, var->key);
</code></pre>

<p>But it is taken from cell->vars, which show good values for each 'next' fields -- code of frame 1 is:</p>

<pre><code>        for(var=cell->vars ; var ; var=var->next) {
            if (update_dialog_vars_dbinfo(cell, var) != 0)
                return -1;
        }
</code></pre>

<p>So the core file has some inaccurate info or the stack was corrupted. Did you get error messages in syslog before the crash?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/301#issuecomment-134571571">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZUfDC-ywtHXc4X6in2X1obczlE9bks5orFjwgaJpZM4Fxkx6.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/301#issuecomment-134571571"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>