Skip to content

Segfault (msgpack) #27859

Closed
Closed
@qRoC

Description

@qRoC

Problems

  1. exit with status 1 (logs: chan_close_with_error:560: RPC: (null))
  2. Crash with status 130:
Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000003209cd220
Exception Codes:       0x0000000000000001, 0x00000003209cd220

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [11660]

VM Region Info: 0x3209cd220 is not in any region.  Bytes after previous region: 2385498657  Bytes before following region: 54213684704
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      unused __TEXT               2926cc000-2926d0000    [   16K] r--/r-- SM=COW  unused  unknown system shared lib __TEXT
--->  GAP OF 0xd2d930000 BYTES
      commpage (reserved)         fc0000000-1000000000   [  1.0G] ---/--- SM=NUL  reserved VM address space (unallocated)

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   nvim                          	       0x100d60ab4 tui_raw_line + 80
1   nvim                          	       0x100bf62a8 parse_msgpack + 348
2   nvim                          	       0x100bf3ff0 receive_msgpack + 304
3   nvim                          	       0x100af0dc8 read_cb + 404
4   libuv.1.dylib                 	       0x1014e35b4 uv__stream_io + 1004
5   libuv.1.dylib                 	       0x1014ea164 uv__io_poll + 1408
6   libuv.1.dylib                 	       0x1014da93c uv_run + 272
7   nvim                          	       0x100d689bc ui_client_run + 172
8   nvim                          	       0x100b963cc main + 17512
9   dyld                          	       0x198bc60e0 start + 2360

Steps to reproduce

Scroll any file

Expected behavior

No crash/errors

Neovim version (nvim -v)

NVIM v0.10.0-dev-2582+g2a8cef6bd-Homebrew
NVIM v0.10.0-dev-2593+ga6b6d036b-Homebrew
NVIM v0.10.0-dev-2536+g55c9e2c96 <-- broken commit

Vim (not Nvim) behaves the same?

no

Operating system/version

macOS 14

Terminal name/version

Alacritty

$TERM environment variable

xterm-256color

Installation

brew

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-crashissue reporting a crash or segfaultchannels-rpcchannels, RPC, msgpackhas:backtraceissue contains a stacktrace/ASAN loghas:bisectedissue has been tracked to a specific commitneeds:reproWe need minimal steps to reproduce the issuetui

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions