<p>When using -u or -g cli params</p>

<pre><code>root@sip:~ # kamailio -u kamailio -g kamailio
loading modules under config path: /usr/local/lib/kamailio/modules/
Listening on 
             udp: x.x.x.x:5060
             udp: 127.0.0.1:5060
             tcp: x.x.x.x:5060
             tcp: 127.0.0.1:5060
Aliases: 
             tcp: localhost.my.domain:5060
             tcp: localhost:5060
             udp: localhost.my.domain:5060
             udp: localhost:5060

</code></pre>

<pre><code>root@sip:~ # kamailio -u kamailio -g kamailio
loading modules under config path: /usr/local/lib/kamailio/modules/
ERROR: bad config file (2 errors)
Segmentation fault (core dumped)
</code></pre>

<pre><code>(gdb) bt
#0  0x0000000805cb3200 in ?? ()
#1  0x000000000078fb0d in destroy_tls ()
#2  0x0000000000512fd1 in cleanup ()
#3  0x000000000051a91a in handle_sigs ()
#4  0x0000000000532441 in main ()
(gdb) 
</code></pre>

<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/374">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZX_wOdEG0enZ1X9MGz5XHOjcpXPQks5o9mQhgaJpZM4GSTYT.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/374"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>