We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
spack
When an input file for spack contains a declaration of an array with 64 or more numbers, spack panics:
thread '<unnamed>' panicked at 'cannot access a scoped thread local variable without calling `set` first', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\scoped-tls-1.0.0\src\lib.rs:168:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace node:internal/process/promises:288 triggerUncaughtException(err, true /* fromPromise */); ^ [Error: panic detected] { code: 'GenericFailure' } Node.js v18.0.0
thread '<unnamed>' panicked at 'cannot access a scoped thread local variable without calling `set` first', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\scoped-tls-1.0.0\src\lib.rs:168:9 stack backtrace: 0: 0x7ffb16013f5f - wasmer_vm_raise_trap 1: 0x7ffb16030eba - wasmer_vm_raise_trap 2: 0x7ffb1600db49 - wasmer_vm_raise_trap 3: 0x7ffb160169cb - wasmer_vm_raise_trap 4: 0x7ffb1601664b - wasmer_vm_raise_trap 5: 0x7ffb16016f79 - wasmer_vm_raise_trap 6: 0x7ffb16e5535a - wasmer_vm_raise_trap 7: 0x7ffb16e55327 - wasmer_vm_raise_trap 8: 0x7ffb1771a6fd - wasmer_vm_raise_trap 9: 0x7ffb16e13443 - wasmer_vm_raise_trap 10: 0x7ffb16df0bdc - wasmer_vm_raise_trap 11: 0x7ffb15f482f1 - wasmer_vm_raise_trap 12: 0x7ffb15f4b42f - wasmer_vm_raise_trap 13: 0x7ffb16def03c - wasmer_vm_raise_trap 14: 0x7ffb15f47df4 - wasmer_vm_raise_trap 15: 0x7ffb15f4a9d1 - wasmer_vm_raise_trap 16: 0x7ffb15f4a922 - wasmer_vm_raise_trap 17: 0x7ffb15f48f76 - wasmer_vm_raise_trap 18: 0x7ffb15c86836 - Ordinal0 19: 0x7ffb15c7d3c3 - Ordinal0 20: 0x7ffb15b4634a - Ordinal0 21: 0x7ffb15b9aa39 - Ordinal0 22: 0x7ffb15b59396 - Ordinal0 23: 0x7ffb15bda5ab - Ordinal0 24: 0x7ffb15b13479 - Ordinal0 25: 0x7ff70e1ebc3e - uv_queue_work 26: 0x7ff70e1d7d4d - uv_poll_stop 27: 0x7ff70f182060 - v8::internal::compiler::ToString 28: 0x7ffb89e47034 - BaseThreadInitThunk 29: 0x7ffb8a5e26a1 - RtlUserThreadStart node:internal/process/promises:288 triggerUncaughtException(err, true /* fromPromise */); ^ [Error: panic detected] { code: 'GenericFailure' } Node.js v18.0.0
Input:
// foo.js const foo = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ];
spack.config.js
const { config } = require("@swc/core/spack"); module.exports = config({ entry: 'foo.js', output: { path: __dirname, name: 'bar.js', }, module: {}, });
This might be related to #157 but the error is very generic and this might be a different cause, so I opened this issue.
The text was updated successfully, but these errors were encountered:
bundle
No branches or pull requests
When an input file for
spack
contains a declaration of an array with 64 or more numbers,spack
panics:With RUST_BACKTRACE=full
Input:
spack.config.js
This might be related to #157 but the error is very generic and this might be a different cause, so I opened this issue.
The text was updated successfully, but these errors were encountered: