<p>Hello,<br>
I have changed the order i have declared the modules and just brought "mi_fifo" to the top. The crash was however there but now frame 0 has some data.</p>

<div class="highlight highlight-source-c"><pre>Program terminated with signal SIGSEGV, Segmentation fault.

#<span class="pl-c1">0</span>  0x00007fdf88f8af6d in <span class="pl-en">run_create_callbacks</span> (dlg=0x7fdf8d7f20e0, msg=0x7fdfae27e7e8) at dlg_cb.c:230

230 cb->callback( dlg, DLGCB_CREATED, &params );

(gdb) bt

#<span class="pl-c1">0</span>  0x00007fdf88f8af6d in <span class="pl-en">run_create_callbacks</span> (dlg=0x7fdf8d7f20e0, msg=0x7fdfae27e7e8) at dlg_cb.c:230

#<span class="pl-c1">1</span>  0x00007fdf88fa6edf in <span class="pl-en">dlg_new_dialog</span> (req=0x7fdfae27e7e8, t=0x7fdf8d7f0a50, run_initial_cbs=<span class="pl-c1">1</span>) at dlg_handlers.c:869

#<span class="pl-c1">2</span>  0x00007fdf88fa580e in <span class="pl-en">dlg_onreq</span> (t=0x7fdf8d7f0a50, type=<span class="pl-c1">1</span>, param=0x7fdf8d2ddc60 <params>) at dlg_handlers.c:722

#<span class="pl-c1">3</span>  0x00007fdf8d016b25 in <span class="pl-en">run_reqin_callbacks_internal</span> (hl=0x7fdf8d2fb6e8, trans=0x7fdf8d7f0a50, params=0x7fdf8d2ddc60 <params>) at t_hooks.c:360

#<span class="pl-c1">4</span>  0x00007fdf8d016c31 in <span class="pl-en">run_reqin_callbacks</span> (trans=0x7fdf8d7f0a50, req=0x7fdfae27e7e8, code=<span class="pl-c1">1</span>) at t_hooks.c:385

#<span class="pl-c1">5</span>  0x00007fdf8cfd2e63 in <span class="pl-en">build_cell</span> (p_msg=0x7fdfae27e7e8) at h_table.c:373

#<span class="pl-c1">6</span>  0x00007fdf8d028e8c in <span class="pl-en">new_t</span> (p_msg=0x7fdfae27e7e8) at t_lookup.c:1269

#<span class="pl-c1">7</span>  0x00007fdf8d02a194 in <span class="pl-en">t_newtran</span> (p_msg=0x7fdfae27e7e8) at t_lookup.c:1409

#<span class="pl-c1">8</span>  0x00007fdf8cffbf8c in <span class="pl-en">t_relay_to</span> (p_msg=0x7fdfae27e7e8, proxy=0x0, proto=<span class="pl-c1">0</span>, replicate=<span class="pl-c1">0</span>) at t_funcs.c:242

#<span class="pl-c1">9</span>  0x00007fdf8d03e9e8 in <span class="pl-en">_w_t_relay_to</span> (p_msg=0x7fdfae27e7e8, proxy=0x0, force_proto=<span class="pl-c1">0</span>) at tm.c:1425

#<span class="pl-c1">10</span> 0x00007fdf8d03fc6d in <span class="pl-en">w_t_relay</span> (p_msg=0x7fdfae27e7e8, _foo=0x0, _bar=0x0) at tm.c:1626

#<span class="pl-c1">11</span> 0x000000000041f71f in <span class="pl-en">do_action</span> (h=0x7ffe6460b4a0, a=0x7fdfae11ccf0, msg=0x7fdfae27e7e8) at action.c:1054

#<span class="pl-c1">12</span> 0x000000000042c5aa in <span class="pl-en">run_actions</span> (h=0x7ffe6460b4a0, a=0x7fdfae11ccf0, msg=0x7fdfae27e7e8) at action.c:1549

#<span class="pl-c1">13</span> 0x000000000042cc6a in <span class="pl-en">run_actions_safe</span> (h=0x7ffe6460e9d0, a=0x7fdfae11ccf0, msg=0x7fdfae27e7e8) at action.c:1614

#<span class="pl-c1">14</span> 0x000000000055a40a in <span class="pl-en">rval_get_int</span> (h=0x7ffe6460e9d0, msg=0x7fdfae27e7e8, i=0x7ffe6460b894, rv=0x7fdfae11b850, cache=0x0) at rvalue.c:912

#<span class="pl-c1">15</span> 0x000000000055ea84 in <span class="pl-en">rval_expr_eval_int</span> (h=0x7ffe6460e9d0, msg=0x7fdfae27e7e8, res=0x7ffe6460b894, rve=0x7fdfae11b848) at rvalue.c:1910

#<span class="pl-c1">16</span> 0x000000000055eee6 in <span class="pl-en">rval_expr_eval_int</span> (h=0x7ffe6460e9d0, msg=0x7fdfae27e7e8, res=0x7ffe6460b9f8, rve=0x7fdfae11cef8) at rvalue.c:1918

