[sr-dev] [tracker] Task opened: OpenBSD5.2 Crash on t_relay()

sip-router bugtracker at sip-router.org
Sun Mar 31 14:57:46 CEST 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Jody Rudolph (jrudolph) 

Attached to Project - sip-router
Summary - OpenBSD5.2 Crash on t_relay()
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - 
Operating System - OpenBSD
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - I am working with two systems (one CentOS Linux and one OpenBSD5.2) both with current 4.0.x GIT.

When using the same minimal testing configuration settings, the OpenBSD system crashes when t_realy is called where the Linux system does not.

The configurations are minimal (testing, non-production) carrier-route look-up, then t_relay



The debug logging only shows (ip addresses and telephone numbers as x):

 3(17327) DEBUG: carrierroute [cr_func.c:391]: searching for matching routing rules 3(17327) DEBUG: carrierroute [prime_hash.c:68]: hash: 1286613114 % 1000 = 114
 3(17327) INFO: carrierroute [cr_func.c:595]: uri 17162597157 was rewritten to sip:1xxxxxxxxxx at xxx.xxx.xxx.xxx, carrier 1, domain 3
 3(17327) DEBUG: <core> [socket_info.c:589]: grep_sock_info - checking if host==us: 11==12 && [xxx.xxx.xxx.xxx] == [xxx.xxx.xxx.xxx]
 3(17327) DEBUG: <core> [socket_info.c:589]: grep_sock_info - checking if host==us: 11==11 && [xxx.xxx.xxx.xxx] == [xxx.xxx.xxx.xxx]
 3(17327) DEBUG: tm [t_lookup.c:1395]: DEBUG: t_newtran: msg id=1 , global msg id=1 , T on entrance=0x0
 3(17327) DEBUG: tm [t_lookup.c:534]: t_lookup_request: start searching: hash=63088, isACK=0
 3(17327) DEBUG: tm [t_lookup.c:492]: DEBUG: RFC3261 transaction matching failed
 3(17327) DEBUG: tm [t_lookup.c:716]: DEBUG: t_lookup_request: no transaction found
 3(17327) DEBUG: tm [t_funcs.c:347]: SER: new INVITE
 0(16201) ALERT: <core> [main.c:788]: child process 17327 exited by a signal 10
 0(16201) ALERT: <core> [main.c:791]: core was generated
 0(16201) INFO: <core> [main.c:803]: INFO: terminating due to SIGCHLD
20(21875) INFO: <core> [main.c:854]: INFO: signal 15 received
15(5638) INFO: <core> [main.c:854]: INFO: signal 15 received
16(1417) INFO: <core> [main.c:854]: INFO: signal 15 received




The backtrace always shows this (and not much else):
#0  0x000000000031ff18 in cfg_destroy () at cfg/cfg_struct.c:306
306                                                     old_string = *(char **)(block + group->var_offset + mapping[i].offset);






(gdb) bt full
#0  0x000000000031ff18 in cfg_destroy () at cfg/cfg_struct.c:306
No locals.
#1  0x0000000000176660 in cleanup (show_status=1) at main.c:590
        memlog = Variable "memlog" is not available.
(gdb)



More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=280

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list