Skip to content

[BUG][CRASH] Segfault when completing blocks in kakrc when built on MinGW #4762

Open
@Cynosphere

Description

@Cynosphere

Version of Kakoune

v2021.11.08-364-g021da117

Reproducer

Try to close a block {} in kakrc

Outcome

---------------------------
Kakoune: fatal error
---------------------------
Received SIGSEGV, exiting.
Pid: 3351
Callstack:
0xffff7c50 (ä–)
0xffff7c50 (ä–)
0x210064b90 (setcontext)
0x210132950 (sigfillset)
0x21005dae0 (secure_getenv)
0x7fffb7b72300 (_chkstk)
0x7fffb7b21070 (RtlRaiseException)
0x7fffb7b70f20 (KiUserExceptionDispatcher)
0x7fffb7b70f20 (KiUserExceptionDispatcher)
0x7fffb7b70f20 (KiUserExceptionDispatcher)
0x7fffb7b70f20 (KiUserExceptionDispatcher)
0x7fffb7b70f20 (KiUserExceptionDispatcher)
0x7fffb7b70f20 (KiUserExceptionDispatcher)
0x7fffb7b70f20 (KiUserExceptionDispatcher)
0x7fffb7b70f20 (KiUserExceptionDispatcher)
0x7fffb7b70f20 (KiUserExceptionDispatcher)

---------------------------
OK   Cancel   
---------------------------

Expectations

The editor should not crash

Additional information

  • Windows 10, MinGW
  • I refuse to use cygwin or WSL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions