[MacPorts] #68489: scantailor @0.2.9: Library not loaded: '/opt/local/lib/libicuuc.72.dylib' (was: Scantailor stopped working after upgrading macports)

MacPorts noreply at macports.org
Tue Oct 17 17:20:06 UTC 2023


#68489: scantailor @0.2.9: Library not loaded: '/opt/local/lib/libicuuc.72.dylib'
-------------------------+----------------------
  Reporter:  bountonw    |      Owner:  rdbisme
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  scantailor  |
-------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * priority:  High => Normal
 * keywords:  fails to open =>
 * owner:  (none) => rdbisme


Old description:

> After upgrading macports, scan tailor fails to open. The error message is
> below.
>
> -------------------------------------
> Translated Report (Full Report Below)
> -------------------------------------
>
> Process:               ScanTailor [5835]
> Path:
> /Applications/MacPorts/ScanTailor.app/Contents/MacOS/ScanTailor
> Identifier:            com.github.ScantailorUniversal
> Version:               ScanTailor-0.2.9 (???)
> Code Type:             X86-64 (Native)
> Parent Process:        launchd [1]
> User ID:               501
>
> Date/Time:             2023-10-17 20:48:39.2775 +0700
> OS Version:            macOS 12.6.3 (21G419)
> Report Version:        12
> Anonymous UUID:        688A01F5-03A3-0EF3-56CE-7691905DE11A
>

> Time Awake Since Boot: 2400 seconds
>
> System Integrity Protection: enabled
>
> Crashed Thread:        0
>
> Exception Type:        EXC_CRASH (SIGABRT)
> Exception Codes:       0x0000000000000000, 0x0000000000000000
> Exception Note:        EXC_CORPSE_NOTIFY
>
> Termination Reason:    Namespace DYLD, Code 1 Library missing
> Library not loaded: '/opt/local/lib/libicuuc.72.dylib'
> Referenced from:
> '/opt/local/libexec/*/QtCore.framework/Versions/5/QtCore'
> Reason: tried: '/opt/local/lib/libicuuc.72.dylib' (no such file), '' (no
> such file), '' (no such file)
> (terminated at launch; ignore backtrace)
>
> Thread 0 Crashed:
> 0   dyld                                       0x10fbf998e
> __abort_with_payload + 10
> 1   dyld                                       0x10fc0fa72
> abort_with_payload_wrapper_internal + 80
> 2   dyld                                       0x10fc0faa4
> abort_with_payload + 9
> 3   dyld                                       0x10fbbd699
> dyld4::halt(char const*) + 615
> 4   dyld                                       0x10fbb95b5
> dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3995
> 5   dyld                                       0x10fbb84e4 start + 388
>

> Thread 0 crashed with X86 Thread State (64-bit):
>   rax: 0x0000000002000209  rbx: 0x0000000000000000  rcx:
> 0x00007ff7bd036cf8  rdx: 0x00007ff7bd037160
>   rdi: 0x0000000000000006  rsi: 0x0000000000000001  rbp:
> 0x00007ff7bd036d40  rsp: 0x00007ff7bd036cf8
>    r8: 0x00007ff7bd036d60   r9: 0x0000000000000000  r10:
> 0x0000000000000073  r11: 0x0000000000000246
>   r12: 0x0000000000000073  r13: 0x00007ff7bd037160  r14:
> 0x0000000000000001  r15: 0x0000000000000006
>   rip: 0x000000010fbf998e  rfl: 0x0000000000000246  cr2:
> 0x0000000103a0d000
>
> Logical CPU:     0
> Error Code:      0x02000209
> Trap Number:     133
>

