Menu

#32 Floating point exception if "Willingness" is unset

open
core-olsrd (19)
5
2008-05-27
2008-05-27
Anonymous
No

When "willingness" is unset in olsrd.conf, then olsrd crashes at startup with the following message:

*** olsr.org - 0.5.6-rc4 ***
Build date: 2008-05-27 12:14:01 on satelinux
http://www.olsr.org

Parsing file: "/etc/olsrd.conf"
Floating point exception

This also happens with 0.5.6-rc1, while in 0.5.5 things still run fine.

The machine used is a IBM - X24 Laptop and according to strace the Problem is probably related to ACPI:

write(1, "\n *** olsr.org - 0.5.6-rc4 ***\n "..., 99
*** olsr.org - 0.5.6-rc4 ***
Build date: 2008-05-27 12:28:43 on satelinux
http://www.olsr.org

) = 99
brk(0) = 0x808d000
brk(0x80ae000) = 0x80ae000
write(1, "Parsing file: \"/etc/olsrd.conf\"\n", 32Parsing file: "/etc/olsrd.conf"
) = 32
open("/etc/olsrd.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=7478, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb0000
read(3, "#\n# olsr.org OLSR daemon config "..., 8192) = 7478
read(3, "", 4096) = 0
read(3, "", 8192) = 0
close(3) = 0
munmap(0xb7fb0000, 4096) = 0
open("/proc/sys/net/ipv4/conf/all/send_redirects", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb0000
read(3, "0\n", 1024) = 2
close(3) = 0
munmap(0xb7fb0000, 4096) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
socket(PF_NETLINK, SOCK_DGRAM, 0) = 4
fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
open("/proc/sys/net/ipv4/ip_forward", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb0000
read(5, "1\n", 1024) = 2
close(5) = 0
munmap(0xb7fb0000, 4096) = 0
open("/proc/acpi/ac_adapter/0/status", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/proc/acpi/ac_adapter/AC/state", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb0000
read(5, "state: on-line"..., 1024) = 33
close(5) = 0
munmap(0xb7fb0000, 4096) = 0
open("/proc/acpi/battery/0/info", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/proc/acpi/battery/1/info", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/proc/acpi/battery/BATA/info", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/proc/acpi/battery/BAT0/info", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb0000
read(5, "present: yes\ndes"..., 1024) = 395
close(5) = 0
munmap(0xb7fb0000, 4096) = 0
open("/proc/acpi/battery/BAT0/state", O_RDONLY) = 5
close(5) = 0
open("/proc/acpi/ac_adapter/0/status", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/proc/acpi/ac_adapter/AC/state", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb0000
read(5, "state: on-line"..., 1024) = 33
close(5) = 0
munmap(0xb7fb0000, 4096) = 0
open("/proc/acpi/battery/0/info", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/proc/acpi/battery/1/info", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/proc/acpi/battery/BATA/info", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/proc/acpi/battery/BAT0/info", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb0000
read(5, "present: yes\ndes"..., 1024) = 395
close(5) = 0
munmap(0xb7fb0000, 4096) = 0
open("/proc/acpi/battery/BAT0/state", O_RDONLY) = 5
close(5) = 0
open("/proc/acpi/battery/BAT0/info", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb0000
read(5, "present: yes\ndes"..., 1024) = 395
read(5, "", 1024) = 0
close(5) = 0
munmap(0xb7fb0000, 4096) = 0
open("/proc/acpi/battery/BAT0/state", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb0000
read(5, "present: yes\ncap"..., 1024) = 187
read(5, "", 1024) = 0
close(5) = 0
munmap(0xb7fb0000, 4096) = 0
--- SIGFPE (Floating point exception) @ 0 (0) ---
+++ killed by SIGFPE +++
Process 23704 detached

Discussion


Log in to post a comment.

MongoDB Logo MongoDB