<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>the log message says that core file was generated, get the
backtrace from it with gdb and post it here in order to see where
the crash was.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 17.10.18 18:59, Nicolas Breuer
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM6P192MB038996F33CD01E457FFC231E89FF0@AM6P192MB0389.EURP192.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Texte brut Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.TextebrutCar
{mso-style-name:"Texte brut Car";
mso-style-priority:99;
mso-style-link:"Texte brut";
font-family:"Calibri",sans-serif;
mso-fareast-language:FR-BE;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US"
lang="EN-US">Doing an avp_db_query works but we have a
crash just after
</span><span style="font-family:"Segoe UI
Emoji",sans-serif;mso-fareast-language:EN-US"
lang="EN-US">😊</span><span
style="mso-fareast-language:EN-US" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US"
lang="EN-US">Oct 17 18:58:11 proxy1 kernel: kamailio[8987]:
segfault at 0 ip 00000033b7a89780 sp 00007fff8e7765a8 error
4 in libc-2.12.so[33b7a00000+18b000]<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US"
lang="EN-US">Oct 17 18:58:12 proxy1
/usr/sbin/kamailio[8986]: ALERT: <core> [main.c:739]:
handle_sigs(): child process 8987 exited by a signal 11<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US"
lang="EN-US">Oct 17 18:58:12 proxy1
/usr/sbin/kamailio[8986]: ALERT: <core> [main.c:742]:
handle_sigs(): core was generated<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="FR">-----Message
d'origine-----<br>
De : sr-users <a class="moz-txt-link-rfc2396E" href="mailto:sr-users-bounces@lists.kamailio.org"><sr-users-bounces@lists.kamailio.org></a> De
la part de Mikko Lehto<br>
Envoyé : mercredi 17 octobre 2018 09:28<br>
À : Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a><br>
Objet : Re: [SR-Users] Script @Startup<br>
Importance : Haute</span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Nicolas Breuer <<a
href="mailto:nicolas.breuer@belcenter.biz"
moz-do-not-send="true"><span style="text-decoration:none">nicolas.breuer@belcenter.biz</span></a>>:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> Is there a way to execute some
codes/scripts at the launch of the Kamailio Server ?<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> So only once when we launch the
server.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hi, maybe event route
core:worker-one-init is helpful to you.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">See: <a
href="http://kamailio.org/wiki/cookbooks/5.1.x/core#event_route"
moz-do-not-send="true">
<span style="text-decoration:none">http://kamailio.org/wiki/cookbooks/5.1.x/core#event_route</span></a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-- <o:p></o:p></p>
<p class="MsoPlainText">Mikko<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">Kamailio (SER) - Users Mailing List<o:p></o:p></p>
<p class="MsoPlainText"><a
href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true"><span style="text-decoration:none">sr-users@lists.kamailio.org</span></a><o:p></o:p></p>
<p class="MsoPlainText"><a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
moz-do-not-send="true"><span style="text-decoration:none">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</span></a><o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
</body>
</html>