-
Notifications
You must be signed in to change notification settings - Fork 6
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
RangeError: Maximum call stack size exceeded (Safari) #28
Comments
This will require a custom build of php-wasm, I think, that will name debugging easier. The fix will need to go into that package |
The banner warning is displayed for everyone, I'm not doing browser checks |
Requires |
With diff --git a/Makefile b/Makefile
index 2aeca3cd..0676fd42 100755
--- a/Makefile
+++ b/Makefile
@@ -388,7 +388,7 @@ BUILD_FLAGS=-f ../../php.mk \
EXTRA_LDFLAGS_PROGRAM='-O${OPTIMIZE} -static \
-Wl,-zcommon-page-size=2097152 -Wl,-zmax-page-size=2097152 -L/src/lib/lib \
${SYMBOL_FLAGS} -flto -fPIC \
- -s EXPORTED_RUNTIME_METHODS='\''["ccall", "UTF8ToString", "lengthBytesUTF8", "getValue", "FS"]'\'' \
+ -s EXPORTED_RUNTIME_METHODS='\''["ccall", "UTF8ToString", "lengthBytesUTF8", "getValue", "FS", "ENV"]'\'' \
-s ENVIRONMENT=${ENVIRONMENT} \
-s INITIAL_MEMORY=${INITIAL_MEMORY} \
-s MAXIMUM_MEMORY=${MAXIMUM_MEMORY} \ Different build notes for myself:
TO TRY
|
It appears that the stack size in WebKit isn't large enough and crashes when executing.
Links
Original report, early prototype
https://x.com/claudiu_cristea/status/1808274872872702302
Error on Drupal Core with install script
Error on visiting installed Starshot prototype
The text was updated successfully, but these errors were encountered: