Created attachment 205223 [details] patch Under certain conditions nvi crashes with: BDB0635 DB_CREATE must be specified to create databases. Segmentation fault (core dumped) I sometimes see it using this tcsh alias: alias pvi 'env EXINIT="${EXINIT} expandtab" /usr/local/bin/nvi This patch applies a macports.org fix found in this github commit: https://github.com/handyman5/homebrew/commit/05b62a22b545761870fb1046d1c2c49cdba06b38 that adds the DB_CREATE flag when using bdb >= 4.4.
A commit references this bug: Author: leres Date: Wed Jul 3 17:39:29 UTC 2019 New revision: 505766 URL: https://svnweb.freebsd.org/changeset/ports/505766 Log: editors/nvi-devel: Fix DB_CREATE error and segmentation fault; add the DB_CREATE flag when using bdb >= 4.4. PR: 238712 Approved by: johans (maintainer timeout, 2 weeks), matthew (mentor, implicit) Obtained from: Mac Ports https://trac.macports.org/browser/trunk/dports/editors/nvi/files/patch-common__db.h?rev=108622 Changes: head/editors/nvi-devel/Makefile head/editors/nvi-devel/files/patch-common__db.h