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]: Crash since minor version update #8747

Open
KevinGruber opened this issue Dec 17, 2024 · 3 comments
Open

[Bug]: Crash since minor version update #8747

KevinGruber opened this issue Dec 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@KevinGruber
Copy link

System Info

System:
OS: macOS 15.1.1
CPU: (10) arm64 Apple M1 Pro
Memory: 80.11 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.1.0 - ~/.nvm/versions/node/v22.1.0/bin/node
npm: 10.8.3 - ~/.nvm/versions/node/v22.1.0/bin/npm
pnpm: 9.12.2 - ~/.nvm/versions/node/v22.1.0/bin/pnpm
bun: 1.1.0 - ~/.bun/bin/bun
Watchman: 2024.10.21.00 - /opt/homebrew/bin/watchman
Browsers:
Chrome: 131.0.6778.140
Safari: 18.1.1

Details

Since upgrading from rspack:~1.0.13 to rspack:~1.1.6 we have the following error:

Nothing further is shown sadly.

Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message: Chunk(ChunkUkey(Ukey(19), PhantomData<rspack_core::chunk::Chunk>)) not found in ChunkByUkey
Location: crates/rspack_core/src/lib.rs:325

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1: _napi_register_module_v1
at

Reproduce link

No response

Reproduce Steps

We are using rspack inside of a custom framework/cli so no public repro possible

@KevinGruber KevinGruber added bug Something isn't working pending triage The issue/PR is currently untouched. labels Dec 17, 2024
@LingyuCoder
Copy link
Collaborator

Too little information makes it difficult to locate the problem. It's better to provide a repro.

@LingyuCoder LingyuCoder added need reproduction and removed pending triage The issue/PR is currently untouched. labels Dec 18, 2024
Copy link
Contributor

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

@KevinGruber
Copy link
Author

Hi @LingyuCoder

thanks for answering my ticket.
I can't do a reproduction as it is a closed source framework which uses rspack under the hood.

What I found out through experimentation is that it only happens since 1.1.0 and when experiments.incremental is turned on.

I turned it off now so not a big deal, but something seemed to have changed from 1.0.x to 1.1.0 regarding this experimental flag.

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

No branches or pull requests

2 participants