THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#145 - crash at startup if listen address does not exist
User who did this - Juha Heinanen (jh)
----------
I just built new sip router and at startup it is still crashing:
Oct 5 09:54:44 sip /usr/sbin/sip-proxy[12757]: ERROR: <core> [udp_server.c:401]:
ERROR: udp_init: bind(9, 0xb7229fa0, 16) on 192.98.102.10: Cannot assign requested
address
Oct 5 09:54:44 sip kernel: [67602.220819] sip-proxy[12757]: segfault at 786e6570 ip
b7693e38 sp bfc5242c error 4 in libc-2.11.2.so[b7621000+140000]
i had sr running with this kind of interface configuration:
eth0 Link encap:Ethernet HWaddr 00:26:18:92:69:72
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:24
eth0:1 Link encap:Ethernet HWaddr 00:26:18:92:69:72
inet addr:192.98.102.10 Bcast:192.98.99.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:24
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:77636 errors:0 dropped:0 overruns:0 frame:0
TX packets:77636 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15497470 (14.7 MiB) TX bytes:15497470 (14.7 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:87.93.95.247 P-t-P:10.0.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:18687 errors:0 dropped:0 overruns:0 frame:0
TX packets:15357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:20198357 (19.2 MiB) TX bytes:1962241 (1.8 MiB)
then i gave command
# ifdown eth0:1
after which the ip (192.98.102.10) and its interface are gone and there is no ip on eth0
either.
i just made a new test and the crash happened also when i gave wrong ip address to
eth0:1.
-- juha
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=145#comment2…
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.