CodeSandBox core dump investigation #783
Labels
bug/0-unknown
Bug is new, does not have information for reproduction or reproduction could not be confirmed.
kind/bug
A reported bug.
Milestone
When starting a CSB with Photon, it sometimes yields an error like this
Example: https://codesandbox.io/s/prisma-3zk19
This project has a "core" (core dump) file in
prisma/
folder that is not visible in the UI because it is too large to be synced for CSB (as of today).To get a hold of this file, run
python -m SimpleHTTPServer
in the CSB shell, then use the "Server Control Panel" "Open ports" to download it to your file system.Running it through
gdb -c core
yieldsInterestingly, this happens when CSB is loading, once it is loaded, photon queries work and most query engine operations (I tried them by manually calling the engine with environment variables) work.
Also,
Core was generated by
/sandbox/node_modules/@generated/photon/runtime/query-engine-linux-glibc-libssl'.form the logs is different from the actual binary path which is named differently as
query-engine-linux-glibc-libssl1.1.0` (I think it is renamed and that might be related)Notes (when inside
gdb
prompt):Load the symbols:
Stacktrace:
bt
Stacktrace for every thread:
thread apply all bt full
(output: https://gist.github.com/divyenduz/dfa1c2cc684b016a84b483c784c58449)Core dump file: https://divyendu.s3-eu-west-1.amazonaws.com/core
Binary that produced this: https://divyendu.s3-eu-west-1.amazonaws.com/query-engine-linux-glibc-libssl1.1.0
CSB repro (flaky): https://codesandbox.io/s/prisma-3zk19
The text was updated successfully, but these errors were encountered: