Launchpad has imported 5 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=424681.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2007-12-14T07:26:26+00:00 Fabio wrote:

Description of problem:

exec/totem.h defines INTERFACE_MAX to 2. This is very limiting and it is not
coherent with the rest of the cluster stack.

openais limits to 2
kernel dlm to 3
dlm_controld to 4

Those values should be at least alligned to 4 or higher.

In theory a dynamic allocation here would be the winner.

with the default set to 2, configuring 3 rings in openais.conf (passive mode,
since active it totally broken), will lead openais to crash because of memory
corruption (there is no protection within the code to try to init and config
only INTERFACE_MAX).

Version-Release number of selected component (if applicable):

trunk

How reproducible:

always

Steps to Reproduce:
1. given default svn checkout
2. configure INTERFACE_MAX + 1 rings in passive mode
3. fire up aisexec.

(tested on amd64 with glibc-2.7 will report memory corruption detected
by glibc)

Actual results:

aisexec crashes and dies.

Expected results:

should work no matter how many rings i configure. hardcoded limitations are bad
and it is not even documented.

Additional info:

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openais/+bug/176299/comments/0

------------------------------------------------------------------------
On 2008-01-03T19:37:17+00:00 Lon wrote:

*** Bug 424671 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openais/+bug/176299/comments/4

------------------------------------------------------------------------
On 2008-01-04T09:01:28+00:00 Fabio wrote:

The cman crash has been fixed.

Time to address the inconsistency.

Fabio

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openais/+bug/176299/comments/5

------------------------------------------------------------------------
On 2008-01-15T08:48:41+00:00 Steven wrote:

breaks compatability will not be changed in rhel5.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openais/+bug/176299/comments/6

------------------------------------------------------------------------
On 2008-01-15T09:02:08+00:00 Fabio wrote:

It does not need to be fixed in rhel5 but can be done in trunk and
forward releases.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openais/+bug/176299/comments/7


** Changed in: openais (Fedora)
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/176299

Title:
  INTERFACE_MAX is not proper

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openais/+bug/176299/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to