[linux-lvm] lvcreate segfalts 2.4.16 1.0.1-rc4
Jesse Nelson
jnelson at military-inc.com
Fri Dec 7 02:38:01 UTC 2001
Stock 2.4.16 and 1.0.1-rc4 LVM runing on RedHat 7.2 ( egcs 2.96
I read this post:
http://lists.sistina.com/pipermail/linux-lvm/2001-September/008980.html
About rc2 having same issue.
I compiled and patched with the patch mentioned in that post and it
seems to be working.
heres the stack info for rc4:
[root at vader 1.0.1-rc2]# gdb lvcreate
<snip>
(gdb) r -L 15G -n data vgData
Starting program: /sbin/lvcreate -L 15G -n data vgData
Program received signal SIGSEGV, Segmentation fault.
lv_create (vg=0x6, lv=0xbffffa44,
lv_name=0xbffffa60
"\206ûÿ¿\236ûÿ¿ûÿ¿Âûÿ¿Úûÿ¿üûÿ¿\eüÿ¿'üÿ¿1üÿ¿ôýÿ¿\023þÿ¿-þÿ¿Bþÿ¿Yþÿ¿dþÿ¿wþÿ¿\204þÿ¿\214þÿ¿\234þÿ¿ªþÿ¿¸þÿ¿Éþÿ¿×þÿ¿ùþÿ¿\022ÿÿ¿\035ÿÿ¿'ÿÿ¿Zÿÿ¿Úÿÿ¿")
at lv_create_remove.c:42
42 int lv_create ( vg_t *vg, lv_t *lv, char *lv_name) {
(gdb) info stack
#0 lv_create (vg=0x6, lv=0xbffffa44,
lv_name=0xbffffa60
"\206ûÿ¿\236ûÿ¿ûÿ¿Âûÿ¿Úûÿ¿üûÿ¿\eüÿ¿'üÿ¿1üÿ¿ôýÿ¿\023þÿ¿-þÿ¿Bþÿ¿Yþÿ¿dþÿ¿wþÿ¿\204þÿ¿\214þÿ¿\234þÿ¿ªþÿ¿¸þÿ¿Éþÿ¿×þÿ¿ùþÿ¿\022ÿÿ¿\035ÿÿ¿'ÿÿ¿Zÿÿ¿Úÿÿ¿")
at lv_create_remove.c:42
#1 0x0804b03d in strcpy ()
#2 0x4007e507 in __libc_start_main (main=0x8049390 <strcpy+384>, argc=6,
ubp_av=0xbffffa44, init=0x8048e88 <_init>, fini=0x804b4d0 <_fini>,
rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffffa3c)
at ../sysdeps/generic/libc-start.c:129
(gdb)
I will compile with debuging if it will help.
Thanks!
--
Jesse Nelson
More information about the linux-lvm
mailing list