Thank you, Joan. Very helpful! Although I wasn’t able to successfully build Erlang with the patch (perhaps needed to put in more time), I got a patched 19.3 version from Homebrew (brew install erlang19 --force-bottle).
This did the trick and couchdb is running well now. Again, thank you! Oleg > On Sep 28, 2017, at 7:26 PM, Joan Touzet <[email protected]> wrote: > > Hi Oleg, > > This is an Erlang bug: > > https://bugs.erlang.org/browse/ERL-439 > > This commit fixed the problem: > > > https://github.com/erlang/otp/commit/882c90f72ba4e298aa5a7796661c28053c540a96 > > If you can build Erlang from source, try applying this change and you > should be good to go. CouchDB isn't ready yet for Erlang 20, so you'll > need a build of Erlang 19.x or older that includes this one-line change > for High Sierra builds to work correctly. > > This is likely the core issue affecting the convenience binary as well, > so I've updated our ticket on this: > > -Joan > > ----- Original Message ----- > From: "Oleg Cohen" <[email protected]> > To: [email protected] > Sent: Thursday, 28 September, 2017 4:53:14 PM > Subject: Running CouchDB 2.1.0 on macOS High Sierra > > Greetings, > > I upgraded my MacBook Pro to macOS High Sierra and my couchdb stopped working > and crashed with a Segmentation Fault. > > I decided to build CouchDB v2.1.0 from source. > > The build completed successfully, but when I run couchdb I get the following > error: > > Assertion failed: (ctx), function digest_update, file > /BuildRoot/Library/Caches/com.apple.xbs/Sources/boringssl/boringssl-109.1.6/apple/crypto/digests.c, > line 49. > [os_mon] cpu supervisor port (cpu_sup): Erlang has closed > Abort > > I have Erlang 19.3 installed on the machine. > > I wonder if anybody else encountered similar issues with running under High > Sierra. I would appreciate any pointers on how to get CouchDB working again. > > Best, > Oleg
