[sr-dev] crash when sr gets invalid fifo mi command

Juha Heinanen jh at tutpro.com
Mon Jun 22 09:42:54 CEST 2009


i gave sr invalid mi fifo command "foo" and got crash.

-- juha

Jun 22 10:38:47 localhost /usr/sbin/sip-router[12222]: ERROR: mi_fifo [fifo_fnc.c:466]: fifo command foo is not available
Jun 22 10:38:50 localhost kernel: [10840.769580] sip-router[12222]: segfault at 2 ip b72842c6 sp bfa4e430 error 4 in kex.so[b7280000+6000]
Jun 22 10:38:51 localhost /usr/sbin/sip-router[12238]: : <core> [pass_fd.c:283]: ERROR: receive_fd: EOF on 31


Program terminated with signal 11, Segmentation fault.
[New process 12222]
#0  0xb72842c6 in mi_debug (cmd=0x83e6338, param=0x0) at mi_core.c:336
336			new_debug = *((int*)vval);
(gdb) where
#0  0xb72842c6 in mi_debug (cmd=0x83e6338, param=0x0) at mi_core.c:336
#1  0xb72a898a in mi_fifo_server (fifo_stream=0x9ad5458)
    at ../../lib/kmi/mi.h:89
#2  0xb72aa404 in fifo_process (rank=1) at mi_fifo.c:235
#3  0xb72aa67d in mi_child_init (rank=0) at mi_fifo.c:199
#4  0x080de71b in init_mod_child (m=0x822c2d8, rank=0) at sr_module.c:807
#5  0x080de690 in init_mod_child (m=0x822c3b8, rank=0) at sr_module.c:784
#6  0x080de690 in init_mod_child (m=0x822c498, rank=0) at sr_module.c:784
#7  0x080de690 in init_mod_child (m=0x822c570, rank=0) at sr_module.c:784
#8  0x080de690 in init_mod_child (m=0x822c728, rank=0) at sr_module.c:784
#9  0x080de690 in init_mod_child (m=0x822c838, rank=0) at sr_module.c:784
#10 0x080de690 in init_mod_child (m=0x822c910, rank=0) at sr_module.c:784
#11 0x08088115 in main_loop () at main.c:1386
#12 0x0808a9b7 in main (argc=135968704, argv=0x5) at main.c:2101



More information about the sr-dev mailing list