[llvm-bugs] [Bug 47470] New: Crash while compiling libfaad

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 9 02:28:51 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47470

            Bug ID: 47470
           Summary: Crash while compiling libfaad
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C
          Assignee: unassignedclangbugs at nondot.org
          Reporter: gorinje at gmail.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Created attachment 23941
  --> https://bugs.llvm.org/attachment.cgi?id=23941&action=edit
Source code

<eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module
'/Users/gorinje/project/Bevara_Demo/faad2/libfaad/decoder.c'.
4.      Running pass 'MemCpy Optimization' on function '@NeAACDecInit'
0  libLLVM.dylib            0x0000000101619aa5
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1  libLLVM.dylib            0x0000000101618928 llvm::sys::RunSignalHandlers() +
248
2  libLLVM.dylib            0x0000000101618f60
llvm::sys::CleanupOnSignal(unsigned long) + 208
3  libLLVM.dylib            0x00000001015358fa (anonymous
namespace)::CrashRecoveryContextImpl::HandleCrash(int, unsigned long) + 106
4  libLLVM.dylib            0x0000000101535a8d CrashRecoverySignalHandler(int)
+ 109
5  libsystem_platform.dylib 0x00007fff6b7ce5fd _sigtramp + 29
6  libLLVM.dylib            0x0000000103f6ea64 DebugPMVerbose + 116612
7  libsystem_c.dylib        0x00007fff6b6a4808 abort + 120
8  libsystem_c.dylib        0x00007fff6b6a3ac6 err + 0
9  libLLVM.dylib            0x0000000102aad8d4
llvm::MemoryLocation::getForArgument(llvm::CallBase const*, unsigned int,
llvm::TargetLibraryInfo const*) + 996
10 libLLVM.dylib            0x000000010290d14a
llvm::AAResults::getModRefInfo(llvm::CallBase const*, llvm::MemoryLocation
const&, llvm::AAQueryInfo&) + 522
11 libLLVM.dylib            0x000000010290d714
llvm::AAResults::getModRefInfo(llvm::CallBase const*, llvm::MemoryLocation
const&) + 1284
12 libLLVM.dylib            0x0000000102a9f69a
llvm::MemoryDependenceResults::getCallDependencyFrom(llvm::CallBase*, bool,
llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, true,
false, void>, false, false>, llvm::BasicBlock*) + 602
13 libLLVM.dylib            0x0000000102aa0b0a
llvm::MemoryDependenceResults::getDependency(llvm::Instruction*) + 602
14 libLLVM.dylib            0x00000001025a28b2
llvm::MemCpyOptPass::processMemCpy(llvm::MemCpyInst*,
llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, true,
false, void>, false, false>&) + 578
15 libLLVM.dylib            0x00000001025a3ab2
llvm::MemCpyOptPass::iterateOnFunction(llvm::Function&) + 626
16 libLLVM.dylib            0x00000001025a4295
llvm::MemCpyOptPass::runImpl(llvm::Function&, llvm::MemoryDependenceResults*,
llvm::TargetLibraryInfo*, std::__1::function<llvm::AAResults& ()>,
std::__1::function<llvm::AssumptionCache& ()>,
std::__1::function<llvm::DominatorTree& ()>) + 517
17 libLLVM.dylib            0x00000001025a46d5 (anonymous
namespace)::MemCpyOptLegacyPass::runOnFunction(llvm::Function&) + 389
18 libLLVM.dylib            0x0000000101781446
llvm::FPPassManager::runOnFunction(llvm::Function&) + 966
19 libLLVM.dylib            0x0000000102980a94 (anonymous
namespace)::CGPassManager::runOnModule(llvm::Module&) + 1556
20 libLLVM.dylib            0x0000000101781ac9
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1033
21 libclang-cpp.dylib       0x00000001059629c4
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions
const&, clang::CodeGenOptions const&, clang::TargetOptions const&,
clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*,
clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream,
std::__1::default_delete<llvm::raw_pwrite_stream> >) + 14228
22 libclang-cpp.dylib       0x0000000105c71381
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 1153
23 libclang-cpp.dylib       0x00000001049db523 clang::ParseAST(clang::Sema&,
bool, bool) + 643
24 libclang-cpp.dylib       0x0000000106458883 clang::FrontendAction::Execute()
+ 99
25 libclang-cpp.dylib       0x00000001063ef9d4
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 2324
26 libclang-cpp.dylib       0x00000001064cbdd5
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1509
27 clang                    0x00000001014829e1 cc1_main(llvm::ArrayRef<char
const*>, char const*, void*) + 1985
28 clang                    0x0000000101480948
ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) + 344
29 libclang-cpp.dylib       0x0000000106098c17 void llvm::function_ref<void
()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>
>, std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >*, bool*) const::$_1>(long) + 23
30 libLLVM.dylib            0x000000010153580c
llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 236
31 libclang-cpp.dylib       0x0000000106097f77
clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>
>, std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >*, bool*) const + 375
32 libclang-cpp.dylib       0x0000000106065b4d
clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&,
clang::driver::Command const*&) const + 397
33 libclang-cpp.dylib       0x0000000106065fad
clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&,
llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&)
const + 125
34 libclang-cpp.dylib       0x000000010607f07c
clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&,
llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) +
396
35 clang                    0x000000010148025f main + 10575
36 libdyld.dylib            0x00007fff6b5d5cc9 start + 1
clang-12: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 12.0.0
(/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project
a3036b386383f1c1e9d32c2c8dba995087959da3)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /Users/gorinje/project/Bevara_Demo/emsdk/upstream/bin
clang-12: note: diagnostic msg:

-- 
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/20200909/26268863/attachment.html>


More information about the llvm-bugs mailing list