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]: GenericFailure: should send result success #8513

Open
chneau opened this issue Nov 23, 2024 · 4 comments
Open

[Bug]: GenericFailure: should send result success #8513

chneau opened this issue Nov 23, 2024 · 4 comments
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.

Comments

@chneau
Copy link

chneau commented Nov 23, 2024

System Info

Docker: oven/bun:alpine
Bun: 1.1.36
"@rsbuild/core": "^1.1.4",
"@rsbuild/plugin-react": "^1.0.7",

Details

[6/6] RUN RUST_BACKTRACE=full bun run build:
0.209 $ rsbuild build
0.419 Rsbuild v1.1.4
0.419
0.830 error
0.830 code: "GenericFailure"
0.830
1.152 Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
1.152 Message: failed to send error message: SendError { .. }
1.152 Location: ./crates/rspack_core/src/utils/task_loop.rs:90
1.152
1.152 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
1.152 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1.152
2.333 error: script "build" was terminated by signal SIGABRT (Abort)

Reproduce link

No response

Reproduce Steps

  1. Run build in Dockerized environment
  2. It's no more working since a certain version, I'll try to pin point it
@chneau chneau added bug Something isn't working pending triage The issue/PR is currently untouched. labels Nov 23, 2024
@chneau
Copy link
Author

chneau commented Nov 23, 2024

It's working on "@rsbuild/core": "=1.1.3", but not anymore in "@rsbuild/core": "=1.1.4",

 > [6/6] RUN RUST_BACKTRACE=full bun run build; false:                                                                    
0.214 $ rsbuild build                                                                                                     
0.422   Rsbuild v1.1.3                                                                                                    
0.422                                                                                                                     
3.137 ready   Built in 2.42 s (web)                                                                                       
3.191 
3.191   File (web)                              Size         Gzip    
3.191   dist/index.html                         0.43 kB      0.26 kB
3.191   dist/static/css/index.2f618401.css      3.1 kB       1.2 kB
3.191   dist/static/js/index.39992de9.js        40.8 kB      14.2 kB
3.191   dist/static/js/lib-react.b2e14fb4.js    140.2 kB     45.0 kB
3.191   dist/static/js/149.7f1e38a6.js          1861.2 kB    565.8 kB
3.191 
3.191   Total: 2045.7 kB (gzip: 626.4 kB)
3.191 

@chneau
Copy link
Author

chneau commented Nov 23, 2024

For some reason I can't get the error to be more explicit again but I have it here:

1.018  code: "GenericFailure"
1.018 
1.019 Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
1.019 Message:  should send result success: (ExecuteModuleResult { error: None, cacheable: true, file_dependencies: {}, context_dependencies: {}, missing_dependencies: {}, build_dependencies: {}, code_generated_modules: {}, assets: {}, id: 0 }, {}, {Identifier(u!("commonjs|/app/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!/app/node_modules/antd/dist/reset.css"))}, [])
1.019 Location: crates/rspack_core/src/compiler/module_executor/execute.rs:315
1.019 
1.019 Backtrace omitted.

@chneau
Copy link
Author

chneau commented Nov 23, 2024

Pinning to "@rsbuild/core": "=1.1.3" seems to be a good work around for now.

@JSerFeng
Copy link
Collaborator

Can you provide a minimal repro ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.
Projects
None yet
Development

No branches or pull requests

2 participants