From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jason A. Lixfeld" Subject: RE: [linux-lvm] lvcreate segfault in vg_setup_pointers_for_snapshots Date: Thu, 4 Oct 2001 10:01:09 -0400 Message-ID: <009701c14cdd$06877ab0$836788cf@industry> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit In-Reply-To: <009601c14cc9$27e34db0$836788cf@industry> Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-lvm@sistina.com Since I'm having trouble with rc-4 can I use another version that is still compatible with everything and won't segfault!? :) > -----Original Message----- > From: linux-lvm-admin@sistina.com > [mailto:linux-lvm-admin@sistina.com] On Behalf Of Jason A. Lixfeld > Sent: October 4, 2001 7:39 AM > To: linux-lvm@sistina.com > Subject: RE: [linux-lvm] lvcreate segfault in > vg_setup_pointers_for_snapshots > > > > > Ok, done... > > http://www.andromedas.com/lvm/session.log > > It's 35MB and I'm only on a 3MB DSL connection so it's gonna > take a while to load! :) > > > -----Original Message----- > > From: linux-lvm-admin@sistina.com > > [mailto:linux-lvm-admin@sistina.com] On Behalf Of Andreas Dilger > > Sent: October 4, 2001 2:05 AM > > To: linux-lvm@sistina.com > > Subject: Re: [linux-lvm] lvcreate segfault in > > vg_setup_pointers_for_snapshots > > > > > > > > On Oct 03, 2001 23:46 -0400, Jason A. Lixfeld wrote: > > > Wow! Lots and LOTS of stuff!! Didn't think it was ever going to > > > end!! > > > > Some of it is even useful. Maybe you can include some of the > > stuff at the end, or put it on a web page somewhere. > > > > > Here's what yer looking for: > > > > > > #0 lv_create (vg=0x8, lv=0xbffffb74, > > > lv_name=0xbffffb98 > > > > > > "????????????????????????????????\002???!???,??? > > 01 > > > ???\214???\227???????") > > > at lv_create_remove.c:42 > > > #1 0x0804b03d in strcpy () at ../sysdeps/generic/strcpy.c:31 > > > > So it is dereferencing an uninitialized string (or so it > > appears). It may be that the string is corrupted elsewhere, > > however. I'm surprised that > > lv_check_name() in lv_create_remove() didn't catch this. > > However, this may also be a red herring, since sometimes GDB > > shows junk. > > > > It is also suspicious because the lv and lv_name pointers are > > 0x24 apart, which shouldn't be the case since lv_name is the > > first item in lv_t. > > > > > #2 0x4006c177 in __libc_start_main (main=0x8049390 , > > > argc=8, ubp_av=0xbffffb74, init=0x8048e88 <_init>, > > > fini=0x804b4d0 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, > > > stack_end=0xbffffb6c) at ../sysdeps/generic/libc-start.c:129 > > > > If you try running with "export MALLOC_CHECK_=2 gdb > > /lvcreate", it may give more indication as to where the > > actual corruption is happening. > > > > I just recompiled the tools, and did not have any problems > > with lvcreate, so it must be something strange. > > > > Cheers, Andreas > > -- > > Andreas Dilger \ "If a man ate a pound of pasta and a pound > > of antipasto, > > \ would they cancel out, leaving him > still hungry?" > > http://www-mddsp.enel.ucalgary.ca/People/adilger/ > > -- Dogbert > > > > > > _______________________________________________ > > linux-lvm mailing list > > linux-lvm@sistina.com > > http://lists.sistina.com/mailman/listinfo/linu> x-lvm > > read the > > LVM HOW-TO at > > http://www.sistina.com/lvm/Pages/howto.html > > > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@sistina.com > http://lists.sistina.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html >