#<span class="pl-c1">17</span> 0x000000000041f1ca in <span class="pl-en">do_action</span> (h=0x7ffe6460e9d0, a=0x7fdfae11d930, msg=0x7fdfae27e7e8) at action.c:1030

#<span class="pl-c1">18</span> 0x000000000042c5aa in <span class="pl-en">run_actions</span> (h=0x7ffe6460e9d0, a=0x7fdfae1099b8, msg=0x7fdfae27e7e8) at action.c:1549

#<span class="pl-c1">19</span> 0x000000000041f68e in <span class="pl-en">do_action</span> (h=0x7ffe6460e9d0, a=0x7fdfae11db90, msg=0x7fdfae27e7e8) at action.c:1045

#<span class="pl-c1">20</span> 0x000000000042c5aa in <span class="pl-en">run_actions</span> (h=0x7ffe6460e9d0, a=0x7fdfae0daa18, msg=0x7fdfae27e7e8) at action.c:1549

#<span class="pl-c1">21</span> 0x000000000041bee8 in <span class="pl-en">do_action</span> (h=0x7ffe6460e9d0, a=0x7fdfae0c1d98, msg=0x7fdfae27e7e8) at action.c:678

#<span class="pl-c1">22</span> 0x000000000042c5aa in <span class="pl-en">run_actions</span> (h=0x7ffe6460e9d0, a=0x7fdfae0c19f8, msg=0x7fdfae27e7e8) at action.c:1549

#<span class="pl-c1">23</span> 0x000000000041f68e in <span class="pl-en">do_action</span> (h=0x7ffe6460e9d0, a=0x7fdfae0c3d48, msg=0x7fdfae27e7e8) at action.c:1045

#<span class="pl-c1">24</span> 0x000000000042c5aa in <span class="pl-en">run_actions</span> (h=0x7ffe6460e9d0, a=0x7fdfae0beee0, msg=0x7fdfae27e7e8) at action.c:1549

#<span class="pl-c1">25</span> 0x000000000041f68e in <span class="pl-en">do_action</span> (h=0x7ffe6460e9d0, a=0x7fdfae0c54d8, msg=0x7fdfae27e7e8) at action.c:1045

#<span class="pl-c1">26</span> 0x000000000042c5aa in <span class="pl-en">run_actions</span> (h=0x7ffe6460e9d0, a=0x7fdfae0c54d8, msg=0x7fdfae27e7e8) at action.c:1549

#<span class="pl-c1">27</span> 0x000000000041bee8 in <span class="pl-en">do_action</span> (h=0x7ffe6460e9d0, a=0x7fdfadf9c928, msg=0x7fdfae27e7e8) at action.c:678

#<span class="pl-c1">28</span> 0x000000000042c5aa in <span class="pl-en">run_actions</span> (h=0x7ffe6460e9d0, a=0x7fdfadf9be90, msg=0x7fdfae27e7e8) at action.c:1549

#<span class="pl-c1">29</span> 0x000000000041f68e in <span class="pl-en">do_action</span> (h=0x7ffe6460e9d0, a=0x7fdfadf9cb88, msg=0x7fdfae27e7e8) at action.c:1045

#<span class="pl-c1">30</span> 0x000000000042c5aa in <span class="pl-en">run_actions</span> (h=0x7ffe6460e9d0, a=0x7fdfadf933d0, msg=0x7fdfae27e7e8) at action.c:1549

#<span class="pl-c1">31</span> 0x000000000042cd53 in <span class="pl-en">run_top_route</span> (a=0x7fdfadf933d0, msg=0x7fdfae27e7e8, c=0x0) at action.c:1635

#<span class="pl-c1">32</span> 0x000000000051d57a in <span class="pl-en">receive_msg</span> (

    buf=0xabb500 <buf> <span class="pl-s"><span class="pl-pds">"</span>INVITE sip:064e32d0-18ee-11e6-9f61-3f5695f881cd@sunilmore.in SIP/2.0<span class="pl-cce">\r\n</span>Via: SIP/2.0/UDP sunilmore.in:6000;rport;branch=z9hG4bKcDSrNSQN56cKc<span class="pl-cce">\r\n</span>Max-Forwards: 69<span class="pl-cce">\r\n</span>From: <span class="pl-cce">\"\"</span> <sip:16468107000@sunilmore.in><span class="pl-pds">"</span></span>..., len=<span class="pl-c1">1972</span>, rcv_info=0x7ffe6460ed40) at receive.c:240

#<span class="pl-c1">33</span> 0x00000000006302f1 in <span class="pl-en">udp_rcv_loop</span> () at udp_server.c:495

#<span class="pl-c1">34</span> 0x00000000004b3062 in <span class="pl-en">main_loop</span> () at main.c:1600

#<span class="pl-c1">35</span> 0x00000000004ba772 in <span class="pl-en">main</span> (argc=<span class="pl-c1">13</span>, argv=0x7ffe6460f248) at main.c:2616</pre></div>

<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 or <a href="https://github.com/kamailio/kamailio/issues/619#issuecomment-218999484">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZVHIfCKVpnkkcFlUK7OcSnuNn_X0ks5qBEidgaJpZM4IdwEc.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/619#issuecomment-218999484"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>