Skip to content

Oxlint crashes, due stack overflow and panics #4111

@qarmin

Description

@qarmin

Oxlint version - 0f02608

command

oxlint file -D all -D nursery --fix
thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow
timeout: the monitored command dumped core

folder may contain also other crashes like

2024-07-08T09:04:58.1425461Z thread 'main' panicked at crates/oxc_diagnostics/src/reporter/graphical.rs:28:65:
2024-07-08T09:04:58.1427255Z called `Result::unwrap()` on an `Err` value: Error
2024-07-08T09:04:58.1430402Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-07-08T09:04:58.1435215Z timeout: the monitored command dumped core
2024-07-08T09:41:20.0318660Z thread '<unnamed>' panicked at crates/oxc_linter/src/rules/eslint/array_callback_return/mod.rs:160:69:
2024-07-08T09:41:20.0320174Z called `Option::unwrap()` on a `None` value
2024-07-08T09:41:20.0321273Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-07-08T09:41:20.0322577Z timeout: the monitored command dumped core
2024-07-08T07:34:13.8760591Z thread '<unnamed>' panicked at crates/oxc_linter/src/rules/unicorn/prefer_dom_node_dataset.rs:117:36:
2024-07-08T07:34:13.8762530Z byte index 5 is not a char boundary; it is inside '\u{8d}' (bytes 4..6) of `cont�nteditable`
2024-07-08T07:34:13.8767065Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-07-08T07:34:13.8767997Z timeout: the monitored command dumped core

7zip file(needs to remove .zip extension) - zzz.7z.zip

Files with crash output in each file - A.zip

Metadata

Metadata

Assignees

Labels

C-bugCategory - Bug

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions