[MacPorts] #68658: bsdtar crashes with dyld missing symbol

MacPorts noreply at macports.org
Wed Nov 8 09:21:21 UTC 2023


#68658: bsdtar crashes with dyld missing symbol
------------------------+--------------------
 Reporter:  PerMildner  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:
------------------------+--------------------
 Something like the following often happens when I do `sudo port upgrade
 outdated`.

 {{{
 -------------------------------------
 Translated Report (Full Report Below)
 -------------------------------------

 Process:               bsdtar [72528]
 Path:                  /opt/local/bin/bsdtar
 Identifier:            bsdtar
 Version:               ???
 Code Type:             X86-64 (Native)
 Parent Process:        tclsh8.6 [72518]
 Responsible:           Emacs-x86_64-10_14 [1074]
 User ID:               0

 Date/Time:             2023-11-08 10:15:18.1561 +0100
 OS Version:            macOS 13.6.1 (22G313)
 Report Version:        12
 Bridge OS Version:     8.1 (21P1069)
 Anonymous UUID:        0B3FD7AE-CD61-E7F1-5BBA-25341183702C

 Sleep/Wake UUID:       4A798EDD-FE76-4E04-A49B-2F9F16D0F35F

 Time Awake Since Boot: 650000 seconds
 Time Since Wake:       856 seconds

 System Integrity Protection: enabled

 Crashed Thread:        0

 Exception Type:        EXC_CRASH (SIGABRT)
 Exception Codes:       0x0000000000000000, 0x0000000000000000

 Termination Reason:    Namespace DYLD, Code 4 Symbol missing
 Symbol not found: _lzma_cputhreads
 Referenced from: <EAC1F2A3-C365-3B4B-997E-5AF3244D631F>
 /opt/local/lib/libarchive.13.dylib
 Expected in:     <77FF8999-1AB6-326B-90EE-F96C63299803>
 /usr/lib/liblzma.5.dylib
 (terminated at launch; ignore backtrace)

 Thread 0 Crashed:
 0   dyld                                    0x7ff80cd3ac52
 __abort_with_payload + 10
 1   dyld                                    0x7ff80cd54fd7
 abort_with_payload_wrapper_internal + 82
 2   dyld                                    0x7ff80cd55009
 abort_with_payload + 9
 3   dyld                                    0x7ff80ccd98f0
 dyld4::halt(char const*) + 375
 4   dyld                                    0x7ff80ccd6b71
 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4526
 5   dyld                                    0x7ff80ccd53bd start + 1805


 Thread 0 crashed with X86 Thread State (64-bit):
   rax: 0x0000000002000209  rbx: 0x0000000000000000  rcx:
 0x00007ff7be7db268  rdx: 0x00007ff7be7db6d0
   rdi: 0x0000000000000006  rsi: 0x0000000000000004  rbp:
 0x00007ff7be7db2b0  rsp: 0x00007ff7be7db268
    r8: 0x00007ff7be7db2d0   r9: 0x0000000000000000  r10:
 0x0000000000000061  r11: 0x0000000000000246
   r12: 0x0000000000000061  r13: 0x00007ff7be7db6d0  r14:
 0x0000000000000004  r15: 0x0000000000000006
   rip: 0x00007ff80cd3ac52  rfl: 0x0000000000000246  cr2:
 0x0000000000000000

 Logical CPU:     0
 Error Code:      0x02000209
 Trap Number:     133


 Binary Images:
        0x101723000 -        0x10172efff bsdtar (*) <7d1ba33f-
 6a74-3323-aef7-ded132795449> /opt/local/bin/bsdtar
        0x101827000 -        0x1018b2fff libarchive.13.dylib (*)
 <eac1f2a3-c365-3b4b-997e-5af3244d631f> /opt/local/lib/libarchive.13.dylib
        0x1019eb000 -        0x101aeefff libiconv.2.dylib (*)
 <53f687f6-88a6-3f39-92b2-8a1ae884ab0d> /opt/local/lib/libiconv.2.dylib
        0x10179f000 -        0x1017bafff liblzo2.2.dylib (*)
 <629c6816-92b6-3323-b99b-8f98db244b4a> /opt/local/lib/liblzo2.2.dylib
        0x101b03000 -        0x101baefff libzstd.1.5.5.dylib (*)
 <313f9964-ad79-3129-94ca-d5e477daf7f0> /opt/local/lib/libzstd.1.5.5.dylib
        0x1017ea000 -        0x101809fff liblz4.1.9.4.dylib (*)
 <7206faf2-3cfd-3774-b282-ed4b384a66e1> /opt/local/lib/liblz4.1.9.4.dylib
        0x101789000 -        0x101790fff libb2.1.dylib (*) <1c9c266e-b15f-
 34e8-a966-7b4c5300a7f4> /opt/local/lib/libb2.1.dylib
        0x1018d3000 -        0x1018e6fff libbz2.1.0.8.dylib (*) <c596b77c-
 a43e-3592-85ec-94083337d7c2> /opt/local/lib/libbz2.1.0.8.dylib
        0x1018f3000 -        0x101906fff libz.1.3.dylib (*) <29a0416b-29be-
 3f0f-b445-092ceb18dbd3> /opt/local/lib/libz.1.3.dylib
        0x101cd4000 -        0x101daffff libxml2.2.dylib (*)
 <f3fa095a-e685-3a41-b435-445590ec2187> /opt/local/lib/libxml2.2.dylib
        0x10208c000 -        0x102213fff libicui18n.73.2.dylib (*)
 <377e14a3-41a5-341d-a134-e56bb1cf6248>
 /opt/local/lib/libicui18n.73.2.dylib
        0x102330000 -        0x10245bfff libicuuc.73.2.dylib (*)
 <5019c2d1-a418-34a7-8e7a-39b5c0490abf> /opt/local/lib/libicuuc.73.2.dylib
        0x10436d000 -        0x1061fcfff libicudata.73.2.dylib (*)
 <ceca8248-f42c-350e-bc32-da7d4418569e>
 /opt/local/lib/libicudata.73.2.dylib
     0x7ff80cccf000 -     0x7ff80cd675ef dyld (*)
 <3df96f32-b9c9-3566-a6b7-4daebc6d6563> /usr/lib/dyld

 External Modification Summary:
   Calls made by other processes targeting this process:
     task_for_pid: 0
     thread_create: 0
     thread_set_state: 0
   Calls made by this process:
     task_for_pid: 0
     thread_create: 0
     thread_set_state: 0
   Calls made by all processes on this machine:
     task_for_pid: 0
     thread_create: 0
     thread_set_state: 0

 VM Region Summary:
 ReadOnly portion of Libraries: Total=215.0M resident=0K(0%)
 swapped_out_or_unallocated=215.0M(100%)
 Writable regions: Total=9.9M written=0K(0%) resident=0K(0%)
 swapped_out=0K(0%) unallocated=9.9M(100%)

                                 VIRTUAL   REGION
 REGION TYPE                        SIZE    COUNT (non-coalesced)
 ===========                     =======  =======
 STACK GUARD                       54.4M        1
 Stack                             9788K        1
 VM_ALLOCATE                          8K        2
 __DATA                             328K       44
 __DATA_CONST                       583K       46
 __DATA_DIRTY                        63K       23
 __LINKEDIT                       172.8M       14
 __OBJC_RO                         66.3M        1
 __OBJC_RW                         2013K        2
 __TEXT                            42.2M       55
 dyld private memory                260K        2
 shared memory                        4K        1
 ===========                     =======  =======
 TOTAL                            348.5M      192



 -----------
 Full Report
 -----------

 {"app_name":"bsdtar","timestamp":"2023-11-08 10:15:19.00
 +0100","app_version":"","slice_uuid":"7d1ba33f-
 6a74-3323-aef7-ded132795449","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS
 13.6.1 (22G313)","roots_installed":0,"incident_id":"892BD8E3-E3BC-4DDE-
 999B-6FB8B14EDB06","name":"bsdtar"}
 {
   "uptime" : 650000,
   "procRole" : "Unspecified",
   "version" : 2,
   "userID" : 0,
   "deployVersion" : 210,
   "modelCode" : "MacBookPro16,1",
   "coalitionID" : 20609,
   "osVersion" : {
     "train" : "macOS 13.6.1",
     "build" : "22G313",
     "releaseType" : "User"
   },
   "captureTime" : "2023-11-08 10:15:18.1561 +0100",
   "incident" : "892BD8E3-E3BC-4DDE-999B-6FB8B14EDB06",
   "pid" : 72528,
   "cpuType" : "X86-64",
   "roots_installed" : 0,
   "bug_type" : "309",
   "procLaunch" : "2023-11-08 10:15:18.1284 +0100",
   "procStartAbsTime" : 659311515649774,
   "procExitAbsTime" : 659311528306549,
   "procName" : "bsdtar",
   "procPath" : "\/opt\/local\/bin\/bsdtar",
   "parentProc" : "tclsh8.6",
   "parentPid" : 72518,
   "coalitionName" : "org.gnu.Emacs",
   "crashReporterKey" : "0B3FD7AE-CD61-E7F1-5BBA-25341183702C",
   "responsiblePid" : 1074,
   "responsibleProc" : "Emacs-x86_64-10_14",
   "codeSigningID" : "",
   "codeSigningTeamID" : "",
   "codeSigningValidationCategory" : 0,
   "codeSigningTrustLevel" : 0,
   "wakeTime" : 856,
   "bridgeVersion" : {"build":"21P1069","train":"8.1"},
   "sleepWakeUUID" : "4A798EDD-FE76-4E04-A49B-2F9F16D0F35F",
   "sip" : "enabled",
   "exception" : {"codes":"0x0000000000000000,
 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
   "termination" :
 {"code":4,"flags":518,"namespace":"DYLD","indicator":"Symbol
 missing","details":["(terminated at launch; ignore
 backtrace)"],"reasons":["Symbol not found: _lzma_cputhreads","Referenced
 from: <EAC1F2A3-C365-3B4B-997E-5AF3244D631F>
 \/opt\/local\/lib\/libarchive.13.dylib","Expected in:     <77FF8999-1AB6
 -326B-90EE-F96C63299803> \/usr\/lib\/liblzma.5.dylib"]},
   "extMods" :
 {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
   "faultingThread" : 0,
   "threads" :
 [{"triggered":true,"id":7132021,"threadState":{"r13":{"value":140702029559504},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":4},"rsi":{"value":4},"r8":{"value":140702029558480},"cr2":{"value":0},"rdx":{"value":140702029559504},"r10":{"value":97},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":140703343815762,"matchesCrashFrame":1},"rbp":{"value":140702029558448},"rsp":{"value":140702029558376},"r12":{"value":97},"rcx":{"value":140702029558376},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":441426,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":13},{"imageOffset":548823,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":82,"imageIndex":13},{"imageOffset":548873,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":13},{"imageOffset":43248,"symbol":"dyld4::halt(char
 const*)","symbolLocation":375,"imageIndex":13},{"imageOffset":31601,"symbol":"dyld4::prepare(dyld4::APIs&,
 dyld3::MachOAnalyzer
 const*)","symbolLocation":4526,"imageIndex":13},{"imageOffset":25533,"symbol":"start","symbolLocation":1805,"imageIndex":13}]}],
   "usedImages" : [
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4319227904,
     "size" : 49152,
     "uuid" : "7d1ba33f-6a74-3323-aef7-ded132795449",
     "path" : "\/opt\/local\/bin\/bsdtar",
     "name" : "bsdtar"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4320292864,
     "size" : 573440,
     "uuid" : "eac1f2a3-c365-3b4b-997e-5af3244d631f",
     "path" : "\/opt\/local\/lib\/libarchive.13.dylib",
     "name" : "libarchive.13.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4322144256,
     "size" : 1064960,
     "uuid" : "53f687f6-88a6-3f39-92b2-8a1ae884ab0d",
     "path" : "\/opt\/local\/lib\/libiconv.2.dylib",
     "name" : "libiconv.2.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4319735808,
     "size" : 114688,
     "uuid" : "629c6816-92b6-3323-b99b-8f98db244b4a",
     "path" : "\/opt\/local\/lib\/liblzo2.2.dylib",
     "name" : "liblzo2.2.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4323291136,
     "size" : 704512,
     "uuid" : "313f9964-ad79-3129-94ca-d5e477daf7f0",
     "path" : "\/opt\/local\/lib\/libzstd.1.5.5.dylib",
     "name" : "libzstd.1.5.5.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4320043008,
     "size" : 131072,
     "uuid" : "7206faf2-3cfd-3774-b282-ed4b384a66e1",
     "path" : "\/opt\/local\/lib\/liblz4.1.9.4.dylib",
     "name" : "liblz4.1.9.4.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4319645696,
     "size" : 32768,
     "uuid" : "1c9c266e-b15f-34e8-a966-7b4c5300a7f4",
     "path" : "\/opt\/local\/lib\/libb2.1.dylib",
     "name" : "libb2.1.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4320997376,
     "size" : 81920,
     "uuid" : "c596b77c-a43e-3592-85ec-94083337d7c2",
     "path" : "\/opt\/local\/lib\/libbz2.1.0.8.dylib",
     "name" : "libbz2.1.0.8.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4321128448,
     "size" : 81920,
     "uuid" : "29a0416b-29be-3f0f-b445-092ceb18dbd3",
     "path" : "\/opt\/local\/lib\/libz.1.3.dylib",
     "name" : "libz.1.3.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4325195776,
     "size" : 901120,
     "uuid" : "f3fa095a-e685-3a41-b435-445590ec2187",
     "path" : "\/opt\/local\/lib\/libxml2.2.dylib",
     "name" : "libxml2.2.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4329095168,
     "size" : 1605632,
     "uuid" : "377e14a3-41a5-341d-a134-e56bb1cf6248",
     "path" : "\/opt\/local\/lib\/libicui18n.73.2.dylib",
     "name" : "libicui18n.73.2.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4331864064,
     "size" : 1228800,
     "uuid" : "5019c2d1-a418-34a7-8e7a-39b5c0490abf",
     "path" : "\/opt\/local\/lib\/libicuuc.73.2.dylib",
     "name" : "libicuuc.73.2.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 4365668352,
     "size" : 32047104,
     "uuid" : "ceca8248-f42c-350e-bc32-da7d4418569e",
     "path" : "\/opt\/local\/lib\/libicudata.73.2.dylib",
     "name" : "libicudata.73.2.dylib"
   },
   {
     "source" : "P",
     "arch" : "x86_64",
     "base" : 140703343374336,
     "size" : 624112,
     "uuid" : "3df96f32-b9c9-3566-a6b7-4daebc6d6563",
     "path" : "\/usr\/lib\/dyld",
     "name" : "dyld"
   }
 ],
   "sharedCache" : {
   "base" : 140703342751744,
   "size" : 21474836480,
   "uuid" : "6bc51ea1-6f37-3cc3-907e-56f0e3ae6ab0"
 },
   "vmSummary" : "ReadOnly portion of Libraries: Total=215.0M
 resident=0K(0%) swapped_out_or_unallocated=215.0M(100%)\nWritable regions:
 Total=9.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%)
 unallocated=9.9M(100%)\n\n                                VIRTUAL   REGION
 \nREGION TYPE                        SIZE    COUNT (non-coalesced)
 \n===========                     =======  ======= \nSTACK GUARD
 54.4M        1 \nStack                             9788K        1
 \nVM_ALLOCATE                          8K        2 \n__DATA
 328K       44 \n__DATA_CONST                       583K       46
 \n__DATA_DIRTY                        63K       23 \n__LINKEDIT
 172.8M       14 \n__OBJC_RO                         66.3M        1
 \n__OBJC_RW                         2013K        2 \n__TEXT
 42.2M       55 \ndyld private memory                260K        2 \nshared
 memory                        4K        1 \n===========
 =======  ======= \nTOTAL                            348.5M      192 \n",
   "legacyInfo" : {
   "threadTriggered" : {

   }
 },
   "logWritingSignature" : "20de20f8cae021e64842772c4ed38ccb02db7438",
   "trialInfo" : {
   "rollouts" : [
     {
       "rolloutId" : "645c2d2f9e69a025b0a37e29",
       "factorPackIds" : {

       },
       "deploymentId" : 240000003
     },
     {
       "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
       "factorPackIds" : {

       },
       "deploymentId" : 240000021
     }
   ],
   "experiments" : [
     {
       "treatmentId" : "a092db1b-c401-44fa-9c54-518b7d69ca61",
       "experimentId" : "64a844035c85000c0f42398a",
       "deploymentId" : 400000019
     }
   ]
 }
 }

 Model: MacBookPro16,1, BootROM 2020.41.1.0.0 (iBridge: 21.16.1069.0.0,0),
 8 processors, 8-Core Intel Core i9, 2,3 GHz, 32 GB, SMC
 Graphics: Intel UHD Graphics 630, Intel UHD Graphics 630, Built-In
 Graphics: AMD Radeon Pro 5500M, AMD Radeon Pro 5500M, PCIe, 8 GB
 Display: Color LCD, 3072 x 1920 Retina, MirrorOff, Online
 Display: PHL 329P1, 6720 x 3780, Main, MirrorOff, Online
 Display: DELL U2713HM, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition),
 MirrorOff, Online
 Memory Module: BANK 0/ChannelA-DIMM0, 16 GB, DDR4, 2667 MHz, SK Hynix,
 HMAA2GS6CMR8K-VK
 Memory Module: BANK 2/ChannelB-DIMM0, 16 GB, DDR4, 2667 MHz, SK Hynix,
 HMAA2GS6CMR8K-VK
 AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Dec  9
 2022 17:02:25 version 9.30.492.0.32.5.87 FWID 01-e7856862
 Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
 Network Service: Wi-Fi, AirPort, en0
 PCI Card: pci1b73,1100, USB eXtensible Host Controller, Thunderbolt at 72,0,0
 PCI Card: ethernet, Ethernet Controller, Thunderbolt at 71,0,0
 PCI Card: pci8086,15d4, USB eXtensible Host Controller, Thunderbolt at 73,0,0
 USB Device: PSSD T7 Shield
 USB Device: XS2000
 USB Device: USB31Bus
 USB Device: USB31Bus
 USB Device: USB3.2 Hub
 USB Device: USB 10/100/1000 LAN
 USB Device: USB2.1 Hub
 USB Device: USB30Bus
 USB Device: USB audio CODEC
 USB Device: Keyboard Hub
 USB Device: Apple Keyboard
 USB Device: T2Bus
 USB Device: composite_device
 USB Device: Touch Bar Backlight
 USB Device: Touch Bar Display
 USB Device: Apple Internal Keyboard / Trackpad
 USB Device: Headset
 USB Device: Ambient Light Sensor
 USB Device: FaceTime HD Camera (Built-in)
 USB Device: Apple T2 Controller
 Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
 Thunderbolt Device: Thunderbolt 3 Express Dock HD, Belkin International,
 Inc., 3, 19.1
 Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68658>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list