From: Jean-Rene Cormier <jean-rene.cormier@cipanb.ca>
To: Steven Dake <sdake@mvista.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: mkraid segfault
Date: 10 Feb 2003 19:40:29 -0400 [thread overview]
Message-ID: <1044920450.249.9.camel@forbidden> (raw)
In-Reply-To: <3E48002A.1040901@mvista.com>
This is the output I get with GDB:
(gdb) file mkraid
Reading symbols from mkraid...done.
(gdb) run /dev/md0
Starting program: /usr/src/raidtools-1.00.3/mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hde1, 60051568kB, raid superblock at 60051456kB
Program received signal SIGSEGV, Segmentation fault.
*__GI_fgets_unlocked (buf=0x8059638 "\f$û", n=4096, fp=0x0) at
iofgets_u.c:46
46 old_error = fp->_IO_file_flags & _IO_ERR_SEEN;
(gdb) where
#0 *__GI_fgets_unlocked (buf=0x8059638 "\f$û", n=4096, fp=0x0)
at iofgets_u.c:46
#1 0x400ebb0a in __getmntent_r (stream=0x0, mp=0x40140dfc,
buffer=0x8059638 "\f$û", bufsiz=4096) at mntent_r.c:116
#2 0x400eb99e in getmntent (stream=0x0) at mntent.c:53
#3 0x0804ba8e in sanity_checks ()
#4 0x0804bfb4 in analyze_sb ()
#5 0x08049229 in makeOneRaid ()
#6 0x08049957 in main ()
#7 0x4002deca in __libc_start_main (main=0x80492c0 <main>, argc=2,
ubp_av=0xbffffdd4, init=0x8048cf0 <_init>, fini=0x400143c0
<_rtld_local>,
rtld_fini=0, stack_end=0x1000) at
../sysdeps/generic/libc-start.c:144
Anybody knows what all this means? :)
Jean-Rene Cormier
On Mon, 2003-02-10 at 15:40, Steven Dake wrote:
> compile with the -g flag, run gdb a.out
> and type "where" and give the output to the list
>
> Thanks
> -steve
>
> Jean-Rene Cormier wrote:
>
> >I just compiled the raid-tools 1.00.3 on my Linux 2.4.20 box with Glibc
> >3.2.1. I created the partitions on my 2 HDs with a FD type and when I
> >try to do a mkraid /dev/md0 I get a segfault. Anybody had this problem
> >before?
> >
> >Thanks
> >
> >Jean-Rene Cormier
> >
> >
> >
> >-
> >To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> >the body of a message to majordomo@vger.kernel.org
> >More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
> >
> >
> >
> >
>
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2003-02-10 23:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-10 18:06 mkraid segfault Jean-Rene Cormier
[not found] ` <3E48002A.1040901@mvista.com>
2003-02-10 23:40 ` Jean-Rene Cormier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1044920450.249.9.camel@forbidden \
--to=jean-rene.cormier@cipanb.ca \
--cc=linux-raid@vger.kernel.org \
--cc=sdake@mvista.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).