mdadm crashed with SIGSEGV in __fnmatch()

Bug #997315 reported by François Maillet on 2012-05-09
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mdadm (Ubuntu)
High
Dimitri John Ledkov
Precise
High
Dimitri John Ledkov
Quantal
High
Dimitri John Ledkov

Bug Description

I was performing a dist upgrade from 11.10 to 12.04 in a tmux. Went away and got this error.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: mdadm 3.2.3-2ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Wed May 9 09:40:43 2012
ExecutablePath: /sbin/mdadm
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MDadmExamine.dev.sda:
 /dev/sda:
    MBR Magic : aa55
 Partition[0] : 150390625 sectors at 63 (type 83)
 Partition[1] : 5910530 sectors at 150390782 (type 05)
MDadmExamine.dev.sda1:
 /dev/sda1:
    MBR Magic : aa55
MDadmExamine.dev.sda2:
 /dev/sda2:
    MBR Magic : aa55
 Partition[0] : 5910528 sectors at 2 (type 82)
MDadmExamine.dev.sda5: Error: command ['/sbin/mdadm', '-E', '/dev/sda5'] failed with exit code 1: mdadm: No md superblock detected on /dev/sda5.
MDadmExamine.dev.sdc:
 /dev/sdc:
    MBR Magic : aa55
 Partition[0] : 976768002 sectors at 63 (type fd)
MDadmExamine.dev.sdd:
 /dev/sdd:
    MBR Magic : aa55
 Partition[0] : 976768002 sectors at 63 (type fd)
MDadmExamine.dev.sde:
 /dev/sde:
    MBR Magic : aa55
 Partition[0] : 976768002 sectors at 63 (type fd)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcCmdline: /sbin/mdadm --detail --scan
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-14-generic root=UUID=06a3a2a1-b1c1-43a5-adc3-1002b42dd660 ro quiet splash vt.handoff=7
ProcMDstat:
 Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
 md0 : active raid5 sdb1[3] sde1[0] sdd1[2] sdc1[1]
       1465151808 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

 unused devices: <none>
SegvAnalysis:
 Segfault happened at: 0x7fc69f136b91: movdqu (%rdi),%xmm1
 PC (0x7fc69f136b91) ok
 source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%xmm1" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: mdadm
StacktraceTop:
 ?? () from /lib/x86_64-linux-gnu/libc.so.6
 fnmatch () from /lib/x86_64-linux-gnu/libc.so.6
 ?? ()
 ?? ()
 ?? ()
Title: mdadm crashed with SIGSEGV in fnmatch()
UpgradeStatus: Upgraded to precise on 2012-05-09 (0 days ago)
UserGroups:

dmi.bios.date: 11/14/2005
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1017.002
dmi.board.name: A8V Deluxe
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1017.002:bd11/14/2005:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASUSTeKComputerInc.:rnA8VDeluxe:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
etc.blkid.tab: <device DEVNO="0x0841" TIME="1336571423.541689" UUID="bb2b20ae-a5b6-e4bf-345a-719cee0e83b4" TYPE="linux_raid_member">/dev/sde1</device>

François Maillet (fmaillet-d) wrote :

StacktraceTop:
 __fnmatch (pattern=0x7fff0d88dab0 "/dev/sde1", string=0x0, flags=1) at fnmatch.c:460
 match_oneof (devices=0x2532189 ",/dev/sdc1,/dev/sdd1,/dev/sdb1", devname=0x0) at config.c:959
 conf_match (st=0x2532790, info=0x2535e40, devname=0x0, verbose=0, rvp=0x0) at config.c:1050
 RebuildMap () at mapfile.c:434
 map_read (melp=0x7fff0d890610) at mapfile.c:201

Changed in mdadm (Ubuntu):
importance: Undecided → Medium
summary: - mdadm crashed with SIGSEGV in fnmatch()
+ mdadm crashed with SIGSEGV in __fnmatch()
tags: removed: need-amd64-retrace
Steve Langasek (vorlon) on 2012-05-21
Changed in mdadm (Ubuntu Precise):
milestone: none → ubuntu-12.04.1
importance: Undecided → High
Changed in mdadm (Ubuntu Quantal):
importance: Medium → High
visibility: private → public
Changed in mdadm (Ubuntu Precise):
assignee: nobody → Dmitrijs Ledkovs (dmitrij.ledkov)
Changed in mdadm (Ubuntu Quantal):
assignee: nobody → Dmitrijs Ledkovs (dmitrij.ledkov)
To post a comment you must log in.