-
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
segmentation fault starting agd on intel mac w/VirtioFS #30
Comments
ran into this again today
|
today's problem was with dapp-agoric-basics:
|
This is likely not a problem of a3p but of agd. Does this reproduce consistently? It would be nice to have the full logs of |
Previously, there were no logs, core dump, stack trace message, etc. Or Docker ate them. We've had other reports of segfaults of agd in the field, not using Docker or Intel Mac, but they were sporadic and gave a stack trace pointing to GC in the runtime. I suspect that our dual-runtime process setup might play a role in this, since Node and Go individually are quite stable and have probably been used heavily on Docker/Intel Mac. This is only a circumstantial suspicion. If we had split brain working, we could exonerate or implicate the dual-runtime. Since every part of this issue works fine on its own, or even in all pairs (Docker, Intel Mac, agd), the issue is likely completely bananas. |
Trying to repro, but
Have we made the jump to node version 18? |
SDK hasn't: Agoric/agoric-sdk#8365 Neither has https://github.com/Agoric/dapp-agoric-basics , but its dependencies have ( |
More specifically, my question is should I upgrade my local machine to node 18, or do I need to install |
@JimLarson your local machine can run Active LTS which is 20 |
Upgraded to node 20 and I can repro the failure. |
Segfault when launching ag-chain-cosmos. |
Can reproduce in docker container by changing to home directory and running
Error appears to be in node startup:
Compared to a non-Docker environment (scenario2-run-chain in packages/cosmic-swingset)
|
Not sure if this is an acceptable resolution, but following a similar issue I disabled the "use virtualization framework" in docker desktop > settings > general. This also required me to change the file sharing to "gRPC FUSE". Seems to work now. |
That sounds like a quirk of MacOS docker, which would make sense given this doesn't seem to happen on Linux (or WSL) machines. |
Closing with the above instructions for workaround. Hopefully future releases of Docker or Node (or MacOS?) will fix the issue. |
Note resolution is to switch to gRPC FUSE and disable virtualization framework.
What I did:
agoric install
and test the contract withcd contract; yarn; yarn test
yarn start:docker
spends a long time (552.26s) pulling an image but then...yarn docker:logs
shows that it crashed right away:start_agd.sh: line 10: 134 Segmentation fault
I think @JimLarson ran into these symptoms as well.
Image version:
MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
Purchase Date: February 2021
Intel Core i5
console detail
The text was updated successfully, but these errors were encountered: