[MacPorts] #68126: neovim @0.9.1_1: segmentation fault
MacPorts
noreply at macports.org
Tue Nov 7 04:47:01 UTC 2023
#68126: neovim @0.9.1_1: segmentation fault
--------------------------------+----------------------------
Reporter: dlamija | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: ventura sonoma
Port: neovim luv-luajit |
--------------------------------+----------------------------
Comment (by superobertking):
Replying to [comment:19 casr]:
> Just noticed this issue after creating: https://github.com/macports
/macports-ports/pull/21255
>
> I tested that PR on arm64 Monterey and arm64 Ventura and seems okay.
Would someone here who is struggling with this issue be able to report
back if that PR makes a difference and what OS & arch you tested it on?
Tested the patch on arm64 Sonoma, but still does not work. Crash log and
stack trace remain exactly the same (crashes at libluajit):
{{{
(lldb) r
Process 79425 launched:
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_relea
se_tarballs_ports_editors_neovim/neovim/work/build/bin/nvim' (arm64)
Process 79425 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x800000000027)
frame #0: 0x0000000100c9dd00
libluajit-5.1.2.dylib`___lldb_unnamed_symbol511 + 48
libluajit-5.1.2.dylib`___lldb_unnamed_symbol511:
-> 0x100c9dd00 <+48>: ldr x10, [x1, #0x28]
0x100c9dd04 <+52>: ldr w11, [x1, #0x34]
0x100c9dd08 <+56>: and x9, x11, x9
0x100c9dd0c <+60>: mov w11, #0x18
Target 0: (nvim) stopped.
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x800000000027)
* frame #0: 0x0000000100c9dd00
libluajit-5.1.2.dylib`___lldb_unnamed_symbol511 + 48
frame #1: 0x0000000100ca5e78 libluajit-5.1.2.dylib`lua_rawget + 40
frame #2: 0x00000001009ac364 libluv.1.dylib`luv_context + 44
frame #3: 0x00000001009ac42c libluv.1.dylib`luv_set_loop + 24
frame #4: 0x00000001001c33a0
nvim`nlua_common_vim_init.llvm.12642962753756758266 + 572
frame #5: 0x00000001001c2188 nvim`nlua_init + 528
frame #6: 0x00000001001ccda8 nvim`main + 5024
frame #7: 0x0000000187505058 dyld`start + 2224
}}}
Also tried recompiling luajit port with luajit commit
03c31124cc3b521ef54fe398e10fa55660a5057d, which is the
[https://github.com/neovim/neovim/blob/d772f697a281ce9c58bf933997b87c7f27428a60/cmake.deps/CMakeLists.txt#L142C57-L142C97
neovim luajit deps version], but still crashes on my arm64 Sonoma.
--
Ticket URL: <https://trac.macports.org/ticket/68126#comment:20>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list