Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic occurred at runtime. #5085

Closed
ssddi456 opened this issue Dec 20, 2023 · 6 comments · Fixed by #5124
Closed

Panic occurred at runtime. #5085

ssddi456 opened this issue Dec 20, 2023 · 6 comments · Fixed by #5124
Assignees
Labels
bug Something isn't working need reproduction

Comments

@ssddi456
Copy link

System Info

System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Memory: 4.15 GB / 15.95 GB
Binaries:
Node: 16.20.2 - C:\Program Files\nodejs\node.EXE
npm: 8.19.4 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 120.0.6099.110
Edge: Spartan (44.19041.3636.0), Chromium (120.0.2210.77)
Internet Explorer: 11.0.19041.3636
npmPackages:
@rspack/cli: ^0.4.3 => 0.4.3
@rspack/core: ^0.4.3 => 0.4.3
@rspack/plugin-html: ^0.4.3 => 0.4.3
@rspack/plugin-node-polyfill: ^0.4.3 => 0.4.3

Details

Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: httpscom/web-infra-dev/rspack/issues
Message: byte index 382 is not a char boundary; it is inside '色' (bytes 380..383) of e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressPlugin=void 0;var n=a9756),i=a(9933),o=a(9547),r=function(e){function t(){var t=null!==e&&e.apply(this,argumenreturn t.rendererName="progress",t.$schema="/sc[...]
Location: C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\mie\src\handlers\graphical.rs:640

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1: napi_register_module_v1
at
2: napi_register_module_v1
at
3: napi_register_module_v1
at
4: napi_register_module_v1
at
5: napi_register_module_v1
at
6: napi_register_module_v1
at
7: napi_register_module_v1
at
8: node::Stop
at
9: v8::internal::Builtins::code_handle
at
10: v8::internal::Builtins::code_handle
at
11: v8::internal::Builtins::code_handle
at
12: v8::internal::Builtins::code_handle
at
13: v8::internal::SetupIsolateDelegate::SetupHeap
at
14: v8::internal::SetupIsolateDelegate::SetupHeap
at
15: v8::internal::SetupIsolateDelegate::SetupHeap
at
16: v8::internal::SetupIsolateDelegate::SetupHeap
at
17: v8::internal::SetupIsolateDelegate::SetupHeap
at
18: v8::internal::SetupIsolateDelegate::SetupHeap
at
19: v8::internal::SetupIsolateDelegate::SetupHeap
at
20: v8::internal::SetupIsolateDelegate::SetupHeap
at
21: v8::internal::SetupIsolateDelegate::SetupHeap
at
22: v8::internal::SetupIsolateDelegate::SetupHeap
at
23: v8::internal::SetupIsolateDelegate::SetupHeap
at
24: v8::internal::SetupIsolateDelegate::SetupHeap
at
25: v8::internal::SetupIsolateDelegate::SetupHeap
at
26: v8::internal::SetupIsolateDelegate::SetupHeap
at
27: v8::internal::SetupIsolateDelegate::SetupHeap
at
28: v8::internal::SetupIsolateDelegate::SetupHeap
at
29: v8::internal::SetupIsolateDelegate::SetupHeap
at
30: v8::internal::SetupIsolateDelegate::SetupHeap
at
31: v8::internal::SetupIsolateDelegate::SetupHeap
at
32: v8::internal::Execution::CallWasm
at
33: v8::internal::Execution::Call
at
34: v8::Function::Call
at
35: napi_call_function
at
36: node_module_register
at
37: node_module_register
at
38: uv_async_send
at
39: uv_loop_init
at
40: uv_run
at
41: node::SpinEventLoop
at
42: cppgc::internal::Marker::visitor
at
43: node::Start
at
44: RC4_options
at
45: v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor
at
46: BaseThreadInitThunk
at
47: RtlUserThreadStart
at

Reproduce link

No response

Reproduce Steps

havnt found which file trigger this

@ssddi456 ssddi456 added bug Something isn't working pending triage The issue/PR is currently untouched. labels Dec 20, 2023
@ssddi456
Copy link
Author

0.3.14 is ok 0.4.0 not work

@h-a-n-a h-a-n-a added need reproduction and removed pending triage The issue/PR is currently untouched. labels Dec 21, 2023
Copy link
Contributor

Hello @ssddi456, sorry we can't investigate the problem further without reproduction demo, please provide a repro demo by forking rspack-repro, or provide a minimal GitHub repository by yourself. Issues labeled by need reproduction will be closed if no activities in 14 days.

@h-a-n-a
Copy link
Contributor

h-a-n-a commented Dec 27, 2023

Would you please try this version 0.4.5-canary-b3497fe-20231227113840?

@ssddi456
Copy link
Author

works fine in v0.5.1

@dxhsmwqcwelllee
Copy link

Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message: Module(/Users/doorgod/Desktop/www/AbcPc/node_modules/sax/lib/sax.js) should be added before using
Location: crates/rspack_core/src/chunk_graph/chunk_graph_module.rs:75

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.

Accidental phenomena, why?

@h-a-n-a
Copy link
Contributor

h-a-n-a commented May 6, 2024

Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues

Message: Module(/Users/doorgod/Desktop/www/AbcPc/node_modules/sax/lib/sax.js) should be added before using

Location: crates/rspack_core/src/chunk_graph/chunk_graph_module.rs:75

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

Run with RUST_BACKTRACE=full to include source snippets.

Accidental phenomena, why?

This issue has been resolved. Please file a new one instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need reproduction
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants