lvcreate segfalts 2.4.16 1.0.1-rc4
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@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!
Signature · 1 line
Jesse Nelson
To clarify.. I compiled rc2 with the patch mentioned.
Quoted 51 lines · Jesse Nelson
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.htmlAbout 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@vader 1.0.1-rc2]# gdb lvcreate
<snip>(gdb) r -L 15G -n data vgData
Starting program:/sbin/lvcreate-L 15G -n data vgDataProgram 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 intlv_create(vg_t*vg,lv_t*lv, char*lv_name) {
(gdb) info stack
#0lv_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
#10x0804b03din strcpy ()
#20x4007e507in__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!
Signature · 4 lines
Jesse Nelson -)îÆ[æ(tm)¨¥?x%?Ëe?{±-ù¬?Ëb?§(?m§ÿå?Ël²+-?voe¢oæj)fj?å?Ëb?ú?-)îÆ[ææ?¶?TÁÎY3?¶m§ÿðÃ"²Ø§iÊ&þ[æüö zÏá£h?Ù¥
Signature · 1 line
Jesse Nelson
Quoted 1 line · Jesse Nelson
Stock 2.4.16 and 1.0.1-rc4 LVM runing on RedHat 7.2 ( egcs 2.96
It's a Redhat compiler problem. You need to compile with -O0 or download 1.0.1
patrick