> Binary Images:
>        0x10fbb3000 -        0x10fc1efff dyld (*) <006a3e6f-
> 3cd3-34d9-b0f2-ed6bd67a95a6> /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=857.3M resident=0K(0%)
> swapped_out_or_unallocated=857.3M(100%)
> Writable regions: Total=9316K written=0K(0%) resident=0K(0%)
> swapped_out=0K(0%) unallocated=9316K(100%)
>
>                                 VIRTUAL   REGION
> REGION TYPE                        SIZE    COUNT (non-coalesced)
> ===========                     =======  =======
> ObjC additional data                15K        1
> STACK GUARD                       56.0M        1
> Stack                             8192K        1
> VM_ALLOCATE                         12K        3
> __DATA                            15.9M      257
> __DATA_CONST                      11.7M      169
> __DATA_DIRTY                       485K       85
> __FONT_DATA                          4K        1
> __LINKEDIT                       656.0M       27
> __TEXT                           201.3M      278
> __UNICODE                          592K        1
> dyld private memory               1024K        1
> ===========                     =======  =======
> TOTAL                            951.0M      825
>

>
> -----------
> Full Report
> -----------
>
> {"app_name":"ScanTailor","timestamp":"2023-10-17 20:48:39.00
> +0700","app_version":"ScanTailor-0.2.9","slice_uuid":"76a1dec9-09f1-396f-
> b36d-
> 8a33506527cf","build_version":"","platform":1,"bundleID":"com.github.ScantailorUniversal","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS
> 12.6.3 (21G419)","incident_id":"5AC2B743-59C3-441C-AB1A-
> 094637BE0939","name":"ScanTailor"}
> {
>   "uptime" : 2400,
>   "procLaunch" : "2023-10-17 20:48:39.0968 +0700",
>   "procRole" : "Background",
>   "version" : 2,
>   "userID" : 501,
>   "deployVersion" : 210,
>   "modelCode" : "MacBookPro14,1",
>   "procStartAbsTime" : 2442583448637,
>   "coalitionID" : 747,
>   "osVersion" : {
>     "train" : "macOS 12.6.3",
>     "build" : "21G419",
>     "releaseType" : "User"
>   },
>   "captureTime" : "2023-10-17 20:48:39.2775 +0700",
>   "incident" : "5AC2B743-59C3-441C-AB1A-094637BE0939",
>   "bug_type" : "309",
>   "pid" : 5835,
>   "procExitAbsTime" : 2442763313435,
>   "cpuType" : "X86-64",
>   "procName" : "ScanTailor",
>   "procPath" :
> "\/Applications\/MacPorts\/ScanTailor.app\/Contents\/MacOS\/ScanTailor",
>   "bundleInfo" :
> {"CFBundleShortVersionString":"ScanTailor-0.2.9","CFBundleIdentifier":"com.github.ScantailorUniversal"},
>   "storeInfo" : {"deviceIdentifierForVendor":"1184872E-6267-532E-
> BDD8-7A966043C504","thirdParty":true},
>   "parentProc" : "launchd",
>   "parentPid" : 1,
>   "coalitionName" : "com.github.ScantailorUniversal",
>   "crashReporterKey" : "688A01F5-03A3-0EF3-56CE-7691905DE11A",
>   "sip" : "enabled",
>   "isCorpse" : 1,
>   "exception" : {"codes":"0x0000000000000000,
> 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
>   "termination" :
> {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library
> missing","details":["(terminated at launch; ignore
> backtrace)"],"reasons":["Library not loaded:
> '\/opt\/local\/lib\/libicuuc.72.dylib'","Referenced from:
> '\/opt\/local\/libexec\/*\/QtCore.framework\/Versions\/5\/QtCore'","Reason:
> tried: '\/opt\/local\/lib\/libicuuc.72.dylib' (no such file), '' (no such
> file), '' (no such file)"]},
>   "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":38089,"threadState":{"r13":{"value":140702004769120},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":1},"r8":{"value":140702004768096},"cr2":{"value":4355837952},"rdx":{"value":140702004769120},"r10":{"value":115},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":4559182222,"matchesCrashFrame":1},"rbp":{"value":140702004768064},"rsp":{"value":140702004767992},"r12":{"value":115},"rcx":{"value":140702004767992},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":289166,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":0},{"imageOffset":379506,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":379556,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":0},{"imageOffset":42649,"symbol":"dyld4::halt(char
> const*)","symbolLocation":615,"imageIndex":0},{"imageOffset":26037,"symbol":"dyld4::prepare(dyld4::APIs&,
> dyld3::MachOAnalyzer
> const*)","symbolLocation":3995,"imageIndex":0},{"imageOffset":21732,"symbol":"start","symbolLocation":388,"imageIndex":0}]}],
>   "usedImages" : [
>   {
>     "source" : "P",
>     "arch" : "x86_64",
>     "base" : 4558893056,
>     "size" : 442368,
>     "uuid" : "006a3e6f-3cd3-34d9-b0f2-ed6bd67a95a6",
>     "path" : "\/usr\/lib\/dyld",
>     "name" : "dyld"
>   }
> ],
>   "sharedCache" : {
>   "base" : 140703141773312,
>   "size" : 19331678208,
>   "uuid" : "b6d97ead-9d19-3228-adaa-cca8452c02d2"
> },
>   "vmSummary" : "ReadOnly portion of Libraries: Total=857.3M
> resident=0K(0%) swapped_out_or_unallocated=857.3M(100%)\nWritable
> regions: Total=9316K written=0K(0%) resident=0K(0%) swapped_out=0K(0%)
> unallocated=9316K(100%)\n\n                                VIRTUAL
> REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced)
> \n===========                     =======  ======= \nObjC additional data
> 15K        1 \nSTACK GUARD                       56.0M        1 \nStack
> 8192K        1 \nVM_ALLOCATE                         12K        3
> \n__DATA                            15.9M      257 \n__DATA_CONST
> 11.7M      169 \n__DATA_DIRTY                       485K       85
> \n__FONT_DATA                          4K        1 \n__LINKEDIT
> 656.0M       27 \n__TEXT                           201.3M      278
> \n__UNICODE                          592K        1 \ndyld private memory
> 1024K        1 \n===========                     =======  ======= \nTOTAL
> 951.0M      825 \n",
>   "legacyInfo" : {
>   "threadTriggered" : {
>
>   }
> },
>   "trialInfo" : {
>   "rollouts" : [
>     {
>       "rolloutId" : "63582c5f8a53461413999550",
>       "factorPackIds" : {
>
>       },
>       "deploymentId" : 240000002
>     },
>     {
>       "rolloutId" : "607844aa04477260f58a8077",
>       "factorPackIds" : {
>         "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
>       },
>       "deploymentId" : 240000066
>     }
>   ],
>   "experiments" : [
>     {
>       "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
>       "experimentId" : "64406ba83deb637ac8a04419",
>       "deploymentId" : 900000017
>     }
>   ]
> }
> }
>
> Model: MacBookPro14,1, BootROM 499.40.2.0.0, 2 processors, Dual-Core
> Intel Core i5, 2.3 GHz, 8 GB, SMC 2.43f11
> Graphics: Intel Iris Plus Graphics 640, Intel Iris Plus Graphics 640,
> Built-In
> Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
> Memory Module: BANK 0/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x80AD,
> 0x483943434E4E4E424A54414C41522D4E5644
> Memory Module: BANK 1/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x80AD,
> 0x483943434E4E4E424A54414C41522D4E5644
> AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x170), Broadcom
> BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4)
> AirPort:
> Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
> Network Service: Wi-Fi, AirPort, en0
> USB Device: USB30Bus
> Thunderbolt Bus: MacBook Pro, Apple Inc., 41.5

New description:

 After upgrading macports, scantailor fails to open. The error message is
 below.

 attachment:error_message.txt

--

Comment:

 Evidently, scantailor needs to declare a dependency on the icu port and to
 have its revision increased to rebuild with the latest version of icu
 (which currently provides libicuuc.73.dylib not libicuuc.72.dylib).

-- 
Ticket URL: <https://trac.macports.org/ticket/68489#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list