Bug 470630 - stack smashing detected when using drbdadm to create ressources
Summary: stack smashing detected when using drbdadm to create ressources
Status: RESOLVED DUPLICATE of bug 450883
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Final
Hardware: i386 openSUSE 11.1
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Lars Marowsky-Bree
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 15:23 UTC by Kai Schmidt
Modified: 2009-02-20 13:19 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Schmidt 2009-01-29 15:23:33 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.5) Gecko/2008121621 Ubuntu/8.04 (hardy) Firefox/3.0.5

When i try to use the command drbdadm create-md r0 then i get an output like below. so it isn't possible to use drbd on opensuse 11.1. all available patches are installed. the version is: drbd-8.2.7-1.16

----------------- output -------------------------
*** stack smashing detected ***: drbdmeta terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x48)[0xb8031da8]
/lib/libc.so.6(__fortify_fail+0x0)[0xb8031d60]
drbdmeta[0x8049f65]
drbdmeta[0x804a302]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7f61705]
drbdmeta[0x80492e1]
======= Memory map: ========
08048000-08057000 r-xp 00000000 09:00 549138     /sbin/drbdmeta
08057000-08058000 r--p 0000e000 09:00 549138     /sbin/drbdmeta
08058000-08059000 rw-p 0000f000 09:00 549138     /sbin/drbdmeta
08059000-0807a000 rw-p 08059000 00:00 0          [heap]
b7f19000-b7f26000 r-xp 00000000 09:00 2711871    /lib/libgcc_s.so.1
b7f26000-b7f27000 r--p 0000c000 09:00 2711871    /lib/libgcc_s.so.1
b7f27000-b7f28000 rw-p 0000d000 09:00 2711871    /lib/libgcc_s.so.1
b7f28000-b7f4b000 rw-p b7f28000 00:00 0 
b7f4b000-b80a0000 r-xp 00000000 09:00 2711565    /lib/libc-2.9.so
b80a0000-b80a1000 ---p 00155000 09:00 2711565    /lib/libc-2.9.so
b80a1000-b80a3000 r--p 00155000 09:00 2711565    /lib/libc-2.9.so
b80a3000-b80a4000 rw-p 00157000 09:00 2711565    /lib/libc-2.9.so
b80a4000-b80a7000 rw-p b80a4000 00:00 0 
b80af000-b80b0000 rw-p b80af000 00:00 0 
b80b0000-b80ce000 r-xp 00000000 09:00 2712006    /lib/ld-2.9.so
b80ce000-b80cf000 r--p 0001d000 09:00 2712006    /lib/ld-2.9.so
b80cf000-b80d0000 rw-p 0001e000 09:00 2712006    /lib/ld-2.9.so
bfabb000-bfad0000 rw-p bffeb000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
*** stack smashing detected ***: drbdmeta terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x48)[0xb7eb9da8]
/lib/libc.so.6(__fortify_fail+0x0)[0xb7eb9d60]
drbdmeta[0x8049f65]
drbdmeta[0x804a302]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7de9705]
drbdmeta[0x80492e1]
======= Memory map: ========
08048000-08057000 r-xp 00000000 09:00 549138     /sbin/drbdmeta
08057000-08058000 r--p 0000e000 09:00 549138     /sbin/drbdmeta
08058000-08059000 rw-p 0000f000 09:00 549138     /sbin/drbdmeta
08059000-0807a000 rw-p 08059000 00:00 0          [heap]
b7da1000-b7dae000 r-xp 00000000 09:00 2711871    /lib/libgcc_s.so.1
b7dae000-b7daf000 r--p 0000c000 09:00 2711871    /lib/libgcc_s.so.1
b7daf000-b7db0000 rw-p 0000d000 09:00 2711871    /lib/libgcc_s.so.1
b7db0000-b7dd3000 rw-p b7db0000 00:00 0 
b7dd3000-b7f28000 r-xp 00000000 09:00 2711565    /lib/libc-2.9.so
b7f28000-b7f29000 ---p 00155000 09:00 2711565    /lib/libc-2.9.so
b7f29000-b7f2b000 r--p 00155000 09:00 2711565    /lib/libc-2.9.so
b7f2b000-b7f2c000 rw-p 00157000 09:00 2711565    /lib/libc-2.9.so
b7f2c000-b7f2f000 rw-p b7f2c000 00:00 0 
b7f37000-b7f38000 rw-p b7f37000 00:00 0 
b7f38000-b7f56000 r-xp 00000000 09:00 2712006    /lib/ld-2.9.so
b7f56000-b7f57000 r--p 0001d000 09:00 2712006    /lib/ld-2.9.so
b7f57000-b7f58000 rw-p 0001e000 09:00 2712006    /lib/ld-2.9.so
bfc42000-bfc57000 rw-p bffeb000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]


