Hello!

I was helped to make changes to the source file 
/src/modules/drouting/prefix_tree.c line 101
It was
if (NULL == prefix)
has become
if (NULL == prefix || NULL == prefix-> s).



>Понедельник, 10 сентября 2018, 23:49 +03:00 от Евгений Голей 
><goley_ev...@mail.ru>:
>
>
>
>Good evening, look, did I do the right thing ?
>
>
>[user@sip]# gdb /usr/local/kamailio515/sbin/gwkamailio -c 
>/usr/local/kamailio515/core.5138
>GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.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/kamailio515/sbin/gwkamailio...done.
>[New LWP 5138]
>[Thread debugging using libthread_db enabled]
>Using host libthread_db library "/lib64/libthread_db.so.1".
>Core was generated by `/usr/local/kamailio515/sbin/gwkamailio -DD -P 
>/var/run/kamailio/gwkamailio515.p'.
>Program terminated with signal 11, Segmentation fault.
>#0  0x00007f8b28c3ccfb in get_prefix (ptree=0x7f8b2ba08728, 
>prefix=0x7fffcdf731d0, rgid=1) at prefix_tree.c:126
>126                     idx = get_node_index(*tmp);
>Missing separate debuginfos, use: debuginfo-install 
>glibc-2.17-157.el7_3.1.x86_64 hiredis-0.12.1-1.el7.x86_64 
>keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-8.el7.x86_64 
>libcom_err-1.42.9-9.el7.x86_64 libgcc-4.8.5-16.el7_4.2.x86_64 
>libselinux-2.5-6.el7.x86_64 libstdc++-4.8.5-16.el7_4.2.x86_64 
>openssl-libs-1.0.2k-8.el7.x86_64 pcre-8.32-17.el7.x86_64 
>zlib-1.2.7-17.el7.x86_64
>(gdb)
>
>
>Where should I place this text? 
>>Понедельник, 10 сентября 2018, 23:08 +03:00 от Henning Westerholt < 
>>h...@kamailio.org >:
>>
>>Am Montag, 10. September 2018, 20:17:27 CEST schrieb Евгений Голей:
>>> I tried the same on versions 5.1.4 and 5.1.5. I just load the module,
>>> without using its functions in the configuration file.
>>> 
>>> kamailio[2725]: segfault at 0 ip 00007f7a76cc4cfb sp 00007fff4c640bb0 error
>>> 4 in drouting.so[7f7a76cc1000+39000]
>>> 
>>> When a crased kamailio creates a core dump, I can forward it
>>> 
>>> What could be the reason ?
>>
>>Hello,
>>
>>this is hard to guess. Could you please open the core dump with gdb and post 
>>the backtrace (gdb bt) here? 
>>
>>Best regards,
>>
>>Henning
>>
>>-- 
>>Henning Westerholt
>>https://skalatan.de/blog/
>
>B.R.Evgeniy
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to