Skip to content

Crashes while scrolling to the end of diff #525

Description

@klonuo

What happened?

hunk diff shows it's interface, and while scrolling and reaching the end it crashes:

Bun v1.3.14 (0d9b296a) Windows x64
Windows v.win11_dt
CPU: sse42 avx avx2
Args: "C:\Users\klo\scoop\persist\nodejs\bin\node_modules\hunkdiff\node_modules\hunkdiff-windows-x64\bin\hunk.exe" "diff"
Features: Bun.stdin(2) Bun.stdout(2) WebSocket fetch(6) jsc spawn(9) standalone_executable
Builtins: "bun:ffi" "bun:main" "node:buffer" "node:child_process" "node:console" "node:crypto" "node:events" "node:fs" "node:fs/promises" "node:module" "node:n
et" "node:os" "node:path" "node:path/posix" "node:process" "node:stream" "node:tty" "node:url" "node:util" "node:worker_threads"
Elapsed: 10973ms | User: 11484ms | Sys: 2578ms
RSS: 0.32GB | Peak: 0.32GB | Commit: 0.56GB | Faults: 127189 | Machine: 17.06GB

panic(main thread): Segmentation fault at address 0x6539AAA2
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

 https://bun.report/1.3.14/w_10d9b296G8gogC_C8B.39e7b0defbb9dedf-00000000.dlly91pCC8B.39e7b0defbb9dedf-00000000.dlliz4jBC8B.39e7b0defbb9dedf-00000000.dllm3rhBC
8B.39e7b0defbb9dedf-00000000.dll2+mhBC8B.39e7b0defbb9dedf-00000000.dllox7hBC8B.39e7b0defbb9dedf-00000000.dll2+mhBC8B.39e7b0defbb9dedf-00000000.dll+zkiBC8B.39e7
b0defbb9dedf-00000000.dll2+mhBC8B.39e7b0defbb9dedf-00000000.dll+zkiBC8B.39e7b0defbb9dedf-00000000.dll2+mhBC8B.39e7b0defbb9dedf-00000000.dll+zkiBC8B.39e7b0defbb
9dedf-00000000.dll2+mhBC8B.39e7b0defbb9dedf-00000000.dll+zkiBC8B.39e7b0defbb9dedf-00000000.dll2+mhBC8B.39e7b0defbb9dedf-00000000.dll+zkiBC8B.39e7b0defbb9dedf-0
0000000.dll2+mhBC8B.39e7b0defbb9dedf-00000000.dll+zkiBC8B.39e7b0defbb9dedf-00000000.dll2+mhBC8B.39e7b0defbb9dedf-00000000.dll+zkiBA2Akq1mnlD

This is of course from opentui and bun zig issue, which is tiresome

Steps to reproduce

scroll to the end of diff

Expected behavior

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions