Bug#444682: mdadm segfault at super1.c:1004

martin f krafft madduck at debian.org
Sun Sep 30 11:34:56 UTC 2007


retitle 444682 mdadm segfault at super1.c:100 on amd64
tags 444682 help
thanks

also sprach Daniel van Eeden <daniel_e at dds.nl> [2007.09.30.1125 +0100]:
> Package: mdadm
> Version: 2.6.3+200709292116+4450e59-1
> Severity: critical
> Justification: breaks the whole system

Lovely. This is exactly why I sent
  http://lists.debian.org/debian-devel/2007/09/msg00712.html

Oh well, I think this is an amd64-specific problem. Daniel, are you
around today to debug this? Or anyone else with amd64? I don't have
an amd64 machine around to test this for another three weeks, so I'd
really appreciate if someone else stepped in.

A version of the binary with debugging symbols is available here:

  http://scratch.madduck.net/debian__pkg__mdadm__mdadm__mdadm
  size:416964 md5:e2744a35914946efb3e839f092cc7b9d

Or even better, git the code:

  apt-get install git-core
  git clone git://git.debian.org/git/pkg-mdadm/mdadm
  cd mdadm
  git checkout -b $LOGNAME-debug-segv
  make
  // while segv
  gdb mdadm ...
  // edit file
  // git add file
  // git commit -m'log message'
  // done

When you're done, you can submit a patch easily:

  git checkout -b temp-squash master
  git merge --squash $LOGNAME-debug-segv
  git commit // ... remove the "Squashed commit of the following:" leader
  git format-patch -M -s master
  // now inspect the files this created in $PWD
  // when you're ready to submit, do:
  git send-email --to your at email.address 
  // check that it's okay when it arrives
  git send-email --to pkg-mdadm-devel at lists.alioth.debian.org 

Thanks!

-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20070930/263b9e85/attachment.pgp 


More information about the pkg-mdadm-devel mailing list