Reproducible: Always

Steps to Reproduce:
1. install drbd
2. edit /etc/drbd.conf
3. try to initialize with drbdadm create-md r0
Actual Results:  
*** stack smashing detected ***: drbdmeta terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x48)[0xb8031da8]
/lib/libc.so.6(__fortify_fail+0x0)[0xb8031d60]
drbdmeta[0x8049f65]
drbdmeta[0x804a302]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7f61705]
drbdmeta[0x80492e1]
======= Memory map: ========
08048000-08057000 r-xp 00000000 09:00 549138     /sbin/drbdmeta
08057000-08058000 r--p 0000e000 09:00 549138     /sbin/drbdmeta
08058000-08059000 rw-p 0000f000 09:00 549138     /sbin/drbdmeta
08059000-0807a000 rw-p 08059000 00:00 0          [heap]
b7f19000-b7f26000 r-xp 00000000 09:00 2711871    /lib/libgcc_s.so.1
b7f26000-b7f27000 r--p 0000c000 09:00 2711871    /lib/libgcc_s.so.1
b7f27000-b7f28000 rw-p 0000d000 09:00 2711871    /lib/libgcc_s.so.1
b7f28000-b7f4b000 rw-p b7f28000 00:00 0 
b7f4b000-b80a0000 r-xp 00000000 09:00 2711565    /lib/libc-2.9.so
b80a0000-b80a1000 ---p 00155000 09:00 2711565    /lib/libc-2.9.so
b80a1000-b80a3000 r--p 00155000 09:00 2711565    /lib/libc-2.9.so
b80a3000-b80a4000 rw-p 00157000 09:00 2711565    /lib/libc-2.9.so
b80a4000-b80a7000 rw-p b80a4000 00:00 0 
b80af000-b80b0000 rw-p b80af000 00:00 0 
b80b0000-b80ce000 r-xp 00000000 09:00 2712006    /lib/ld-2.9.so
b80ce000-b80cf000 r--p 0001d000 09:00 2712006    /lib/ld-2.9.so
b80cf000-b80d0000 rw-p 0001e000 09:00 2712006    /lib/ld-2.9.so
bfabb000-bfad0000 rw-p bffeb000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
*** stack smashing detected ***: drbdmeta terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x48)[0xb7eb9da8]
/lib/libc.so.6(__fortify_fail+0x0)[0xb7eb9d60]
drbdmeta[0x8049f65]
drbdmeta[0x804a302]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7de9705]
drbdmeta[0x80492e1]
======= Memory map: ========
08048000-08057000 r-xp 00000000 09:00 549138     /sbin/drbdmeta
08057000-08058000 r--p 0000e000 09:00 549138     /sbin/drbdmeta
08058000-08059000 rw-p 0000f000 09:00 549138     /sbin/drbdmeta
08059000-0807a000 rw-p 08059000 00:00 0          [heap]
b7da1000-b7dae000 r-xp 00000000 09:00 2711871    /lib/libgcc_s.so.1
b7dae000-b7daf000 r--p 0000c000 09:00 2711871    /lib/libgcc_s.so.1
b7daf000-b7db0000 rw-p 0000d000 09:00 2711871    /lib/libgcc_s.so.1
b7db0000-b7dd3000 rw-p b7db0000 00:00 0 
b7dd3000-b7f28000 r-xp 00000000 09:00 2711565    /lib/libc-2.9.so
b7f28000-b7f29000 ---p 00155000 09:00 2711565    /lib/libc-2.9.so
b7f29000-b7f2b000 r--p 00155000 09:00 2711565    /lib/libc-2.9.so
b7f2b000-b7f2c000 rw-p 00157000 09:00 2711565    /lib/libc-2.9.so
b7f2c000-b7f2f000 rw-p b7f2c000 00:00 0 
b7f37000-b7f38000 rw-p b7f37000 00:00 0 
b7f38000-b7f56000 r-xp 00000000 09:00 2712006    /lib/ld-2.9.so
b7f56000-b7f57000 r--p 0001d000 09:00 2712006    /lib/ld-2.9.so
b7f57000-b7f58000 rw-p 0001e000 09:00 2712006    /lib/ld-2.9.so
bfc42000-bfc57000 rw-p bffeb000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
Comment 1 Lars Marowsky-Bree 2009-02-20 13:19:43 UTC
Please try the packages from server:ha-clustering:Factory.

*** This bug has been marked as a duplicate of bug 450883 ***