openais segfaults when correct bindnetaddr is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openais (Ubuntu) |
Confirmed
|
Undecided
|
Fabio Massimo Di Nitto |
Bug Description
Binary package hint: openais 0.82-3ubuntu2
Ubuntu Version: Hardy Server
Architecture: amd64
The documentation (http://
11000000 10101000 00000111 10000110 (192.168.7.134)
11111111 11111111 11111111 00000000 (255.255.255.0)
-------
11000000 10101000 00000111 00000000 (192.168.7.0)
However, when we set that option in openais.conf, the daemon segfaults:
$ cat /etc/ais/
# Please read the openais.conf.5 manual page
totem {
version: 2
secauth: off
threads: 0
rrp_mode: none
vsftype: none
interface {
ringnumber: 0
bindnetaddr: 192.168.7.0
mcastaddr: 226.94.1.1
mcastport: 5405
}
}
logging {
fileline: on
to_stderr: no
to_file: yes
logfile: /var/log/
debug: on
timestamp: on
logger_subsys {
subsys: AMF
debug: on
tags: enter|leave|
}
}
amf {
mode: disabled
}
$ /usr/sbin/aisexec -f
[MAIN ] AIS Executive Service RELEASE 'trunk'
[MAIN ] Copyright (C) 2002-2006 MontaVista Software, Inc and contributors.
[MAIN ] Copyright (C) 2006-2007 Red Hat, Inc.
[MAIN ] AIS Executive Service: started and ready to provide service.
[MAIN ] Successfully read main configuration file '/etc/ais/
[SERV ] openais component openais_cpg loaded.
[SERV ] Registering service handler 'openais cluster closed process group service v1.01'
[SERV ] openais component openais_cfg loaded.
[SERV ] Registering service handler 'openais configuration service'
[SERV ] openais component openais_msg loaded.
[SERV ] Registering service handler 'openais message service B.01.01'
[SERV ] openais component openais_lck loaded.
[SERV ] Registering service handler 'openais distributed locking service B.01.01'
[SERV ] openais component openais_evt loaded.
[SERV ] Registering service handler 'openais event service B.01.01'
[SERV ] openais component openais_ckpt loaded.
[SERV ] Registering service handler 'openais checkpoint service B.01.01'
[SERV ] openais component openais_amf loaded.
[SERV ] Registering service handler 'openais availability management framework B.01.01'
[SERV ] openais component openais_clm loaded.
[SERV ] Registering service handler 'openais cluster membership service B.01.01'
[SERV ] openais component openais_evs loaded.
[SERV ] Registering service handler 'openais extended virtual synchrony service'
Segmentation fault
description: | updated |
Changed in openais (Ubuntu): | |
status: | New → Confirmed |
Fabio - can you please fix the binary arithmetic used here, or whatever it is that's causing the segfault? If we're not supposed to use the result of <IP> & <netmask>, can you please update the documentation accordingly? (Regardless, the daemon should never segfault)