Bug 523262 - mdmon segfaults
Summary: mdmon segfaults
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Doug Ledford
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-14 16:16 UTC by Harald Hoyer
Modified: 2009-09-15 19:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-15 19:26:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Harald Hoyer 2009-09-14 16:16:42 UTC
# 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 16:19:10 UTC
# 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 18:45:07 UTC
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.