[llvm-bugs] [Bug 50820] New: lld/mac crashes linking ffmpeg

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 23 11:19:12 PDT 2021


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

            Bug ID: 50820
           Summary: lld/mac crashes linking ffmpeg
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MachO
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: gkm at fb.com, jezreel at gmail.com,
                    llvm-bugs at lists.llvm.org, smeenai at fb.com

https://drive.google.com/file/d/1cuYEWBoBOCrRws-MqSRnO0mUqKh5yV2Q/view?usp=sharing


(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x3c)
  * frame #0: 0x00000001002f3a84 ld64.lld`::isCodeSection() at
InputSection.cpp:227:37 [opt]
    frame #1: 0x0000000100315752 ld64.lld`::finalize() [inlined] operator() at
UnwindInfoSection.cpp:300:24 [opt]
    frame #2: 0x000000010031573d ld64.lld`::finalize() [inlined]
addEntriesForFunctionsWithoutUnwindInfo<unsigned long long> at
UnwindInfoSection.cpp:314 [opt]
    frame #3: 0x00000001003156d0 ld64.lld`::finalize() at
UnwindInfoSection.cpp:338 [opt]
    frame #4: 0x0000000100332c62 ld64.lld`::assignAddresses() at
Writer.cpp:1047:11 [opt]
    frame #5: 0x000000010032a66a ld64.lld`::finalizeAddresses() at
Writer.cpp:998:5 [opt]
    frame #6: 0x0000000100324925 ld64.lld`::writeResult<lld::macho::LP64>()
[inlined] run<lld::macho::LP64> at Writer.cpp:1125:3 [opt]
    frame #7: 0x00000001003239c1 ld64.lld`::writeResult<lld::macho::LP64>() at
Writer.cpp:1131 [opt]
    frame #8: 0x00000001002d1909 ld64.lld`::link() at Driver.cpp:1351:7 [opt]
    frame #9: 0x0000000100001244 ld64.lld`::lldMain() at lld.cpp:152:13 [opt]
    frame #10: 0x0000000100000cd5 ld64.lld`main at lld.cpp:206:12 [opt]
    frame #11: 0x00007fff726d9cc9 libdyld.dylib`start + 1
    frame #12: 0x00007fff726d9cc9 libdyld.dylib`start + 1


Hmmm I have a feeling where this might have regressed...

-- 
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/20210623/b1b85e66/attachment.html>


More information about the llvm-bugs mailing list