[LLVMbugs] [Bug 14975] New: clang::OnDiskChainedHashTable<clang::serialization::reader::ASTSelectorLookupTrait>]: Assertion `(reinterpret_cast<uintptr_t>(buckets) & 0x3) == 0 && "buckets should be 4-byte aligned."' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 16 21:24:38 PST 2013


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

             Bug #: 14975
           Summary: clang::OnDiskChainedHashTable<clang::serialization::re
                    ader::ASTSelectorLookupTrait>]: Assertion
                    `(reinterpret_cast<uintptr_t>(buckets) & 0x3) == 0 &&
                    "buckets should be 4-byte aligned."' failed.
           Product: clang
           Version: 3.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: c.royqin at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


clang:
/home/qchen/WorkStation/MxPA/clangocltools/mxpa_compiler/src/upstream/tools/clang/include/clang/Basic/OnDiskHashTable.h:474:
static clang::OnDiskChainedHashTable<Info>*
clang::OnDiskChainedHashTable<Info>::Create(const unsigned char*, const
unsigned char*, const Info&) [with Info =
clang::serialization::reader::ASTSelectorLookupTrait,
clang::OnDiskChainedHashTable<Info> =
clang::OnDiskChainedHashTable<clang::serialization::reader::ASTSelectorLookupTrait>]:
Assertion `(reinterpret_cast<uintptr_t>(buckets) & 0x3) == 0 && "buckets should
be 4-byte aligned."' failed.


Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name
test.cl.c -pic-level 2 -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64
-momit-leaf-frame-pointer -g -resource-dir /usr/local/bin/../lib/clang/3.2
-include-pch /usr/local/bin/../include/kernel_compile/opencl_runtime.h.pch -D
MXPA -I /usr/local/bin/../include/kernel_compile -I /home/qchen
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/local/include -internal-isystem /usr/local/bin/../lib/clang/3.2/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-std=c99 -fdebug-compilation-dir /home/qchen -ferror-limit 19 -fmessage-length
205 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak
-fobjc-fragile-abi -fdiagnostics-show-option -fcolor-diagnostics -o
/tmp/test-QYMcDh.o -x c test.cl.c 
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang: note: diagnostic msg: Preprocessed source(s) and associated run
script(s) are located at:
clang: note: diagnostic msg: /tmp/test-nmYAMp.i
clang: note: diagnostic msg: /tmp/test-nmYAMp.sh

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