[LLVMbugs] [Bug 22747] New: Regression(r230930): Assertion `!DWARFBytes.empty() && "DebugLocEntry not finalized?"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 1 20:34:45 PST 2015


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

            Bug ID: 22747
           Summary: Regression(r230930): Assertion `!DWARFBytes.empty() &&
                    "DebugLocEntry not finalized?"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

http://build.chromium.org/p/chromium.fyi/builders/ClangToTAndroidASan/builds/100/steps/compile/logs/stdio


FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF
obj.host/third_party/icu/source/i18n/icui18n.astro.o.d
-DU_USING_ICU_NAMESPACE=0 -DHAVE_DLOPEN=0 -DUCONFIG_NO_NON_HTML5_CONVERSION=1
-DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL
-DCHROMIUM_BUILD -DCR_CLANG_REVISION=230931 -DCOMPONENT_BUILD
-DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS
-DENABLE_BROWSER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS
-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY
-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA
-DADDRESS_SANITIZER -DMEMORY_TOOL_REPLACES_ALLOCATOR
-DMEMORY_SANITIZER_INITIAL_SIZE -DENABLE_AUTOFILL_DIALOG=1 -DCLD_VERSION=1
-DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SUPERVISED_USERS=1
-DVIDEO_HOLE=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DU_I18N_IMPLEMENTATION
-DU_ENABLE_DYLOAD=0 -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG
-I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -Igen
-fstack-protector --param=ssp-buffer-size=4  -pthread -fno-strict-aliasing
-Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe
-fPIC -Wno-reserved-user-defined-literal -fcolor-diagnostics -Wheader-hygiene
-Wno-char-subscripts -Wno-unneeded-internal-declaration
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing
-Wno-deprecated-register -Wno-inconsistent-missing-override
-Wno-deprecated-declarations -Wno-logical-op-parentheses
-Wno-tautological-compare -Wno-return-type-c-linkage
-Wno-deprecated-declarations -Wno-format -m32 -Os -g -gdwarf-4 -fdata-sections
-ffunction-sections -fomit-frame-pointer -funwind-tables
-Wno-undefined-bool-conversion -Wno-tautological-undefined-compare
-fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden
-std=gnu++11 -frtti -Wno-deprecated  -c
../../third_party/icu/source/i18n/astro.cpp -o
obj.host/third_party/icu/source/i18n/icui18n.astro.o
clang-3.7:
/b/build/slave/ClangToTAndroidASan/build/src/third_party/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h:157:
llvm::StringRef llvm::DebugLocEntry::getDWARFBytes() const: Assertion
`!DWARFBytes.empty() && "DebugLocEntry not finalized?"' failed.
0  clang-3.7 0x0000000001733682 llvm::sys::PrintStackTrace(_IO_FILE*) + 34
1  clang-3.7 0x00000000017318a1
2  libc.so.6 0x00007fd7a8f80d40
3  libc.so.6 0x00007fd7a8f80cc9 gsignal + 57
4  libc.so.6 0x00007fd7a8f840d8 abort + 328
5  libc.so.6 0x00007fd7a8f79b86
6  libc.so.6 0x00007fd7a8f79c32
7  clang-3.7 0x0000000001935ff2
llvm::DwarfDebug::emitDebugLocEntry(llvm::ByteStreamer&, llvm::DebugLocEntry
const&) + 482
8  clang-3.7 0x00000000019360e4
llvm::DwarfDebug::emitDebugLocEntryLocation(llvm::DebugLocEntry const&) + 180
9  clang-3.7 0x00000000019361ed llvm::DwarfDebug::emitDebugLoc() + 221
10 clang-3.7 0x00000000019467fe llvm::DwarfDebug::endModule() + 126
11 clang-3.7 0x000000000192c586 llvm::AsmPrinter::doFinalization(llvm::Module&)
+ 502
12 clang-3.7 0x0000000001440fcb
llvm::FPPassManager::doFinalization(llvm::Module&) + 107
13 clang-3.7 0x000000000144ab77
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 887
14 clang-3.7 0x0000000001b271dd
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) +
1629
15 clang-3.7 0x0000000001b16886
16 clang-3.7 0x0000000001f2b753 clang::ParseAST(clang::Sema&, bool, bool) + 483
17 clang-3.7 0x0000000001b175be clang::CodeGenAction::ExecuteAction() + 78
18 clang-3.7 0x00000000018a1536 clang::FrontendAction::Execute() + 118
19 clang-3.7 0x0000000001882429
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 345
20 clang-3.7 0x0000000001917f1e
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2014
21 clang-3.7 0x00000000008fe6f8 cc1_main(llvm::ArrayRef<char const*>, char
const*, void*) + 1384
22 clang-3.7 0x00000000008d447b main + 4635
23 libc.so.6 0x00007fd7a8f6bec5 __libc_start_main + 245
24 clang-3.7 0x00000000008facf8
Stack dump:
0.    Program arguments:
/b/build/slave/ClangToTAndroidASan/build/src/third_party/llvm-build/Release+Asserts/bin/clang-3.7
-cc1 -triple i386-unknown-linux-gnu -emit-obj -disable-free -main-file-name
astro.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu pentium4 -momit-leaf-frame-pointer
-gdwarf-4 -dwarf-column-info -ffunction-sections -fdata-sections -coverage-file
/b/build/slave/ClangToTAndroidASan/build/src/out/Debug/obj.host/third_party/icu/source/i18n/icui18n.astro.o
-resource-dir
/b/build/slave/ClangToTAndroidASan/build/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.7.0
-dependency-file obj.host/third_party/icu/source/i18n/icui18n.astro.o.d -MT
obj.host/third_party/icu/source/i18n/icui18n.astro.o -D U_USING_ICU_NAMESPACE=0
-D HAVE_DLOPEN=0 -D UCONFIG_NO_NON_HTML5_CONVERSION=1 -D
V8_DEPRECATION_WARNINGS -D _FILE_OFFSET_BITS=64 -D NO_TCMALLOC -D DISABLE_NACL
-D CHROMIUM_BUILD -D CR_CLANG_REVISION=230931 -D COMPONENT_BUILD -D
USE_LIBJPEG_TURBO=1 -D ENABLE_WEBRTC=1 -D USE_PROPRIETARY_CODECS -D
ENABLE_BROWSER_CDMS -D ENABLE_CONFIGURATION_POLICY -D ENABLE_NOTIFICATIONS -D
DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -D
SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -D DONT_EMBED_BUILD_METADATA -D
ADDRESS_SANITIZER -D MEMORY_TOOL_REPLACES_ALLOCATOR -D
MEMORY_SANITIZER_INITIAL_SIZE -D ENABLE_AUTOFILL_DIALOG=1 -D CLD_VERSION=1 -D
ENABLE_PRINTING=1 -D ENABLE_BASIC_PRINTING=1 -D ENABLE_SUPERVISED_USERS=1 -D
VIDEO_HOLE=1 -D V8_USE_EXTERNAL_STARTUP_DATA -D U_I18N_IMPLEMENTATION -D
U_ENABLE_DYLOAD=0 -D USE_LIBPCI=1 -D USE_OPENSSL=1 -D USE_OPENSSL_CERTS=1 -D
DYNAMIC_ANNOTATIONS_ENABLED=1 -D WTF_USE_DYNAMIC_ANNOTATIONS=1 -D _DEBUG -I
../../third_party/icu/source/common -I ../../third_party/icu/source/i18n -I gen
-internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8/32
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/i386-linux-gnu/c++/4.8
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/backward
-internal-isystem /usr/local/include -internal-isystem
/b/build/slave/ClangToTAndroidASan/build/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.7.0/include
-internal-externc-isystem /usr/include/i386-linux-gnu -internal-externc-isystem
/include -internal-externc-isystem /usr/include -Os -Wno-unused-parameter
-Wno-missing-field-initializers -Wno-reserved-user-defined-literal
-Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing
-Wno-deprecated-register -Wno-inconsistent-missing-override
-Wno-deprecated-declarations -Wno-logical-op-parentheses
-Wno-tautological-compare -Wno-return-type-c-linkage
-Wno-deprecated-declarations -Wno-format -Wno-undefined-bool-conversion
-Wno-tautological-undefined-compare -Wno-deprecated -std=gnu++11
-fdebug-compilation-dir /b/build/slave/ClangToTAndroidASan/build/src/out/Debug
-ferror-limit 19 -fmessage-length 0 -fvisibility hidden
-fvisibility-inlines-hidden -pthread -stack-protector 1
-stack-protector-buffer-size 4 -mstackrealign -fno-threadsafe-statics
-fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -o
obj.host/third_party/icu/source/i18n/icui18n.astro.o -x c++
../../third_party/icu/source/i18n/astro.cpp 
1.    <eof> parser at end of file
2.    Code generation


Regression range is r230930 or r230931, and the former looks much more related.

-- 
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/20150302/df1f9c1a/attachment.html>


More information about the llvm-bugs mailing list