[ruby-core:96336] [Ruby master Bug#16434] rails c crashed

[email protected]
Newsgroups gmane.comp.lang.ruby.core
Message-ID <redmine.journal-83246.20191219143158.4132c61b843fa99f@ruby-lang.org>
Issue #16434 has been updated by nobu (Nobuyoshi Nakada).


Although it is unclear without the backtrace by ruby itself, it seems caused by a wrong argument to `Mysql2::Client#connect`.
https://github.com/brianmario/mysql2/blob/785969fbceadd96d495ec9fecc67efee03d0056c/ext/mysql2/client.c#L438
That method seems to expect a `Hash` as 8th argument, but no check.

----------------------------------------
Bug #16434: rails c crashed
https://bugs.ruby-lang.org/issues/16434#change-83246

* Author: dmitry.malyk (Dmitry Malyk)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.6.3
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html

[IMPORTANT]
Don't forget to include the Crash Report log file under
DiagnosticReports directory in bug reports.


---Files--------------------------------
ruby_2019-12-19-161434_silver-wing.crash (57.2 KB)


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

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.