You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I add around ~650 nested html-tags into a page and add an empty style-tag, the compiler crashes with "Internal server error: Maximum call stack size exceeded".
12:34:05 [vite] Internal server error: Maximum call stack size exceeded
Plugin: vite-plugin-svelte
File: /sveltekit-repro-callstack/src/routes/index.svelte
at handle_var_declaration (/sveltekit-repro-callstack/node_modules/.pnpm/svelte@3.42.4/node_modules/svelte/compiler.mjs:6470:10)
at VariableDeclaration (/sveltekit-repro-callstack/node_modules/.pnpm/svelte@3.42.4/node_modules/svelte/compiler.mjs:6755:10)
at handle (/sveltekit-repro-callstack/node_modules/.pnpm/svelte@3.42.4/node_modules/svelte/compiler.mjs:6175:17)
at /sveltekit-repro-callstack/node_modules/.pnpm/svelte@3.42.4/node_modules/svelte/compiler.mjs:6408:18
at Array.map (<anonymous>)
at handle_body (/sveltekit-repro-callstack/node_modules/.pnpm/svelte@3.42.4/node_modules/svelte/compiler.mjs:6407:21)
at /sveltekit-repro-callstack/node_modules/.pnpm/svelte@3.42.4/node_modules/svelte/compiler.mjs:6489:7
at scoped_fn (/sveltekit-repro-callstack/node_modules/.pnpm/svelte@3.42.4/node_modules/svelte/compiler.mjs:6376:10)
at handle (/sveltekit-repro-callstack/node_modules/.pnpm/svelte@3.42.4/node_modules/svelte/compiler.mjs:6175:17)
at /sveltekit-repro-callstack/node_modules/.pnpm/svelte@3.42.4/node_modules/svelte/compiler.mjs:6748:7
Severity
blocking all usage of svelte
The text was updated successfully, but these errors were encountered:
benbender
changed the title
compiler crashes at ~700+ nested elements \w "Maximum call stack size exceeded"
compiler crashes at ~650+ nested elements \w "Maximum call stack size exceeded"
Sep 5, 2021
Describe the bug
If I add around ~650 nested html-tags into a page and add an empty style-tag, the compiler crashes with "Internal server error: Maximum call stack size exceeded".
The bug does not seem to appear if:
Reproduction
https://svelte.dev/repl/0a52a75c95d34423bf6d328ca4e1db88?version=3.42.4
Logs
Severity
blocking all usage of svelte
The text was updated successfully, but these errors were encountered: