[sr-dev] [tracker] Task opened: crash at startup if listen address does not exist

sip-router admin at sip-router.org
Mon Aug 22 18:50:52 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

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

User who did this - Juha Heinanen (jh) 

Attached to Project - sip-router
Summary - crash at startup if listen address does not exist
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - i think i have reported this on the mailing list, but i'll do it now on the tracker too, since we are in bug fixing mode for 3.2:

sip-router crashes at startup if listening address does not exist:

Aug 22 19:43:17 sip /usr/sbin/sip-proxy[9092]: ERROR: <core> [udp_server.c:401]: ERROR: udp_init: bind(8, 0xb72c7f98, 16) on 192.98.102.10: Cannot assign requested address
Aug 22 19:43:17 sip kernel: [17651.342949] sip-proxy[9092]: segfault at 786e6570 ip b7731e38 sp bfc9669c error 4 in libc-2.11.2.so[b76bf000+140000]
Aug 22 19:43:17 sip sip-proxy: ERROR: <core> [daemonize.c:307]: Main process exited before writing to pipe


(gdb) where
#0  0xb7731e38 in strcmp () from /lib/i686/cmov/libc.so.6
#1  0x080f2cc9 in find_mod_export_record (mod=0xb74c39d0 "db_mysql", 
    name=0xb72a13a3 "db_bind_api", param_no=0, flags=0, mod_if_ver=0xbfc9672c)
    at sr_module.c:621
#2  0x080f2f26 in find_mod_export (mod=0xb74c39d0 "db_mysql", 
    name=0xb72a13a3 "db_bind_api", param_no=0, flags=0) at sr_module.c:686
#3  0xb729843c in db_bind_mod (mod=0xb66e7944, mydbf=0x8) at db.c:208
#4  0xb66e30d2 in ht_db_init_con () at ht_db.c:75
#5  0xb66da144 in destroy () at htable.c:225
#6  0x080f0e54 in destroy_modules () at sr_module.c:746
#7  0x080904fc in cleanup (show_status=0) at main.c:532
#8  0x08091189 in shutdown_children (show_status=0, sig=<value optimized out>)
    at main.c:674
#9  0x08093d67 in main (argc=17, argv=0xbfc969f4) at main.c:2486


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

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