dlm_controld.pcmk segfault
Bug #571612 reported by
Oliver Heinz
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Red Hat Cluster |
Fix Released
|
Medium
|
|||
redhat-cluster (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Anyone who uses link aggregation (me), bridging, and vlans are affect due to the time required to bring up the network after reboot. Corosync comes up and dlm segfaults. This has been fixed upstream, and the fix is included in Maverick+.
Upstream bugreport and patch [1]. Patch commited upstream [2]. Discussion about the issue [3].
[1]: https:/
[2]: http://
[3]: http://
Changed in redhat-cluster (Ubuntu): | |
status: | Triaged → In Progress |
importance: | Medium → High |
description: | updated |
Changed in redhatcluster: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.
Created attachment 409748
Andrew Beekhof's patch to fix this issue
Description of problem:
dlm_controld.pcmk segfaults on startup if network uses vlan, bonding or bridging and corosync/pacemaker is invoked too early
Version-Release number of selected component (if applicable):
bug and patch testet on 3.0.7 ubuntu lucid packages
How reproducible:
Configure any of the obove on top of the raw interface and start corosync before the network settles.
Additional info: oss.clusterlabs .org/pipermail/ pacemaker/ 2010-April/ 005954. html
The issue is discussed here http://
Andrew Beekhof <email address hidden> posted the attached patch that fixes this issue.
gdb output is: x86_64/ multiarch/ ../strlen. S:31 x86_64/ multiarch/ ../strlen. S x86_64/ multiarch/ ../strlen. S:31 packages/ redhat- cluster/ 3.0.7/redhat- cluster- 3.0.7/group/ dlm_controld/ pacemaker. c:136 table_foreach (hash_table= 0x1866050, func=0x403e40 <dlm_process_node>, user_data=0x62a4f8) at /build/ buildd/ glib2.0- 2.24.0/ glib/ghash. c:1325 packages/ redhat- cluster/ 3.0.7/redhat- cluster- 3.0.7/group/ dlm_controld/ pacemaker. c:82 packages/ redhat- cluster/ 3.0.7/redhat- cluster- 3.0.7/group/ dlm_controld/ main.c: 986 packages/ redhat- cluster/ 3.0.7/redhat- cluster- 3.0.7/group/ dlm_controld/ main.c: 1295
Core was generated by `dlm_controld.pcmk -q 0'.
Program terminated with signal 11, Segmentation fault.
#0 __strlen_sse2 () at ../sysdeps/
in ../sysdeps/
#0 __strlen_sse2 () at ../sysdeps/
#1 0x00007f499565cd46 in *__GI___strdup (s=0x0) at strdup.c:42
#2 0x0000000000403f0c in dlm_process_node (key=<value optimized out>, value=0x1864a30, user_data=0x62a4f8) at /usr/src/
#3 0x00007f4995cdbd73 in IA__g_hash_
#4 0x0000000000403c9e in update_cluster () at /usr/src/
#5 0x0000000000415a4a in loop () at /usr/src/
#6 0x000000000041659c in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/
hth,
Oliver