Bug 10470 - debug/tst-longjmp_chk2 failed
Summary: debug/tst-longjmp_chk2 failed
Status: RESOLVED DUPLICATE of bug 333
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.11
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-31 17:30 UTC by H.J. Lu
Modified: 2016-06-13 12:53 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2009-07-31 17:30:08 UTC
On Linux/Intel64, with

http://sourceware.org/git/?p=glibc.git;a=commit;h=57dbdb9f07fb20d5dd765c5dc91e31cb67d08b7e

I got

** longjmp causes uninitialized stack frame ***:
/export/build/gnu/glibc-sse/build-x86_64-linux/debug/tst-longjmp_chk2 terminated
======= Backtrace: =========
/export/build/gnu/glibc-sse/build-x86_64-linux/libc.so.6(__fortify_fail+0x37)[0x7ffff7d63fb7]
/export/build/gnu/glibc-sse/build-x86_64-linux/libc.so.6[0x7ffff7d63f6a]
======= Memory map: ========
00400000-00402000 r-xp 00000000 08:21 1665738                           
/export/build/gnu/glibc-sse/build-x86_64-linux/debug/tst-longjmp_chk2
00601000-00602000 r--p 00001000 08:21 1665738                           
/export/build/gnu/glibc-sse/build-x86_64-linux/debug/tst-longjmp_chk2
00602000-00603000 rw-p 00002000 08:21 1665738                           
/export/build/gnu/glibc-sse/build-x86_64-linux/debug/tst-longjmp_chk2
33f7800000-33f7816000 r-xp 00000000 08:15 488647                        
/lib64/libgcc_s-4.3.2-20081105.so.1
33f7816000-33f7a16000 ---p 00016000 08:15 488647                        
/lib64/libgcc_s-4.3.2-20081105.so.1
33f7a16000-33f7a17000 rw-p 00016000 08:15 488647                        
/lib64/libgcc_s-4.3.2-20081105.so.1
7ffff7c77000-7ffff7c79000 rw-p 7ffff7c77000 00:00 0 
7ffff7c79000-7ffff7dd4000 r-xp 00000000 08:21 1510095                   
/export/build/gnu/glibc-sse/build-x86_64-linux/libc.so
7ffff7dd4000-7ffff7fd4000 ---p 0015b000 08:21 1510095                   
/export/build/gnu/glibc-sse/build-x86_64-linux/libc.so
7ffff7fd4000-7ffff7fd8000 r--p 0015b000 08:21 1510095                   
/export/build/gnu/glibc-sse/build-x86_64-linux/libc.so
7ffff7fd8000-7ffff7fd9000 rw-p 0015f000 08:21 1510095                   
/export/build/gnu/glibc-sse/build-x86_64-linux/libc.so
7ffff7fd9000-7ffff7fe0000 rw-p 7ffff7fd9000 00:00 0 
7ffff7fe0000-7ffff7fe1000 r-xp 7ffff7fe0000 00:00 0                      [vdso]
7ffff7fe1000-7ffff7fff000 r-xp 00000000 08:21 1664298                   
/export/build/gnu/glibc-sse/build-x86_64-linux/elf/ld.so
7ffff81fe000-7ffff81ff000 r--p 0001d000 08:21 1664298                   
/export/build/gnu/glibc-sse/build-x86_64-linux/elf/ld.so
7ffff81ff000-7ffff8200000 rw-p 0001e000 08:21 1664298                   
/export/build/gnu/glibc-sse/build-x86_64-linux/elf/ld.so
7ffff8200000-7ffff8222000 rw-p 7ffff8200000 00:00 0                      [heap]
7fffffcff000-7ffffffff000 rw-p 7fffffcff000 00:00 0                      [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Comment 1 Ulrich Drepper 2009-07-31 18:15:18 UTC

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