[LLVMbugs] [Bug 15965] New: [powerpc-darwin8] stage-2 ADT unit tests crash

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 10 11:21:42 PDT 2013


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

            Bug ID: 15965
           Summary: [powerpc-darwin8] stage-2 ADT unit tests crash
           Product: new-bugs
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Keywords: miscompilation
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: fang at csl.cornell.edu
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 15901
    Classification: Unclassified

After suspecting miscompilation from PR 15901, I thought it best to check the
basic core libraries first.
Stage 2 is compiled with -O0 -no-integrated-as -fPIC -fno-common.

[fangism:gcc40-stage2-build/unittests/ADT] fang% gdb ./ADTTests 
GNU gdb 6.3.50-20050815 (Apple version gdb-696) (Sat Oct 20 18:20:28 GMT 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwin"...
warning: --arch option not supported in this gdb.
Reading symbols for shared libraries ........ done

(gdb) run
Starting program:
/Volumes/Isolde/builds/LLVM/gcc40-stage2-build/unittests/ADT/ADTTests 
tcsh: Word too long.
Reading symbols for shared libraries .+++ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000008
0x00366128 in testing::internal::UnitTestImpl::RunAllTests ()
(gdb) where
#0  0x00366128 in testing::internal::UnitTestImpl::RunAllTests ()
#1  0x0038e628 in
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
bool> ()
#2  0x00384e28 in
testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
bool> ()
#3  0x00365f44 in testing::UnitTest::Run ()
#4  0x003e0308 in main ()

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130510/3d839bb7/attachment.html>


More information about the llvm-bugs mailing list