-
Hello, I am trying to build our codebase (which Berry has implemented) using Emscripten. The build process itself is fine, but I am getting runtime errors with invalid pointers. It is coming from this function, and I cannot find why and where is this function called. This function is getting an invalid pointer, for some reason. (Ultimately, it ends up in be_string.c, be_newstr(), where it crashes) The logs indicate the pointer and the string content. You can see that the code crashes at the reading of the (invalid pointer) string. Any idea what could be up? Or maybe prior experience with compiling Berry with Emscripten? I suppose @skiars had to undergo this for the website Berry execution? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I have built it several times without any issue. Did you use this repository ? |
Beta Was this translation helpful? Give feedback.
This fixed the entirety of my problem. 😄
Probably not a good practice, but I will test out if it affects anything in my ESP32 environment.