ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: bandy.chris@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:96113] [Ruby master Bug#16239] Crash when accessing postgresql-12
Date: Wed, 04 Dec 2019 21:10:24 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-82972.20191204211024.fd1cd50f7192c0af@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-16239.20191004175906@ruby-lang.org

Issue #16239 has been updated by cbandy (Chris Bandy).


@jeremyevans0 is correct. This is a fatal interaction between the PostgreSQL 12 client libraries and the GSS implementation provided by macOS. This is being tracked in the pg gem at https://github.com/ged/ruby-pg/issues/311.

An immediate workaround is to include `gssencmode: "disable"` or `gssencmode=disable` in your connection configuration.

----------------------------------------
Bug #16239: Crash when accessing postgresql-12
https://bugs.ruby-lang.org/issues/16239#change-82972

* Author: marksiemers (Mark Siemers)
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-darwin18]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
This may have been caused by a recent upgrade to postgresql 12 on my local machine (running OS X Mojave). pgAdmin 4 is also giving me an error.

I am running a rails console, and as soon as I try to do anything with ActiveRecord that accesses the database, I get an error and a crash report,



---Files--------------------------------
ruby_2019-10-04-105528_Marks-MacBook-Pro.crash (57.3 KB)


-- 
https://bugs.ruby-lang.org/

      parent reply	other threads:[~2019-12-04 21:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-16239.20191004175906@ruby-lang.org>
2019-10-04 17:59 ` [ruby-core:95230] [Ruby master Bug#16239] Crash when access postgresql-12 mark.siemers
2019-10-04 18:11 ` [ruby-core:95231] [Ruby master Bug#16239] Crash when accessing postgresql-12 merch-redmine
2019-12-04 21:10 ` bandy.chris [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-82972.20191204211024.fd1cd50f7192c0af@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).