<p>Although core variables correctly handle this error, OpenSIPS will segfault when a module variable is given instead:</p>
<pre><code>startup_route
{
#works
$(ru(foo)) = "foo";
#crashes
$(DLG_dir(foo)) = 5;
</code></pre>
<p>line 9: 5074 Segmentation fault (core dumped) ./opensips -m 64 -M 64 -w . -f ...</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/OpenSIPS/opensips/issues/529">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciZQxl-2Qj77TSHKv-tjVsyTonayzks5oOMlZgaJpZM4Evumg.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/OpenSIPS/opensips/issues/529"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>