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