Skip to content

[Bug] 0.27.0 web server process repeatedly dies with SIGSEGV in V8 GC marking — 6 crashes in ~26 h #1943

Description

@ping1999

What version of Kimi Code is running?

0.27.0 (self-contained binary at ~/.kimi-code/bin/kimi, bundled Node.js v24.15.0; binary installed 2026-07-18)

Which open platform/subscription were you using?

Kimi Code subscription (managed:kimi-code, OAuth)

Which model were you using?

kimi-code/k3, thinking effort max

What platform is your computer?

Linux x86_64 (Arch Linux, kernel 7.0.14-zen), 23 GiB RAM. Running in web server mode (kimi server, bound to 0.0.0.0).

What issue are you seeing?

The kimi web server process dies abruptly with SIGSEGV — 6 crashes in ~26 hours, all with the same signature: the faulting threads are always inside V8 garbage-collection marking.

Crash timeline (times UTC+8, all SIGSEGV, coredumps preserved):

# Time Signal
1 2026-07-19 12:04:03 SIGSEGV
2 2026-07-20 11:21:08 SIGSEGV
3 2026-07-20 11:22:18 SIGSEGV
4 2026-07-20 11:22:55 SIGSEGV
5 2026-07-20 13:43:03 SIGSEGV
6 2026-07-20 13:49:18 SIGSEGV

Stack traces (via coredumpctl, crashes #5 and #6):

Main thread — incremental marking:

#0  v8::internal::MarkingVisitorBase<v8::internal::MainMarkingVisitor>::ProcessStrongHeapObject<v8::internal::FullHeapObjectSlot>
#1  v8::internal::BodyDescriptorBase::IteratePointers<v8::internal::MainMarkingVisitor>
#2  v8::internal::MarkCompactCollector::ProcessMarkingWorklist<...>
#3  v8::internal::IncrementalMarking::Step
#4  v8::internal::IncrementalMarking::AdvanceAndFinalizeIfComplete
#5  v8::internal::IncrementalMarkingJob::Task::RunInternal
#6  node::PerIsolatePlatformData::RunForegroundTask
#7  node::PerIsolatePlatformData::FlushForegroundTasksInternal
#8  uv__async_io → uv__io_poll → uv_run
#9  node::SpinEventLoopInternal → node::NodeMainInstance::Run → node::Start

V8Worker threads (several per crash) — concurrent marking:

#0  v8::internal::MarkingVisitorBase<v8::internal::ConcurrentMarkingVisitor>::ProcessStrongHeapObject<v8::internal::FullHeapObjectSlot>
    (frame #0 varies: also VisitMapPointer and MarkBit::Set)
#1  v8::internal::BodyDescriptorBase::IteratePointers<v8::internal::ConcurrentMarkingVisitor>
#2  v8::internal::ConcurrentMarking::RunMajor
#3  v8::internal::ConcurrentMarking::JobTaskMajor::Run
#4  v8::platform::DefaultJobWorker::Run
#5  node::(anonymous namespace)::PlatformWorkerThread

Logging at crash time:

  • ~/.kimi-code/logs/kimi-code.log contains only startup and oauth lines — nothing is logged at the crash instant; the process dies at native level with no JS error and no shutdown entry.
  • ~/.kimi-code/server/server.log is empty (0 bytes).

What steps can reproduce the bug?

Unknown — intermittent. Occurs during normal web-mode usage with active sessions (6 occurrences in ~26 h, including 3 within 2 minutes). No specific user action identified as a trigger.

What is the expected behavior?

The web server process should not crash with a native SIGSEGV. If this matches a known V8/Node issue, guidance on a workaround (runtime flags, config) would be appreciated.

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions