[LLVMbugs] [Bug 10891] New: doduc Polyhedron 2005 benchmark segfaults when built with -msse4 -ffast-math -funroll-loops -O3 -fplugin-arg-dragonegg-enable-gcc-optzns

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 8 08:35:55 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10891

           Summary: doduc Polyhedron 2005 benchmark segfaults when built
                    with -msse4 -ffast-math -funroll-loops -O3
                    -fplugin-arg-dragonegg-enable-gcc-optzns
           Product: dragonegg
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: howarth at nitro.med.uc.edu
                CC: llvmbugs at cs.uiuc.edu


At r139290, the doduc Polyhedron 2005 benchmark built with...

/sw/lib/gcc4.6/bin/gfortran -fplugin=/sw/lib/gcc4.6/lib/dragonegg.so -msse4
-ffast-math -funroll-loops -O3 -fplugin-arg-dragonegg-enable-gcc-optzns
doduc.f90 -o doduc

segfaults during execution...

[MacPro:pb05/lin/source] howarth% ./doduc
 MAIN : FIN S00002
 MAIN : FIN S00001
 MAIN : FIN S00011
 MAIN : FIN S00022
 TEMPS =     33.00000000 , NITERA :          1
 TEMPS =     34.00010010 , NITERA :        190
 TEMPS =     35.00473527 , NITERA :        952
 TEMPS =     36.00310365 , NITERA :       1518
 TEMPS =     37.00295766 , NITERA :       1790
 TEMPS =     38.00173154 , NITERA :       2096
 TEMPS =     39.00214237 , NITERA :       2407
 TEMPS =     40.00105777 , NITERA :       2715
 TEMPS =     45.00109540 , NITERA :       4262
 TEMPS =     50.00123507 , NITERA :       5885
 TEMPS =     55.00131498 , NITERA :       7531
 TEMPS =     60.00042238 , NITERA :       9419
Segmentation fault

which backtraces as...

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00007ffb5fbfe9b0
s00061_ (i=<value temporarily unavailable, due to optimizations>,
hv=@0x7fff5fbfed30, hvt=@0x7fff5fbfed28, hvme=<value temporarily unavailable,
due to optimizations>, hvms=<value temporarily unavailable, due to
optimizations>, ynu=@0x7fff5fbfed10, tfl=@0x7fff5fbfed40, re=<value temporarily
unavailable, due to optimizations>, iopt=@0x10001ffb4, dtfl=@0x7fff5fbfed00) at
doduc.f90:568
568          y1 = y(i1)
(gdb) bt
#0  s00061_ (i=<value temporarily unavailable, due to optimizations>,
hv=@0x7fff5fbfed30, hvt=@0x7fff5fbfed28, hvme=<value temporarily unavailable,
due to optimizations>, hvms=<value temporarily unavailable, due to
optimizations>, ynu=@0x7fff5fbfed10, tfl=@0x7fff5fbfed40, re=<value temporarily
unavailable, due to optimizations>, iopt=@0x10001ffb4, dtfl=@0x7fff5fbfed00) at
doduc.f90:568
#1  0x000000010000e1b6 in s00013_ () at doduc.f90:1150
Previous frame inner to this frame (gdb could not unwind past this frame)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list