[Olsr-dev] Segfault in dyn_gw plugin with hg rev 2227
Jo-Philipp Wich
(spam-protected)
Mon Jan 26 21:38:26 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi.
Today I wanted to test the tip of tree version of olsrd since v0.5.6-r3 ist unstable for
me. When trying to run olsrd, it segfaulted when loading the dyn_gw plugin. Used
configuration and debug output below. If you want core dumps, I can provide them soon.
~ JoW
(spam-protected):/tmp# cat /var/etc/olsrd.conf
DebugLevel 0
IpVersion 4
AllowNoInt yes
Pollrate 0.025
TcRedundancy 2
MprCoverage 3
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
FIBMetric "flat"
ClearScreen yes
Willingness 3
LinkQualityAging 0.1
LinkQualityAlgorithm "etx_ff"
IpcConnect
{
~ MaxConnections 0
}
LoadPlugin "olsrd_dyn_gw.so.0.4"
{
~ PlParam "Ping" "141.1.1.1"
~ PlParam "Interval" "60"
}
LoadPlugin "olsrd_nameservice.so.0.3"
{
~ PlParam "name" "104-61-17-32"
~ PlParam "suffix" ".olsr"
~ PlParam "hosts-file" "/var/etc/hosts.olsr"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
~ PlParam "accept" "127.0.0.1"
}
Interface "eth0.1"
{
~ HelloInterval 2.0
~ HelloValidityTime 40.0
~ TcInterval 5.0
~ TcValidityTime 100.0
~ MidInterval 18.0
~ MidValidityTime 324.0
~ HnaInterval 18.0
~ HnaValidityTime 108.0
}
Interface "wl0"
{
~ HelloInterval 2.0
~ HelloValidityTime 40.0
~ TcInterval 5.0
~ TcValidityTime 100.0
~ MidInterval 18.0
~ MidValidityTime 324.0
~ HnaInterval 18.0
~ HnaValidityTime 108.0
}
(spam-protected):/tmp# olsrd -f /var/etc/olsrd.conf -d 1
~ *** olsr.org - pre-0.5.7 ***
~ Build date: 2009-01-26 20:48:35 on j400
~ http://www.olsr.org
Read config from /var/etc/olsrd.conf
Debug level: 0
IpVersion: 2
Noint set to 1
Pollrate 25000
TC redundancy 2
MPR coverage 3
Link quality fish eye 1
Link quality dijkstra limit 0, 9.00
FIBMetric: 0="flat"
Clear screen enabled
Willingness: 3 (no auto)
~ IPC connections: 0
Plugin: olsrd_dyn_gw.so.0.4
~ PlParam: Ping 141.1.1.1
~ PlParam: Interval 60
Plugin: olsrd_nameservice.so.0.3
~ PlParam: name 104-61-17-32
~ PlParam: suffix .olsr
~ PlParam: hosts-file /var/etc/hosts.olsr
Plugin: olsrd_txtinfo.so.0.1
~ PlParam: accept 127.0.0.1
Interface eth0.1
~ HELLO interval: 2.00
~ HELLO validity: 40.00
~ TC interval: 5.00
~ TC validity: 100.00
~ MID interval: 18.00
~ MID validity: 324.00
~ HNA interval: 18.00
~ HNA validity: 108.00
Interface wl0
~ HELLO interval: 2.00
~ HELLO validity: 40.00
~ TC interval: 5.00
~ TC validity: 100.00
~ MID interval: 18.00
~ MID validity: 324.00
~ HNA interval: 18.00
~ HNA validity: 108.00
Debug level: 1
Added 0.0.0.0 to filter set
Added 127.0.0.1 to filter set
~ ---- Interface configuration ----
Checking wl0:
~ Wireless interface detected
~ Metric: 1
~ MTU - IPhdr: 1472
~ Index 6
~ Address:104.61.17.32
~ Netmask:255.0.0.0
~ Broadcast address:104.255.255.255
New main address: 104.61.17.32
Checking eth0.1:
~ Not a wireless interface
~ Metric: 0
~ MTU - IPhdr: 1472
~ Index 4
~ Address:104.61.230.186
~ Netmask:255.255.255.128
~ Broadcast address:104.61.230.255
- ---------- LOADING LIBRARY olsrd_txtinfo.so.0.1 ----------
OLSRD txtinfo plugin 0.1 by Lorenz Schori
Checking plugin interface version: 5 - OK
Trying to fetch plugin init function: OK
Trying to fetch parameter table and it's size...
Sending parameters...
"accept"/"127.0.0.1"... accept: OK
Running plugin_init function...
- ---------- LIBRARY olsrd_txtinfo.so.0.1 LOADED ----------
- ---------- LOADING LIBRARY olsrd_nameservice.so.0.3 ----------
OLSRD nameservice plugin 0.3
Checking plugin interface version: 5 - OK
Trying to fetch plugin init function: OK
Trying to fetch parameter table and it's size...
Sending parameters...
"hosts-file"/"/var/etc/hosts.olsr"... Got string /var/etc/hosts.olsr
hosts-file: OK
"suffix"/".olsr"... Got string .olsr
suffix: OK
"name"/"104-61-17-32"... Got got 104-61-17-32 (main address)
name: OK
Running plugin_init function...
- ---------- LIBRARY olsrd_nameservice.so.0.3 LOADED ----------
- ---------- LOADING LIBRARY olsrd_dyn_gw.so.0.4 ----------
OLSRD dynamic gateway plugin 0.4 by Various artists
Checking plugin interface version: 5 - OK
Trying to fetch plugin init function: OK
Trying to fetch parameter table and it's size...
Sending parameters...
"Interval"/"60"... Got int 60
Interval: OK
"Ping"/"141.1.1.1"... Ping: OK
Running plugin_init function...
Segmentation fault
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJfh9CdputYINPTPMRAio2AKCMSdMtxHz/f9iBZO2XWNrUQQF7ZACgpVMF
CazruYqRob/SWmaM/lBiuC0=
=fsy5
-----END PGP SIGNATURE-----
More information about the Olsr-dev
mailing list