[LLVMbugs] [Bug 12217] New: clang crashes in GetOrCreateValue on i586 [x86_64 works]

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 9 09:38:19 PST 2012


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

             Bug #: 12217
           Summary: clang crashes in GetOrCreateValue on i586 [x86_64
                    works]
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: johannesobermayr at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


The weird thing is same version is working on OBS build hosts:
e. g.:
https://build.opensuse.org/package/live_build_log?arch=i586&package=Mesa&project=home%3Ajobermayr&repository=openSUSE_12.1

$ gdb clang
GNU gdb (GDB) SUSE (7.3-41.1.2)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/clang...Reading symbols from
/usr/lib/debug/usr/bin/clang-3.1.debug...done.
done.
(gdb) run
Starting program: /usr/bin/clang 
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /usr/lib/libstdc++.so.6
Try: zypper install -C
"debuginfo(build-id)=85d8e10166789a622528c526ab981732d4c7e9ab"
warning: the debug information found in
"/usr/lib/debug//lib/libc-2.14.1.so.debug" does not match "/lib/libc.so.6" (CRC
mismatch).

warning: the debug information found in
"/usr/lib/debug/lib/libc-2.14.1.so.debug" does not match "/lib/libc.so.6" (CRC
mismatch).

Missing separate debuginfo for /lib/libc.so.6
Try: zypper install -C
"debuginfo(build-id)=e69cea53d5cd4ac868b4ba6ae71b1ba15d978e7f"
Missing separate debuginfo for /lib/libgcc_s.so.1
Try: zypper install -C
"debuginfo(build-id)=781d12a4ff2a2c129a7b17b5329ffa772b7ade87"

Program received signal SIGILL, Illegal instruction.
0xb7075e76 in GetOrCreateValue (this=<optimized out>, this=<optimized out>,
this=<optimized out>, Key=<optimized out>)
    at /usr/src/debug/llvm/include/llvm/ADT/StringMap.h:374
374         return GetOrCreateValue(Key, ValueTy());
(gdb) bt
#0  0xb7075e76 in GetOrCreateValue (this=<optimized out>, this=<optimized out>,
this=<optimized out>, Key=<optimized out>)
    at /usr/src/debug/llvm/include/llvm/ADT/StringMap.h:374
#1  getPassArgument (this=<optimized out>, Str=Unhandled dwarf expression
opcode 0x0
) at /usr/src/debug/llvm/lib/VMCore/PassRegistry.cpp:303
#2  llvm::PassRegistry::registerPass (this=<optimized out>, PI=<optimized out>,
ShouldFree=<optimized out>)
    at /usr/src/debug/llvm/lib/VMCore/PassRegistry.cpp:112
#3  0xb7c60ba8 in global constructors keyed to a () from
/usr/lib/libLLVMHexagonCodeGen.so
#4  0xb7c93ddd in __do_global_ctors_aux () from
/usr/lib/libLLVMHexagonCodeGen.so
#5  0xb7c5f60d in _init () from /usr/lib/libLLVMHexagonCodeGen.so
#6  0xbffff004 in ?? ()
#7  0xbffff25f in ?? ()
#8  0x524e5456 in ?? ()
#9  0x4c00373d in ?? ()
#10 0x4b535345 in ?? ()
#11 0x2f3d5945 in ?? ()
#12 0x2f637465 in ?? ()
#13 0x7373656c in ?? ()
#14 0x2e79656b in ?? ()
#15 0x006e6962 in ?? ()
#16 0x50544e4e in ?? ()
#17 0x56524553 in ?? ()
#18 0x6e3d5245 in ?? ()
#19 0x00737765 in ?? ()
#20 0x504e414d in ?? ()
#21 0x3d485441 in ?? ()
#22 0x7273752f in ?? ()
#23 0x636f6c2f in ?? ()
#24 0x6d2f6c61 in ?? ()
#25 0x2f3a6e61 in ?? ()
#26 0x2f727375 in ?? ()
#27 0x61636f6c in ?? ()
#28 0x68732f6c in ?? ()
#29 0x2f657261 in ?? ()
#30 0x3a6e616d in ?? ()
#31 0x7273752f in ?? ()
#32 0x6168732f in ?? ()
#33 0x6d2f6572 in ?? ()
#34 0x58006e61 in ?? ()
#35 0x535f4744 in ?? ()
#36 0x49535345 in ?? ()
#37 0x495f4e4f in ?? ()
#38 0x31633d44 in ?? ()
#39 0x45444b00 in ?? ()
#40 0x4c554d5f in ?? ()
#41 0x45484954 in ?? ()
---Type <return> to continue, or q <return> to quit---q

-- 
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