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

[Bug]: Panic occurred at runtime - Oops Dot #9007

Open
rafael-zilberman opened this issue Jan 14, 2025 · 1 comment
Open

[Bug]: Panic occurred at runtime - Oops Dot #9007

rafael-zilberman opened this issue Jan 14, 2025 · 1 comment
Labels
bug Something isn't working need reproduction pending triage The issue/PR is currently untouched.

Comments

@rafael-zilberman
Copy link

rafael-zilberman commented Jan 14, 2025

System Info

System:
OS: macOS 15.2
CPU: (12) arm64 Apple M2 Pro
Memory: 1.07 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
Yarn: 1.22.21 - /opt/homebrew/bin/yarn
npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
Browsers:
Chrome: 131.0.6778.265
Safari: 18.2
npmPackages:
@rspack/cli: ^1.1.8 => 1.1.8
@rspack/core: ^1.1.8 => 1.1.8
@rspack/plugin-react-refresh: ^1.0.1 => 1.0.1

Details

I am migrating out solution from webpack to rspack based on the migration guide in the documentation.
When trying to run "rspack serve", the compilation fails almost at the end with the following error:

refaelzilberman@Refaels-MacBook-Pro project % rspack serve              
Invalid configuration object. Rspack has been initialized using a configuration object that does not match the API schema.
- Unrecognized key(s) in object: 'managedPaths' at "snapshot"
<w> [webpack-dev-server] Hot Module Replacement (HMR) is enabled for the production build. 
<w> Make sure to disable HMR for production by setting `devServer.hot` to `false` in the configuration.
<i> [webpack-dev-server] [HPM] Proxy created: /api  -> http://localhost:8888
<i> [webpack-dev-server] [HPM] Proxy created: /ProductStream  -> http://localhost:8001
17% building /Users/refaelzilberman/Code/project/node_modules/babel-loader/lib/index.js??rule...<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:9000/
<i> [webpack-dev-server] On Your Network (IPv4): http://192.168.10.170:9000/
<i> [webpack-dev-server] On Your Network (IPv6): http://[fe80::1]:9000/
50% building /Users/refaelzilberman/Code/project/node_modules/babel-loader/lib/index.js??rule...<i> [webpack-dev-server] Content not from webpack is served from '/Users/refaelzilberman/Code/project/app' directory
50% building /Users/refaelzilberman/Code/project/node_modules/babel-loader/lib/index.js??rule...<i> [webpack-dev-middleware] wait until bundle finished: /
93% sealing asset processing...Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message:  Oops Dot
Location: index.crates.io-6f17d22bba15001f/rspack_dojang-0.1.9/src/expr.rs:477

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 1: _napi_register_module_v1
    at <unknown source file>
 2: _napi_register_module_v1
    at <unknown source file>
 3: _napi_register_module_v1
    at <unknown source file>
 4: _napi_register_module_v1
    at <unknown source file>
 5: _wasmer_vm_f64_nearest
    at <unknown source file>
 6: _napi_register_module_v1
    at <unknown source file>
 7: _napi_register_module_v1
    at <unknown source file>
 8: _napi_register_module_v1
    at <unknown source file>
 9: _napi_register_module_v1
    at <unknown source file>
10: _napi_register_module_v1
    at <unknown source file>
11: _napi_register_module_v1
    at <unknown source file>
12: _napi_register_module_v1
    at <unknown source file>
13: _napi_register_module_v1
    at <unknown source file>
14: _napi_register_module_v1
    at <unknown source file>
15: _napi_register_module_v1
    at <unknown source file>
16: _napi_register_module_v1
    at <unknown source file>
17: __pthread_deallocate
    at <unknown source file>
zsh: abort      rspack serve

Reproduce link

No response

Reproduce Steps

  1. run rspack serve
  2. The error occurs after the compilation almost done
@rafael-zilberman rafael-zilberman added bug Something isn't working pending triage The issue/PR is currently untouched. labels Jan 14, 2025
Copy link
Contributor

Hello @rafael-zilberman, 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.

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 pending triage The issue/PR is currently untouched.
Projects
None yet
Development

No branches or pull requests

2 participants