Bug 523262 - mdmon segfaults
mdmon segfaults
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: mdadm (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Doug Ledford
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-14 12:16 EDT by Harald Hoyer
Modified: 2009-09-15 15:26 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-09-15 15:26:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Harald Hoyer 2009-09-14 12:16:42 EDT
# rpm -qf /sbin/mdmon 
mdadm-3.0-2.fc12.i686

# uname -r
2.6.31-2.fc12.i686

# gdb mdmon
(gdb) run /proc/mdstat
Starting program: /sbin/mdmon /proc/mdstat

Program received signal SIGSEGV, Segmentation fault.
0x0804acff in main (argc=2, argv=0xbffff734) at mdmon.c:306
306				if (strncmp(e->metadata_version, "external:", 9) == 0 &&
(gdb) info locals
mdstat = 0x8084170
e = 0x8084170
container_name = <value optimized out>
switchroot = 0x0
devnum = <value optimized out>
devname = <value optimized out>
status = 0
(gdb) bt
#0  0x0804acff in main (argc=2, argv=0xbffff734) at mdmon.c:306
(gdb) print e->metadata_version
$1 = 0x0
(gdb) quit
Comment 1 Harald Hoyer 2009-09-14 12:19:10 EDT
# cat /proc/mdstat 
Personalities : [raid6] [raid5] [raid4] 
md127 : active raid5 sda3[0] sda6[2] sda5[1]
      40959744 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      
unused devices: <none>
Comment 2 Doug Ledford 2009-09-15 14:45:07 EDT
This appears resolved by the update to the latest git version of mdadm.

Note You need to log in before you can comment on or make changes to this bug.