question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Command was killed with SIGSEGV (Segmentation fault): /Users/.../node_modules/prisma2/query-engine-darwin --enable_raw_queries cli --dmmf

See original GitHub issue

Redwood was released yesterday, and we have 2 reports of segfaults in Prisma tooling:

  1. https://github.com/prisma/migrate/issues/364
  2. https://github.com/redwoodjs/redwood/issues/215

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 the example-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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:25 (11 by maintainers)

github_iconTop GitHub Comments

5reactions
cephalizationcommented, May 5, 2020

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!

4reactions
janpiocommented, Mar 11, 2020

We could reproduce internally and are now investigating and working on a fix.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found