<div dir="auto"><div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">Can you please try the bt full to get full trace?</div></div><div dir="auto"><br></div><div dir="auto">Greetings</div><div dir="auto">Rick</div><br><div class="gmail_quote"><div dir="ltr">Am Mi., 9. Jan. 2019, 17:16 hat Dmitri Savolainen <<a href="mailto:savolainen@erinaco.ru" target="_blank" rel="noreferrer">savolainen@erinaco.ru</a>> geschrieben:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello.<div>I also have segfault for current master just after adding 'loadmodule "rabbitmq.so"' string to cfg file (centos7).</div><div>Here is my backtrace:</div><div><br></div><div><div><div>[root@centos_new sbin]# gdb -c /tmp/core.30978 -f /usr/local/dev_kamailio/sbin/kamailio </div><div>GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-114.el7</div><div>Copyright (C) 2013 Free Software Foundation, Inc.</div><div>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html" rel="noreferrer noreferrer" target="_blank">http://gnu.org/licenses/gpl.html</a>></div><div>This is free software: you are free to change and redistribute it.</div><div>There is NO WARRANTY, to the extent permitted by law. Type "show copying"</div><div>and "show warranty" for details.</div><div>This GDB was configured as "x86_64-redhat-linux-gnu".</div><div>For bug reporting instructions, please see:</div><div><<a href="http://www.gnu.org/software/gdb/bugs/" rel="noreferrer noreferrer" target="_blank">http://www.gnu.org/software/gdb/bugs/</a>>...</div><div>Reading symbols from /usr/local/dev_kamailio/sbin/kamailio...done.</div><div>[New LWP 30978]</div><div>[Thread debugging using libthread_db enabled]</div><div>Using host libthread_db library "/lib64/libthread_db.so.1".</div><div>Core was generated by `./kamailio -P /var/run/kamailio/kamailio.pid -f /usr/local/dev_kamailio/etc/kam'.</div><div>Program terminated with signal 11, Segmentation fault.</div><div>#0 find_delim (pp=pp@entry=0x7fff0ecf6568, colon_and_at_sign_are_delims=colon_and_at_sign_are_delims@entry=1) at /usr/src/debug/rabbitmq-c-0.8.0/librabbitmq/amqp_url.c:109</div><div> /usr/src/debug/rabbitmq-c-0.8.0/librabbitmq/amqp_url.c:109:2885:beg:0x7f183857ba01</div><div>(gdb) bt</div><div>#0 find_delim (pp=pp@entry=0x7fff0ecf6568, colon_and_at_sign_are_delims=colon_and_at_sign_are_delims@entry=1) at /usr/src/debug/rabbitmq-c-0.8.0/librabbitmq/amqp_url.c:109</div><div>#1 0x00007f183857bb73 in amqp_parse_url (url=0x7f1838790ab7 "guest:guest@localhost:5672/%2F", parsed=0x7f1838994440 <amqp_info>) at /usr/src/debug/rabbitmq-c-0.8.0/librabbitmq/amqp_url.c:137</div><div>#2 0x00007f1838785068 in mod_init () at rabbitmq.c:153</div><div>#3 0x000000000055cbd4 in init_mod (m=0x7f183f4782f0) at core/sr_module.c:910</div><div>#4 0x000000000055c90f in init_mod (m=0x7f183f479728) at core/sr_module.c:907</div><div>#5 0x000000000055c90f in init_mod (m=0x7f183f47b050) at core/sr_module.c:907</div><div>#6 0x000000000055c90f in init_mod (m=0x7f183f47b728) at core/sr_module.c:907</div><div>#7 0x000000000055c90f in init_mod (m=0x7f183f47bed8) at core/sr_module.c:907</div><div>#8 0x000000000055c90f in init_mod (m=0x7f183f47c850) at core/sr_module.c:907</div><div>#9 0x000000000055c90f in init_mod (m=0x7f183f47e398) at core/sr_module.c:907</div><div>#10 0x000000000055c90f in init_mod (m=0x7f183f47e840) at core/sr_module.c:907</div><div>#11 0x000000000055cf0c in init_modules () at core/sr_module.c:939</div><div>#12 0x000000000042bc9e in main (argc=5, argv=0x7fff0ecf6df8) at main.c:2608</div><div>(gdb) </div></div></div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 11 Jun 2018 at 09:35, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" rel="noreferrer noreferrer" target="_blank">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
did you get a core dump file? If yes, can you send the backtrace taken<br>
with gdb?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 09.06.18 15:10, Sylvain Boily wrote:<br>
> Hello,<br>
><br>
> I tried to test the rabbitmq module in kamailio with the debian 9 repo<br>
> from <a href="http://kamailio.org" rel="noreferrer noreferrer noreferrer" target="_blank">kamailio.org</a> but there is a segfault when the service is<br>
> launched. Is there is people also have this issue?<br>
><br>
> /etc/init.d/kamailio restart<br>
> [....] Restarting kamailio (via systemctl): kamailio.serviceJun 9<br>
> 13:02:03 siprouter kamailio: DEBUG: <core> [core/cfg.y:1659]:<br>
> yyparse(): loading module rabbitmq.so<br>
> Jun 9 13:02:03 siprouter kamailio: DEBUG: <core><br>
> [core/sr_module.c:575]: load_module(): trying to load<br>
> </usr/lib/x86_64-linux-gnu/kamailio/modules/rabbitmq.so><br>
> Jun 9 13:02:03 siprouter kamailio: DEBUG: <core> [core/kemi.c:1295]:<br>
> sr_kemi_modules_add(): adding module: rabbitmq<br>
> Jun 9 13:02:03 siprouter kamailio: DEBUG: <core> [core/cfg.lex:1737]:<br>
> pp_define(): defining id: MOD_rabbitmq<br>
> Jun 9 13:02:03 siprouter kernel: [159315.610811] kamailio[13226]:<br>
> segfault at 7f03b2296287 ip 00007f03b2080ca3 sp 00007fff133285c0 error<br>
> 7 in librabbitmq.so.4.2.0[7f03b2074000+13000]<br>
> Jun 9 13:02:03 siprouter /usr/sbin/kamailio[13226]: DEBUG: <core><br>
> [core/sr_module.c:988]: init_mod(): rabbitmq<br>
><br>
> Sylvain<br>
><br>
> _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org" rel="noreferrer noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer noreferrer noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer noreferrer noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer noreferrer noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio World Conference -- <a href="http://www.kamailioworld.com" rel="noreferrer noreferrer noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" rel="noreferrer noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-2612966033421643024m_2958678381219034244gmail-m_2354041132812570042gmail-m_-753053063945821984gmail-m_8061844689767041124gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Savolainen Dmitri</div></div></div></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" rel="noreferrer noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>