Open
Description
NeoVim Version
NVIM v0.8.0
Build type: Release
LuaJIT 2.1.0-beta3
On macos monterey 12.4
m1 pro
Describe the bug
When opening nvim and trying to call a summary or run a nearest test, nvim crashes with a segfault error. This happens inconstantly, but even if nvim doesn't crash it displays "no tests found". However if summary opens with "no tests found", after saving, the tests are found and run without errors.
This happends in neotest-go and neotest-python.
The issue was in nvim v0.7 too.
Plugins have been updated.
Crashes occur only in this scenario.
Logs
Nothing special. Run with log_level=1
. No ERROR messages.
Additional context
Backtrace
Translated Report (Full Report Below)
-------------------------------------
Process: nvim [75149]
Path: /Volumes/VOLUME/*/nvim
Identifier: nvim
Version: ???
Code Type: ARM-64 (Native)
Parent Process: zsh [9960]
User ID: 501
Date/Time: 2022-11-18 00:55:52.4911 +0300
OS Version: macOS 12.4 (21F79)
Report Version: 12
Anonymous UUID: 4359633D-9651-B59D-2D25-CA3377886766
Sleep/Wake UUID: 862BB119-FA6C-452D-AE24-D002D457468A
Time Awake Since Boot: 630000 seconds
Time Since Wake: 5182 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000948d4f4c8960 -> 0x0000148d4f4c8960 (possible pointer authentication failure)
Exception Codes: 0x0000000000000001, 0x0000948d4f4c8960
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [75149]
VM Region Info: 0x148d4f4c8960 is not in any region. Bytes after previous region: 22116117023073 Bytes before following region: 82955962906272
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated)
---> GAP OF 0x5f9000000000 BYTES
MALLOC_NANO 600000000000-600008000000 [128.0M] rw-/rwx SM=PRV
Kernel Triage:
VM - pmap_enter failed with resource shortage
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x1026ee5e8 luv_push_dirent + 48
1 ??? 0x1026ee5e8 luv_push_dirent + 48
2 ??? 0x1026ee430 push_fs_result + 796
3 ??? 0x1026edfc8 luv_fs_cb + 44
4 ??? 0x10270c570 uv__work_done + 192
5 ??? 0x10270fd60 uv__async_io + 320
6 ??? 0x102722d7c uv__io_poll + 1060
7 ??? 0x102710310 uv_run + 396
8 ??? 0x10237142c loop_poll_events + 92
9 ??? 0x102460750 inbuf_poll + 404
10 ??? 0x10246042c os_inchar + 284
11 ??? 0x1024ef620 state_enter + 264
12 ??? 0x10242e018 normal_enter + 140
13 ??? 0x1023ed418 main + 9020
14 dyld 0x10275d08c start + 520
Thread 1:
0 libsystem_kernel.dylib 0x1b82c8c20 kevent + 8
1 ??? 0x102722c68 uv__io_poll + 784
2 ??? 0x102710310 uv_run + 396
3 ??? 0x102371448 loop_poll_events + 120
4 ??? 0x102513278 tui_main + 556
5 libsystem_pthread.dylib 0x1b830026c _pthread_start + 148
6 libsystem_pthread.dylib 0x1b82fb08c thread_start + 8
Thread 2:
0 libsystem_kernel.dylib 0x1b82c6270 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1b830083c _pthread_cond_wait + 1236
2 ??? 0x10271d988 uv_cond_wait + 12
3 ??? 0x10270c8ac worker + 112
4 libsystem_pthread.dylib 0x1b830026c _pthread_start + 148
5 libsystem_pthread.dylib 0x1b82fb08c thread_start + 8
Thread 3:
0 libsystem_kernel.dylib 0x1b82c6270 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1b830083c _pthread_cond_wait + 1236
2 ??? 0x10271d988 uv_cond_wait + 12
3 ??? 0x10270c8ac worker + 112
4 libsystem_pthread.dylib 0x1b830026c _pthread_start + 148
5 libsystem_pthread.dylib 0x1b82fb08c thread_start + 8
Thread 4:
0 libsystem_kernel.dylib 0x1b82c6270 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1b830083c _pthread_cond_wait + 1236
2 ??? 0x10271d988 uv_cond_wait + 12
3 ??? 0x10270c8ac worker + 112
4 libsystem_pthread.dylib 0x1b830026c _pthread_start + 148
5 libsystem_pthread.dylib 0x1b82fb08c thread_start + 8
Thread 5:
0 libsystem_kernel.dylib 0x1b82c6270 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1b830083c _pthread_cond_wait + 1236
2 ??? 0x10271d988 uv_cond_wait + 12
3 ??? 0x10270c8ac worker + 112
4 libsystem_pthread.dylib 0x1b830026c _pthread_start + 148
5 libsystem_pthread.dylib 0x1b82fb08c thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000102bac590 x1: 0x0000000000000040 x2: 0x0000000000000000 x3: 0x0000000000000040
x4: 0x0000000000000030 x5: 0x0000000000000030 x6: 0x000000000000003a x7: 0x0000000000000000
x8: 0x0000000104345e60 x9: 0x0000000104346290 x10: 0x0000000102bac580 x11: 0x00000001029b00d8
x12: 0x0000000102fbf9a8 x13: 0x0000000000000070 x14: 0x00000000000000d4 x15: 0xfffffffffffffff7
x16: 0x0000000102a634dc x17: 0x0000000104345e50 x18: 0x0000000000000000 x19: 0x00000001029b0380
x20: 0x0000000000000001 x21: 0x0000948d4f4c8960 x22: 0x0000000000000002 x23: 0x0000600000648940
x24: 0x0000000000000020 x25: 0x0000000000000001 x26: 0x0000000000000001 x27: 0x00000001025f9bc0
x28: 0x0000000000000001 fp: 0x000000016db3dd70 lr: 0x00000001026ee5e8
sp: 0x000000016db3dd50 pc: 0x00000001026ee5e8 cpsr: 0x80001000
far: 0x0000948d4f4c8960 esr: 0x92000004 (Data Abort) byte read Translation fault
Binary Images:
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x102758000 - 0x1027b7fff dyld (*) <d9c2a46e-8dc4-3950-9d6a-f799e8ccb683> /usr/lib/dyld
0x1b82c1000 - 0x1b82f8fff libsystem_kernel.dylib (*) <03f48dc5-caa7-3678-af61-1a3c7fa8b06e> /usr/lib/system/libsystem_kernel.dylib
0x1b82f9000 - 0x1b8305fff libsystem_pthread.dylib (*) <42166a2c-89a9-3c38-a215-f028544cea23> /usr/lib/system/libsystem_pthread.dylib
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: 18
thread_create: 0
thread_set_state: 260
VM Region Summary:
ReadOnly portion of Libraries: Total=660.8M resident=0K(0%) swapped_out_or_unallocated=660.8M(100%)
Writable regions: Total=1.9G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.9G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
Kernel Alloc Once 32K 1
MALLOC 298.2M 39
MALLOC guard page 96K 5
MALLOC_MEDIUM (reserved) 1.2G 10 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.1M 6
Stack 48.1M 6
VM_ALLOCATE 19.8M 160
__AUTH 220K 44
__AUTH_CONST 2907K 123
__DATA 1249K 128
__DATA_CONST 3872K 136
__DATA_DIRTY 233K 50
__LINKEDIT 578.1M 17
__OBJC_CONST 260K 29
__OBJC_RO 83.0M 1
__OBJC_RW 3152K 1
__TEXT 82.7M 144
__UNICODE 592K 1
dyld private memory 1024K 1
mapped file 160K 1
shared memory 32K 2
=========== ======= =======
TOTAL 2.7G 907
TOTAL, minus reserved VM space 1.2G 907
-----------
Full Report
-----------
{"app_name":"nvim","timestamp":"2022-11-18 00:55:52.00 +0300","app_version":"","slice_uuid":"00000000-0000-0000-0000-000000000000","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.4 (21F79)","incident_id":"34DC5EC2-15EC-48C3-B332-9C5B1EDCB2DC","name":"nvim"}
{
"uptime" : 630000,
"procLaunch" : "2022-11-18 00:55:50.3628 +0300",
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,3",
"procStartAbsTime" : 15200455961685,
"coalitionID" : 1275,
"osVersion" : {
"train" : "macOS 12.4",
"build" : "21F79",
"releaseType" : "User"
},
"captureTime" : "2022-11-18 00:55:52.4911 +0300",
"incident" : "34DC5EC2-15EC-48C3-B332-9C5B1EDCB2DC",
"bug_type" : "309",
"pid" : 75149,
"procExitAbsTime" : 15200506960011,
"translated" : false,
"cpuType" : "ARM-64",
"procName" : "nvim",
"procPath" : "\/Volumes\/VOLUME\/*\/nvim",
"parentProc" : "zsh",
"parentPid" : 9960,
"coalitionName" : "net.kovidgoyal.kitty",
"crashReporterKey" : "4359633D-9651-B59D-2D25-CA3377886766",
"responsiblePid" : 2318,
"wakeTime" : 5182,
"sleepWakeUUID" : "862BB119-FA6C-452D-AE24-D002D457468A",
"sip" : "enabled",
"vmRegionInfo" : "0x148d4f4c8960 is not in any region. Bytes after previous region: 22116117023073 Bytes before following region: 82955962906272\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n commpage (reserved) 1000000000-7000000000 [384.0G] ---\/--- SM=NUL ...(unallocated)\n---> GAP OF 0x5f9000000000 BYTES\n MALLOC_NANO 600000000000-600008000000 [128.0M] rw-\/rwx SM=PRV ",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x0000948d4f4c8960","rawCodes":[1,163334641715552],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000948d4f4c8960 -> 0x0000148d4f4c8960 (possible pointer authentication failure)"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":75149},
"ktriageinfo" : "VM - pmap_enter failed with resource shortage\n",
"vmregioninfo" : "0x148d4f4c8960 is not in any region. Bytes after previous region: 22116117023073 Bytes before following region: 82955962906272\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n commpage (reserved) 1000000000-7000000000 [384.0G] ---\/--- SM=NUL ...(unallocated)\n---> GAP OF 0x5f9000000000 BYTES\n MALLOC_NANO 600000000000-600008000000 [128.0M] rw-\/rwx SM=PRV ",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":260,"task_for_pid":18},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":44132552,"threadState":{"x":[{"value":4340762000},{"value":64},{"value":0},{"value":64},{"value":48},{"value":48},{"value":58},{"value":0},{"value":4365508192},{"value":4365509264},{"value":4340761984},{"value":4338680024},{"value":4345035176},{"value":112},{"value":212},{"value":18446744073709551607},{"value":4339414236,"symbolLocation":0,"symbol":"lua_settop"},{"value":4365508176},{"value":0},{"value":4338680704},{"value":1},{"value":163334641715552},{"value":2},{"value":105553122855232},{"value":32},{"value":1},{"value":1},{"value":4334787520,"symbolLocation":536,"symbol":"main_loop"},{"value":1}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4335789544},"cpsr":{"value":2147487744},"fp":{"value":6135471472},"sp":{"value":6135471440},"esr":{"value":2449473540,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4335789544,"matchesCrashFrame":1},"far":{"value":163334641715552}},"queue":"com.apple.main-thread","frames":[{"imageOffset":4335789544,"symbol":"luv_push_dirent","symbolLocation":48,"imageIndex":0},{"imageOffset":4335789544,"symbol":"luv_push_dirent","symbolLocation":48,"imageIndex":0},{"imageOffset":4335789104,"symbol":"push_fs_result","symbolLocation":796,"imageIndex":0},{"imageOffset":4335787976,"symbol":"luv_fs_cb","symbolLocation":44,"imageIndex":0},{"imageOffset":4335912304,"symbol":"uv__work_done","symbolLocation":192,"imageIndex":0},{"imageOffset":4335926624,"symbol":"uv__async_io","symbolLocation":320,"imageIndex":0},{"imageOffset":4336004476,"symbol":"uv__io_poll","symbolLocation":1060,"imageIndex":0},{"imageOffset":4335928080,"symbol":"uv_run","symbolLocation":396,"imageIndex":0},{"imageOffset":4332131372,"symbol":"loop_poll_events","symbolLocation":92,"imageIndex":0},{"imageOffset":4333111120,"symbol":"inbuf_poll","symbolLocation":404,"imageIndex":0},{"imageOffset":4333110316,"symbol":"os_inchar","symbolLocation":284,"imageIndex":0},{"imageOffset":4333696544,"symbol":"state_enter","symbolLocation":264,"imageIndex":0},{"imageOffset":4332904472,"symbol":"normal_enter","symbolLocation":140,"imageIndex":0},{"imageOffset":4332639256,"symbol":"main","symbolLocation":9020,"imageIndex":0},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":1}]},{"id":44132553,"frames":[{"imageOffset":31776,"symbol":"kevent","symbolLocation":8,"imageIndex":2},{"imageOffset":4336004200,"symbol":"uv__io_poll","symbolLocation":784,"imageIndex":0},{"imageOffset":4335928080,"symbol":"uv_run","symbolLocation":396,"imageIndex":0},{"imageOffset":4332131400,"symbol":"loop_poll_events","symbolLocation":120,"imageIndex":0},{"imageOffset":4333843064,"symbol":"tui_main","symbolLocation":556,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]},{"id":44133212,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":2},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":3},{"imageOffset":4335982984,"symbol":"uv_cond_wait","symbolLocation":12,"imageIndex":0},{"imageOffset":4335913132,"symbol":"worker","symbolLocation":112,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]},{"id":44133213,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":2},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":3},{"imageOffset":4335982984,"symbol":"uv_cond_wait","symbolLocation":12,"imageIndex":0},{"imageOffset":4335913132,"symbol":"worker","symbolLocation":112,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]},{"id":44133214,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":2},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":3},{"imageOffset":4335982984,"symbol":"uv_cond_wait","symbolLocation":12,"imageIndex":0},{"imageOffset":4335913132,"symbol":"worker","symbolLocation":112,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]},{"id":44133215,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":2},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":3},{"imageOffset":4335982984,"symbol":"uv_cond_wait","symbolLocation":12,"imageIndex":0},{"imageOffset":4335913132,"symbol":"worker","symbolLocation":112,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]}],
"usedImages" : [
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4336222208,
"size" : 393216,
"uuid" : "d9c2a46e-8dc4-3950-9d6a-f799e8ccb683",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7384862720,
"size" : 229376,
"uuid" : "03f48dc5-caa7-3678-af61-1a3c7fa8b06e",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7385092096,
"size" : 53248,
"uuid" : "42166a2c-89a9-3c38-a215-f028544cea23",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
}
],
"sharedCache" : {
"base" : 7381794816,
"size" : 3136077824,
"uuid" : "513553bb-5ca5-3b9e-a613-b0603ffe3038"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=660.8M resident=0K(0%) swapped_out_or_unallocated=660.8M(100%)\nWritable regions: Total=1.9G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.9G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nKernel Alloc Once 32K 1 \nMALLOC 298.2M 39 \nMALLOC guard page 96K 5 \nMALLOC_MEDIUM (reserved) 1.2G 10 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.1M 6 \nStack 48.1M 6 \nVM_ALLOCATE 19.8M 160 \n__AUTH 220K 44 \n__AUTH_CONST 2907K 123 \n__DATA 1249K 128 \n__DATA_CONST 3872K 136 \n__DATA_DIRTY 233K 50 \n__LINKEDIT 578.1M 17 \n__OBJC_CONST 260K 29 \n__OBJC_RO 83.0M 1 \n__OBJC_RW 3152K 1 \n__TEXT 82.7M 144 \n__UNICODE 592K 1 \ndyld private memory 1024K 1 \nmapped file 160K 1 \nshared memory 32K 2 \n=========== ======= ======= \nTOTAL 2.7G 907 \nTOTAL, minus reserved VM space 1.2G 907 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "60356660bbe37970735c5624",
"factorPackIds" : {
},
"deploymentId" : 240000027
},
{
"rolloutId" : "60186475825c62000ccf5450",
"factorPackIds" : {
},
"deploymentId" : 240000026
}
],
"experiments" : [
]
}
}
Metadata
Assignees
Labels
No labels