Closed kxxt closed 2 years ago
I tested v4.15.0-next.0 and it works. So this issue might be caused by lmdb v2.3.10 in https://github.com/gatsbyjs/gatsby/pull/35585.
Hi!
Please report this at https://github.com/kriszyp/lmdb-js/issues and be sure to also attach the detailed crash.log
. This way @kriszyp
will be able to better look into this. If you can reproduce it, that's even better!
Thanks!
The corresponding upstream issue(https://github.com/kriszyp/lmdb-js/issues/175) has been fixed in lmdb v2.5.1
Preliminary Checks
Description
After upgrading to gatsby v4.15, I encountered a segmentation fault error while running
gatsby develop
. (v4.14 works fine for me)(gatsby@next has this issue, too)
I used
segfault-handler
to locate where the SEGSEGV came from by adding the following lines togatsby-node.js
It seems that it is related to
lmdb
(which I am unfamiliar with).Reproduction Link
Unfortunately, I failed to make a minimal reproduction.
Steps to Reproduce
I failed to make a minimal reproduction and I also noticed that this issue didn't happen on netlify.
Maybe I can supply a minimal reproduction later.
My repo(not a minimal reproduction): https://github.com/kxxt/kxxt-website
yarn install
yarn develop --verbose
Expected Result
The development server starts successfully.
Actual Result
The development server crashed due to a segmentation fault.
Here is the log:
Environment
Config Flags
No response