Bug 441064

Summary: *** stack smashing detected ***: ./namelist_40.exe terminated
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-22 10:55:39 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 235705    

Description Robert Scheck 2008-04-05 14:24:59 EDT
Description of problem:
4027b000-4027d000 r-xp 0016a000 68:02 2965537    /lib/libc-2.7.90.so
4027d000-4027e000 rwxp 0016c000 68:02 2965537    /lib/libc-2.7.90.so
4027e000-40282000 rwxp 4027e000 00:00 0
bfabd000-bfad5000 rw-p bffe7000 00:00 0          [stack]
FAIL: gfortran.dg/namelist_40.f90  -O3 -g  execution test
*** stack smashing detected ***: ./namelist_40.exe terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x48)[0x4020a6f8]
/lib/libc.so.6(__fortify_fail+0x0)[0x4020a6b0]
/usr/src/rpm/BUILD/gcc-4.3.0-20080404/obj-i386-redhat-linux/i386-redhat-linux/./
libgfortran/.libs/libgfortran.so.3[0x400c1224]
/usr/src/rpm/BUILD/gcc-4.3.0-20080404/obj-i386-redhat-linux/i386-redhat-linux/./
libgfortran/.libs/libgfortran.so.3[0x400a315f]
/usr/src/rpm/BUILD/gcc-4.3.0-20080404/obj-i386-redhat-linux/i386-redhat-linux/./
libgfortran/.libs/libgfortran.so.3[0x400a35ff]
/usr/src/rpm/BUILD/gcc-4.3.0-20080404/obj-i386-redhat-linux/i386-redhat-linux/./
libgfortran/.libs/libgfortran.so.3[0x400a8e34]
/usr/src/rpm/BUILD/gcc-4.3.0-20080404/obj-i386-redhat-linux/i386-redhat-linux/./
libgfortran/.libs/libgfortran.so.3(_gfortran_st_read_done+0x11)[0x400a90a1]
./namelist_40.exe[0x8048bfa]
./namelist_40.exe[0x8048d90]
./namelist_40.exe[0x8048e19]
/lib/libc.so.6(__libc_start_main+0xe6)[0x40127606]
./namelist_40.exe[0x80488a1]
======= Memory map: ========
08048000-0804a000 r-xp 00000000 68:02 2476900    /usr/src/rpm/BUILD/gcc-4.3.0-
20080404/obj-i386-redhat-linux/gcc/testsuite/gfortran/namelist_40.exe
0804a000-0804b000 rwxp 00001000 68:02 2476900    /usr/src/rpm/BUILD/gcc-4.3.0-
20080404/obj-i386-redhat-linux/gcc/testsuite/gfortran/namelist_40.exe
0904b000-0906c000 rwxp 0904b000 00:00 0
40000000-4001f000 r-xp 00000000 68:02 2965672    /lib/ld-2.7.90.so
4001f000-40020000 r-xp 0001e000 68:02 2965672    /lib/ld-2.7.90.so
40020000-40021000 rwxp 0001f000 68:02 2965672    /lib/ld-2.7.90.so
40021000-40022000 r-xp 40021000 00:00 0          [vdso]
40022000-40023000 rwxp 40022000 00:00 0
40023000-400d0000 r-xp 00000000 68:02 2427242    /usr/src/rpm/BUILD/gcc-4.3.0-
20080404/obj-i386-redhat-linux/i386-redhat-linux/libgfortran/.libs/
libgfortran.so.3.0.0
400d0000-400d2000 rwxp 000ac000 68:02 2427242    /usr/src/rpm/BUILD/gcc-4.3.0-
20080404/obj-i386-redhat-linux/i386-redhat-linux/libgfortran/.libs/
libgfortran.so.3.0.0
400d9000-40100000 r-xp 00000000 68:02 2965682    /lib/libm-2.7.90.so
40100000-40101000 r-xp 00026000 68:02 2965682    /lib/libm-2.7.90.so
40101000-40102000 rwxp 00027000 68:02 2965682    /lib/libm-2.7.90.so
40102000-4010f000 r-xp 00000000 68:02 2250817    /usr/src/rpm/BUILD/gcc-4.3.0-
20080404/obj-i386-redhat-linux/gcc/libgcc_s.so.1
4010f000-40110000 rwxp 0000c000 68:02 2250817    /usr/src/rpm/BUILD/gcc-4.3.0-
20080404/obj-i386-redhat-linux/gcc/libgcc_s.so.1
40110000-40111000 rwxp 40110000 00:00 0
40111000-4027b000 r-xp 00000000 68:02 2965537    /lib/libc-2.7.90.so
4027b000-4027d000 r-xp 0016a000 68:02 2965537    /lib/libc-2.7.90.so
4027d000-4027e000 rwxp 0016c000 68:02 2965537    /lib/libc-2.7.90.so
4027e000-40282000 rwxp 4027e000 00:00 0
bf972000-bf98a000 rw-p bffe7000 00:00 0          [stack]
FAIL: gfortran.dg/namelist_40.f90  -Os  execution test
Running /usr/src/rpm/BUILD/gcc-4.3.0-20080404/gcc/testsuite/gcc.c-torture/
execute/builtins/builtins.exp ...

Version-Release number of selected component (if applicable):
gcc-4.3.0-6

How reproducible:
No matter, showed up during rebuild of gcc-4.3.0-6.

Expected results:
No unexpected termination.
Comment 1 Jakub Jelinek 2008-04-22 10:55:39 EDT
Should be fixed in gcc-4.3.0-7.