[OpenSIPS-Users] segfault in opensips30

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Jun 21 11:53:14 EDT 2019


Hi Johan,

Thank you for the backtrace - I just pushed a fix for this crash. Please 
updated from GIT and give it another try.

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 06/20/2019 12:13 PM, Johan De Clercq wrote:
> Hello bogdan, do you have everything you need?
>
> Br,
>
> On Wed, 19 Jun 2019, 17:43 Bogdan-Andrei Iancu, <bogdan at opensips.org 
> <mailto:bogdan at opensips.org>> wrote:
>
>     Do "gdb /path/to/opensips /path/to/corefile"
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>
>     OpenSIPS Founder and Developer
>        https://www.opensips-solutions.com
>     OpenSIPS Summit 2019
>        https://www.opensips.org/events/Summit-2019Amsterdam/
>
>     On 06/19/2019 06:41 PM, johan de clercq wrote:
>>
>>     Bogdan, see below output : what am I doing wrong ?
>>
>>     root at hendrix:/tmp# gdb /tmp/core
>>
>>     GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
>>
>>     Copyright (C) 2016 Free Software Foundation, Inc.
>>
>>     License GPLv3+: GNU GPL version 3 or later
>>     <http://gnu.org/licenses/gpl.html> <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-linux-gnu".
>>
>>     Type "show configuration" for configuration details.
>>
>>     For bug reporting instructions, please see:
>>
>>     <http://www.gnu.org/software/gdb/bugs/>
>>     <http://www.gnu.org/software/gdb/bugs/>.
>>
>>     Find the GDB manual and other documentation resources online at:
>>
>>     <http://www.gnu.org/software/gdb/documentation/>
>>     <http://www.gnu.org/software/gdb/documentation/>.
>>
>>     For help, type "help".
>>
>>     Type "apropos word" to search for commands related to "word"...
>>
>>     "/tmp/core": not in executable format: File format not recognized
>>
>>     *From:*Bogdan-Andrei Iancu <bogdan at opensips.org>
>>     <mailto:bogdan at opensips.org>
>>     *Sent:* Wednesday, June 19, 2019 5:25 PM
>>     *To:* OpenSIPS users mailling list <users at lists.opensips.org>
>>     <mailto:users at lists.opensips.org>; johan de clercq
>>     <johan at democon.be> <mailto:johan at democon.be>
>>     *Subject:* Re: [OpenSIPS-Users] segfault in opensips30
>>
>>     Hi Johan,
>>
>>     Can you extract the full backtrace from the core file ?
>>
>>     Regards,
>>
>>     Bogdan-Andrei Iancu
>>       
>>     OpenSIPS Founder and Developer
>>        https://www.opensips-solutions.com
>>     OpenSIPS Summit 2019
>>        https://www.opensips.org/events/Summit-2019Amsterdam/
>>
>>     On 06/19/2019 06:11 PM, johan de clercq wrote:
>>
>>         un 19 15:07:16 hendrix /data/opensips/sbin/opensips[31541]:
>>         DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
>>
>>         Jun 19 15:07:16 hendrix /data/opensips/sbin/opensips[31541]:
>>         DBG:db_mysql:db_mysql_convert_rows: no rows returned from the
>>         query
>>
>>         Jun 19 15:07:16 hendrix /data/opensips/sbin/opensips[31541]:
>>         DBG:usrloc:db_load_urecord: aor 32478720105 not found in
>>         table location
>>
>>         Jun 19 15:07:16 hendrix /data/opensips/sbin/opensips[31541]:
>>         DBG:core:db_free_columns: freeing result columns at
>>         0x7f0d8fa8c7f8
>>
>>         Jun 19 15:07:16 hendrix /data/opensips/sbin/opensips[31541]:
>>         DBG:core:db_free_rows: freeing 0 rows
>>
>>         Jun 19 15:07:16 hendrix /data/opensips/sbin/opensips[31541]:
>>         DBG:core:db_free_result: freeing result set at 0x7f0d8fa8b320
>>
>>         Jun 19 15:07:16 hendrix /data/opensips/sbin/opensips[31541]:
>>         DBG:registrar:_remove: no record '32478720105' found!
>>
>>         Jun 19 15:07:16 hendrix /data/opensips/sbin/opensips[31541]:
>>         CRITICAL:core:sig_usr: segfault in process pid: 31541, id: 5
>>
>>         *From:* johan de clercq <johan at democon.be>
>>         <mailto:johan at democon.be>
>>         *Sent:* Wednesday, June 19, 2019 4:53 PM
>>         *To:* 'OpenSIPS users mailling list'
>>         <users at lists.opensips.org> <mailto:users at lists.opensips.org>
>>         *Subject:* segfault in opensips30
>>
>>         When trying to register an unknown user,  I have a segfault.
>>
>>         I can easily reproduce, so please tell me what I need to do
>>         to give you a dump.
>>
>>         cid:F3100D46-F00D-4610-87ED-3E91DA790A82
>>
>>         Johan De Clercq, Managing Director
>>         Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke
>>
>>         Tel +3256980990 – GSM +32478720104
>>
>>
>>
>>
>>         _______________________________________________
>>
>>         Users mailing list
>>
>>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>
>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190621/3cc67745/attachment-0001.html>


More information about the Users mailing list