Re: dmraid -r -E segfault

Heinz Mauelshagen <[email protected]>
Newsgroups gmane.linux.ataraid
Message-ID <[email protected]>
Jason,

can you send me that metadata for tests, please.
tar/bzip2 the created *.{dat,offset,size} files into
isw-Jason_Gaston-raid1.tar.bz2 and send them in private email to me.

Thanks,
Heinz

On Thu, Jun 28, 2007 at 10:33:34AM -0700, Gaston, Jason D wrote:
> I am seeing a segmentation fault when running [dmraid -r -E] on on an
> isw mirror set.  Here is the gdb output.  This was on the 1.0.0.rc14
> Fedora 7 source.
> 
> Jason
> 
> [root@localhost tools]# gdb --args ./dmraid -r -E -vvv
> GNU gdb Red Hat Linux (6.6-8.fc7rh)
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "x86_64-redhat-linux-gnu"...
> Using host libthread_db library "/lib64/libthread_db.so.1".
> (gdb) r
> Starting program: /usr/src/redhat/SOURCES/dmraid/1.0.0.rc14/tools/dmraid
> -r -E -vvv
> WARN: locking /var/lock/dmraid/.lock
> NOTICE: /dev/sda: asr     discovering
> NOTICE: /dev/sda: ddf1    discovering
> NOTICE: /dev/sda: hpt37x  discovering
> NOTICE: /dev/sda: hpt45x  discovering
> NOTICE: /dev/sda: isw     discovering
> NOTICE: /dev/sda: jmicron discovering
> NOTICE: /dev/sda: lsi     discovering
> NOTICE: /dev/sda: nvidia  discovering
> NOTICE: /dev/sda: pdc     discovering
> NOTICE: /dev/sda: sil     discovering
> NOTICE: /dev/sda: via     discovering
> NOTICE: /dev/sdb: asr     discovering
> NOTICE: /dev/sdb: ddf1    discovering
> NOTICE: /dev/sdb: hpt37x  discovering
> NOTICE: /dev/sdb: hpt45x  discovering
> NOTICE: /dev/sdb: isw     discovering
> NOTICE: writing metadata file "sdb_isw.dat"
> NOTICE: writing offset to file "sdb_isw.offset"
> NOTICE: writing size to file "sdb_isw.size"
> NOTICE: /dev/sdb: isw metadata discovered
> NOTICE: /dev/sdb: jmicron discovering
> NOTICE: /dev/sdb: lsi     discovering
> NOTICE: /dev/sdb: nvidia  discovering
> NOTICE: /dev/sdb: pdc     discovering
> NOTICE: /dev/sdb: sil     discovering
> NOTICE: /dev/sdb: via     discovering
> NOTICE: /dev/sdc: asr     discovering
> NOTICE: /dev/sdc: ddf1    discovering
> NOTICE: /dev/sdc: hpt37x  discovering
> NOTICE: /dev/sdc: hpt45x  discovering
> NOTICE: /dev/sdc: isw     discovering
> NOTICE: writing metadata file "sdc_isw.dat"
> NOTICE: writing offset to file "sdc_isw.offset"
> NOTICE: writing size to file "sdc_isw.size"
> NOTICE: /dev/sdc: isw metadata discovered
> NOTICE: /dev/sdc: jmicron discovering
> NOTICE: /dev/sdc: lsi     discovering
> NOTICE: /dev/sdc: nvidia  discovering
> NOTICE: /dev/sdc: pdc     discovering
> NOTICE: /dev/sdc: sil     discovering
> NOTICE: /dev/sdc: via     discovering
> NOTICE: /dev/sdd: asr     discovering
> NOTICE: /dev/sdd: ddf1    discovering
> NOTICE: /dev/sdd: hpt37x  discovering
> NOTICE: /dev/sdd: hpt45x  discovering
> NOTICE: /dev/sdd: isw     discovering
> NOTICE: /dev/sdd: jmicron discovering
> NOTICE: /dev/sdd: lsi     discovering
> NOTICE: /dev/sdd: nvidia  discovering
> NOTICE: /dev/sdd: pdc     discovering
> NOTICE: /dev/sdd: sil     discovering
> NOTICE: /dev/sdd: via     discovering
> NOTICE: /dev/sde: asr     discovering
> NOTICE: /dev/sde: ddf1    discovering
> NOTICE: /dev/sde: hpt37x  discovering
> NOTICE: /dev/sde: hpt45x  discovering
> NOTICE: /dev/sde: isw     discovering
> NOTICE: /dev/sde: jmicron discovering
> NOTICE: /dev/sde: lsi     discovering
> NOTICE: /dev/sde: nvidia  discovering
> NOTICE: /dev/sde: pdc     discovering
> NOTICE: /dev/sde: sil     discovering
> NOTICE: /dev/sde: via     discovering
> Do you really want to erase "isw" ondisk metadata on /dev/sdb ? [y/n] :y
> NOTICE: Erasing metadata on /dev/sdb
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000004144fe in isw_write (lc=0x6315a0, rd=0x632cd0, erase=1)
>     at format/ataraid/isw.c:376
> 376             rd->meta_areas->area += ISW_DISK_BLOCK_SIZE;
> (gdb) 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
Storage Development                               56242 Marienrachdorf
                                                  Germany
[email protected]                            PHONE +49  171 7803392
                                                  FAX   +49 2626 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.