Error: Command was killed with SIGSEGV (Segmentation fault): /Users/.../node_modules/prisma2/query-engine-darwin --enable_raw_queries cli --dmmf
See original GitHub issueRedwood was released yesterday, and we have 2 reports of segfaults in Prisma tooling:
This issue is our representation of the second one above:
This project looks great! I’m hoping to get a demo going with TinaCMS added to it for content editing.
Unfortunately, running
yarn rw db up
threw an error while I was trying to setup theexample-blog
.Migrate database up... [completed] Generating the Prisma client... [started] Error: Error: Command was killed with SIGSEGV (Segmentation fault): /Users/ncphillips/Code/ncphillips/example-blog/node_modules/prisma2/query-engine-darwin --enable_raw_queries cli --dmmf Generating the Prisma client... [failed] → Command failed with exit code 1: prisma2 generate Command failed with exit code 1: prisma2 generate ✨ Done in 1.66s.
I can reliably reproduce by following the Install Steps for the Example Blog, even from a fresh clone. The only thing I changed from teh repo is I switched the datasource provider to
sqlite
.| OS | macOS 10.15.3 | | node | 12.14.1 | | yarn | 1.15.2 |
The Redwood team also supplied some context where in their code our tooling is called here:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:25 (11 by maintainers)
Top Results From Across the Web
Why Do I Get This Segmentation Fault In This PHP Command ...
I got this error due to a simple stack overflow. Why I didn't get another error than a segmentation fault is a good...
Read more >What is Segmentation Fault? What does SIGSEGV mean?
From /var/log/messages file I saw rsyslogd core dumped. ... I also found that it died with SIGSEGV. What does SIGSEGV mean? Raw. #...
Read more >Coredumping with segmentation fault while starting system ...
Oracle Clusterware infrastructure fatal error in CRSCTL (OS PID 4248): Clusterware dumping stack for fatal signal 11... Signal details: [ ...
Read more >Segmentation Fault Core Dumped Ubuntu - Javatpoint
Segmentation faults are a basic error class in programs specified in many languages such as C language that offers low-level memory access and...
Read more >Segmentation faults - Geos-chem
If your simulation dies with a segmentation fault error, this means that GEOS-Chem tried to ... forrtl: severe (174): SIGSEGV, segmentation fault occurred....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I sure am, I knew it was a bad idea to use newest node 🙃 I’ll try an older node, thank you
EDIT
node 12.16.3 works perfectly, thanks again!
We could reproduce internally and are now investigating and working on a fix.