Skip to contentSkip to conversation

Segmentation fault and log errors, expermimental Rev.756

B.A.T.M.A.N. Freifunk Dresden 2 participants 2 messages Oct 25, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I'm using experimental batmand Rev 756. After a while the batmand is crashing. with "Segmentation fault". the crashing batmand is running on i386 (debian 2.6.22.1). All routers are running the same batmand version. I have not checked if also the batmand crashs on the routers.

syslog: batmand[6733]: Error - got packet from unknown client: 10.12.10.17 (virtual ip 169.254.1.1) batman log (-d4): Error - SIGSEGV received, trying to clean up ...

/usr/bin/batmand -g 1024/200 -a 104.61.0.0/16 -s 10.12.0.1 --no-unreachable-rule --no-throw-rules --no-prio-rules --resist-blocked-send wlan0 bbs /t 1 /i /A bbc /t 1 /i /A -d 4 >/tmp/batman-chrash

A___B---C

(_) backbone (bbs-bbc)
(-) wlan

A: wlan0 10.12.0.1 , bbs 172.16.0.1
B: eth1 10.12.10.17 , bbc 172.16.10.18
C: eth1 10.12.10.1

A offers internet gateway.

Additional during batman start syslog shows some errors:

Oct 25 12:18:06 0-1 batmand[26343]: Trying to name tunnel to bat0 ...
Oct 25 12:18:06 0-1 batmand[26343]: success!
Oct 25 12:18:06 0-1 batmand[26343]: Error - can't add route to 169.254.0.0/24 via 0.0.0.0 (table 254): File exists
Oct 25 12:18:06 0-1 batmand[26343]: Trying to name tunnel to bat0 ...
Oct 25 12:18:06 0-1 batmand[26343]: busy!
Oct 25 12:18:06 0-1 batmand[26343]: Trying to name tunnel to bat1 ...
Oct 25 12:18:06 0-1 batmand[26343]: success!
Oct 25 12:18:06 0-1 batmand[26343]: Error - can't add route to 169.254.1.0/24 via 0.0.0.0 (table 254): File exists
Oct 25 12:18:06 0-1 batmand[26343]: Trying to name tunnel to bat0 ...
Oct 25 12:18:06 0-1 batmand[26343]: busy!
Oct 25 12:18:06 0-1 batmand[26343]: Trying to name tunnel to bat1 ...
Oct 25 12:18:06 0-1 batmand[26343]: busy!
Oct 25 12:18:06 0-1 batmand[26343]: Trying to name tunnel to bat2 ...
Oct 25 12:18:06 0-1 batmand[26343]: success!
Oct 25 12:18:06 0-1 batmand[26343]: Error - can't add route to 169.254.2.0/24 via 0.0.0.0 (table 254): File exists

ip addr
28: bat0: <POINTOPOINT,MULTICAST,NOARP,UP,10000> mtu 1471 qdisc pfifo_fast qlen 500

    link/[65534]
    inet 169.254.0.0/32 scope global bat0
29: bat1: <POINTOPOINT,MULTICAST,NOARP,UP,10000> mtu 1471 qdisc pfifo_fast qlen 500
    link/[65534]
    inet 169.254.1.0/32 scope global bat1
30: bat2: <POINTOPOINT,MULTICAST,NOARP,UP,10000> mtu 1471 qdisc pfifo_fast qlen 500
    link/[65534]
    inet 169.254.2.0/32 scope global bat2

Bye
Stephan

#1 lore raw

Hello,

Quoted 3 lines · Freifunk Dresden

Hi,

I'm using experimental batmand Rev 756.

Just to be sure, Where does it show Rev 756 ? Because this reveision has never been committed for batmand-exp. Do you mean rv752 ? Have you experienced this with previous revisions?

Quoted 4 lines

After a while the batmand is
crashing. with "Segmentation fault". the crashing batmand is running on i386 (debian 2.6.22.1). All routers are running the same batmand version. I have not checked if also the batmand crashs on the routers.

can you check that? To be honest, I am usually not testing it a lot on i386. I'll do so now. But on the mipsel devices which Iam mostly using for testing it runs since weeks without problems.

Quoted 5 lines

/usr/bin/batmand -g 1024/200 -a 104.61.0.0/16 -s 10.12.0.1 --no-unreachable-rule --no-throw-rules --no-prio-rules --resist-blocked-send wlan0 bbs /t 1 /i /A bbc /t 1 /i /A -d 4

Quoted 1 line

/tmp/batman-chrash

can you send me that batman-crash file, and even better also a core dump? (if its to large send it private).

thanks,
axel