[Chilli] chilli-1.2.5 sigsegv at dns.c:102

Leonardo Arena rnalrd at gmail.com
Fri Nov 26 16:09:38 UTC 2010


Hi,

after a while (2~4h) chilli crash on my alpine linux router 2.1

Linux router 2.6.35.8-grsec #4-Alpine SMP Fri Nov 12 09:49:19 UTC 2010
i686 GNU/Linux

The program was compiled with the following options:

        ./configure --prefix=/usr \
                --sysconfdir=/etc \
                --mandir=/usr/share/man \
                --infodir=/usr/share/info \
                --localstatedir=/var/run/chilli \
                --libdir=/usr/lib \
                --sysconfdir=/etc \
                --with-openssl

This is the backtrace:

Core was generated by `/usr/sbin/chilli --pidfile=/var/run/chilli/chilli.pid'.
Program terminated with signal 11, Segmentation fault.
#0  dns_getname (pktp=0xbfffbd88, left=0xbfffbd84,
    name=0xbfffbd90
"<as06jb11bhcobqrhuckvt1xuu0kjc2s0kym0tps64rwrhgr1631ced3mba2l<3tvd4tqkdxnotodycjoatv5bhaksscqpo5epsgt16fc4przg5tt203zu0olo<jsfoafzt1e2le3jbyss5rfrejpt066nls4wlyplykpyf4tq0b3ojg6ljzy6m4tjlroprm4oa5q45b"...,
namesz=1500, nameln=0xbfffbd80) at dns.c:102
102	dns.c: No such file or directory.
	in dns.c
(gdb) bt
#0  dns_getname (pktp=0xbfffbd88, left=0xbfffbd84,
    name=0xbfffbd90
"<as06jb11bhcobqrhuckvt1xuu0kjc2s0kym0tps64rwrhgr1631ced3mba2l<3tvd4tqkdxnotodycjoatv5bhaksscqpo5epsgt16fc4przg5tt203zu0olo<jsfoafzt1e2le3jbyss5rfrejpt066nls4wlyplykpyf4tq0b3ojg6ljzy6m4tjlroprm4oa5q45b"...,
namesz=1500, nameln=0xbfffbd80) at dns.c:102
#1  0xb777aaa0 in dns_copy_res (conn=0xb77b3570, q=0, pktp=0xbfffc400,
left=0xbfffc404, opkt=0xbfffcf96 "\006\206\203\200", olen=258,
    question=0xbfffcc08
"as06jb11bhcobqrhuckvt1xuu0kjc2s0kym0tps64rwrhgr1631ced3mba2l.3tvd4tqkdxnotodycjoatv5bhaksscqpo5epsgt16fc4przg5tt203zu0olo.jsfoafzt1e2le3jbyss5rfrejpt066nls4wlyplykpyf4tq0b3ojg6ljzy6m.tjlroprm4oa5q45bk"...,
qsize=512) at dns.c:185
#2  0xb7771de5 in dhcp_dns (conn=0xb77b3570, pack=0xbfffcf6c "",
plen=312, isReq=0 '\000') at dhcp.c:1411
#3  0xb7776783 in dhcp_dnsunDNAT (conn=0xb77b3570, pack=0xbfffe0ac
"E\210\001*", len=298, ethhdr=0) at dhcp.c:1735
#4  dhcp_data_req (conn=0xb77b3570, pack=0xbfffe0ac "E\210\001*",
len=298, ethhdr=0) at dhcp.c:3720
#5  0xb7761d9d in cb_tun_ind (tun=0xb7799140, pack=0xbfffe0ac,
len=298, idx=0) at chilli.c:2036
#6  0xb7762f9b in tun_decaps_cb (ctx=0xbfffe8e4, packet=0xbfffe0ac,
length=298) at tun.c:761
#7  0xb777c8ff in net_read_dispatch (netif=0xb7799158, func=0xb7762e30
<tun_decaps_cb>, ctx=0xbfffe8e4) at net.c:664
#8  0xb77640ee in tun_decaps (this=0xb7799140, idx=0) at tun.c:773
#9  0xb777c813 in net_run_selected (sctx=0xbfffe95c, status=1) at net.c:581
#10 0xb7762ca5 in chilli_main (argc=2, argv=0xbfffee94) at chilli.c:5242
#11 0xb77966e0 in main (argc=Cannot access memory at address 0xffff9bb7
) at main.c:98


Thank you

- leonardo


More information about the Chilli mailing list