Skip to content

Segmentation fault when opening through git #4144

Open
@sclu1034

Description

@sclu1034

Non-reproducible crash that occurred when running git commit, with Kakoune set as default editor.

# kak -version
Kakoune v2020.09.01-276-gdf7b33bc

Outcome/Stacktrace

Received SIGSEGV, exiting.
Pid: 2940553
Callstack:
/usr/bin/kak(Kakoune::Backtrace::Backtrace()+0x18) [0x560cf3132e58]
/usr/bin/kak(Kakoune::signal_handler(int)+0x6f) [0x560cf32209cf]
/usr/lib/libc.so.6(+0x3cf80) [0x7f44d2bdaf80]
/usr/bin/kak(Kakoune::String::resize(Kakoune::ByteCount, char)+0xa3) [0x560cf32e70a3]
/usr/bin/kak(Kakoune::CommandManager::execute(Kakoune::StringView, Kakoune::Context&, Kakoune::ShellContext const&)+0x103d) [0x560cf315578d]
/usr/bin/kak(+0xd7ceb) [0x560cf3166ceb]
/usr/bin/kak(Kakoune::CommandManager::execute_single_command(Kakoune::ArrayView<Kakoune::String const>, Kakoune::Context&, Kakoune::ShellContext const&, Kakoune::BufferCoord)+0x336) [0x560cf31545c6]
/usr/bin/kak(Kakoune::CommandManager::execute(Kakoune::StringView, Kakoune::Context&, Kakoune::ShellContext const&)+0xbbc) [0x560cf315530c]
/usr/bin/kak(Kakoune::HookManager::run_hook(Kakoune::Hook, Kakoune::StringView, Kakoune::Context&)+0x1519) [0x560cf31e3529]
/usr/bin/kak(Kakoune::HookManager::run_hook(Kakoune::Hook, Kakoune::StringView, Kakoune::Context&)+0x2c2) [0x560cf31e22d2]
/usr/bin/kak(Kakoune::Buffer::run_hook_in_own_context(Kakoune::Hook, Kakoune::StringView, Kakoune::String)+0x1da) [0x560cf3134baa]
/usr/bin/kak(Kakoune::Buffer::on_registered()+0x98) [0x560cf313a668]
/usr/bin/kak(Kakoune::BufferManager::create_buffer(Kakoune::String, Kakoune::Buffer::Flags, Kakoune::StringView, timespec)+0x265) [0x560cf3140895]
/usr/bin/kak(Kakoune::open_or_create_file_buffer(Kakoune::StringView, Kakoune::Buffer::Flags)+0x109) [0x560cf3142ed9]
/usr/bin/kak(Kakoune::run_server(Kakoune::StringView, Kakoune::StringView, Kakoune::StringView, Kakoune::Optional<Kakoune::BufferCoord>, Kakoune::ServerFlags, Kakoune::UIType, Kakoune::DebugFlags, Kakoune::ArrayView<Kakoune::StringView const>)+0x55b) [0x560cf32332db]
/usr/bin/kak(main+0x1d37) [0x560cf31306c7]
Warning: Missing charsets in String to FontSet conversion

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions