<p>So I tried db_mode 3 and it worked the first time.  Phones registered and USRLOC wrote to the location table successfully.</p>
<p>Stopped the service and then attempted to start again, and the time-out crash occurred.  Tried once more, and it still crashed (however, the segfaults are different).</p>
<p>Crash 1:</p>
<p>Sep 12 09:52:20 vpsl32n011 kernel: [836803.080856] kamailio[8116]: segfault at 0 ip           (null) sp 00007fff1030aa68 error 14 in kamailio[400000+42e000]</p>
<p>Crash 2:</p>
<p>Sep 12 09:58:21 vpsl32n011 kernel: [837164.256390] kamailio[8220]: segfault at 7fdc518b1000 ip 00007fdc5740ce3e sp 00007fff40f0e118 error 4 in libc-2.19.so[7fdc572c5000+1a1000]</p>
<p>Here is syslog for both crashes and core dump for the last one (accidentally overwrote the corefile from first).</p>
<p><a href="https://github.com/kamailio/kamailio/files/1296451/Crash1_Syslog.txt">Crash1_Syslog.txt</a><br>
<a href="https://github.com/kamailio/kamailio/files/1296452/Crash2_Core.txt">Crash2_Core.txt</a><br>
<a href="https://github.com/kamailio/kamailio/files/1296453/Crash2_Syslog.txt">Crash2_Syslog.txt</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1231#issuecomment-328885888">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36Zb8a4HddiK7MK5ddZW9M_POxA3B1ks5shqRKgaJpZM4PTZgu">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZSERuWugb0gCV_f0_aJSYI5gLNKDks5shqRKgaJpZM4PTZgu.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/1231#issuecomment-328885888"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@JohnJanke in #1231: So I tried db_mode 3 and it worked the first time.  Phones registered and USRLOC wrote to the location table successfully.  \r\n\r\nStopped the service and then attempted to start again, and the time-out crash occurred.  Tried once more, and it still crashed (however, the segfaults are different). \r\n\r\n\r\nCrash 1:\r\n\r\nSep 12 09:52:20 vpsl32n011 kernel: [836803.080856] kamailio[8116]: segfault at 0 ip           (null) sp 00007fff1030aa68 error 14 in kamailio[400000+42e000]\r\n\r\nCrash 2:\r\n\r\nSep 12 09:58:21 vpsl32n011 kernel: [837164.256390] kamailio[8220]: segfault at 7fdc518b1000 ip 00007fdc5740ce3e sp 00007fff40f0e118 error 4 in libc-2.19.so[7fdc572c5000+1a1000]\r\n\r\n\r\nHere is syslog for both crashes and core dump for the last one (accidentally overwrote the corefile from first). \r\n\r\n[Crash1_Syslog.txt](https://github.com/kamailio/kamailio/files/1296451/Crash1_Syslog.txt)\r\n[Crash2_Core.txt](https://github.com/kamailio/kamailio/files/1296452/Crash2_Core.txt)\r\n[Crash2_Syslog.txt](https://github.com/kamailio/kamailio/files/1296453/Crash2_Syslog.txt)\r\n"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1231#issuecomment-328885888"}}}</script>