[MacPorts] #69235: watchman: trace trap
MacPorts
noreply at macports.org
Fri Feb 16 01:52:36 UTC 2024
#69235: watchman: trace trap
-----------------------+----------------------
Reporter: phiz118 | Owner: danchr
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.0
Resolution: | Keywords:
Port: watchman |
-----------------------+----------------------
Comment (by kencu):
it looks like it is dying in the ancient libunwind from the libunwind port
that we should not have installed on any current system:
{{{
% port -v installed libunwind
The following ports are currently installed:
libunwind @5.0.1_0+universal (active) requested_variants=''
platform='darwin 23' archs='arm64 x86_64' date='2024-02-15T17:45:23-0800'
% otool -L /opt/local/bin/watchman | grep unwind
/opt/local/lib/libunwind.1.dylib (compatibility version 1.0.0,
current version 5.0.1)
% lldb watchman
(lldb) target create "watchman"
Current executable set to '/opt/local/bin/watchman' (arm64).
(lldb) r
Process 82836 launched: '/opt/local/bin/watchman' (arm64)
Process 82836 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT
(code=1, subcode=0x191ccba6c)
frame #0: 0x0000000191ccba6c libunwind.dylib`_Unwind_GetIP + 244
libunwind.dylib`:
-> 0x191ccba6c <+244>: brk #0xc471
0x191ccba70 <+248>: mov x0, x16
0x191ccba74 <+252>: ldp x29, x30, [sp, #0x10]
0x191ccba78 <+256>: ldp x20, x19, [sp], #0x20
Target 0: (watchman) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT
(code=1, subcode=0x191ccba6c)
* frame #0: 0x0000000191ccba6c libunwind.dylib`_Unwind_GetIP + 244
frame #1: 0x000000018540bc7c libc++abi.dylib`__gxx_personality_v0 +
588
frame #2: 0x0000000100a6d144 libunwind.1.dylib`unwind_phase2 + 140
frame #3: 0x0000000100a6d1d0 libunwind.1.dylib`_Unwind_Resume + 52
frame #4: 0x000000010010cd84 watchman`json_load_file(char const*,
unsigned long) + 620
frame #5: 0x000000010007aa5c watchman`cfg_load_global_config_file() +
152
frame #6: 0x00000001000830b4 watchman`main + 104
frame #7: 0x00000001850d10e0 dyld`start + 2360
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69235#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list