Project

General

Profile

Bug #16434

rails c crashed

Added by dmitry.malyk (Dmitry Malyk) 8 months ago. Updated 8 months ago.

Status:
Third Party's Issue
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
2.6.3
[ruby-core:96335]

Description

[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) ruby_2019-12-19-161434_silver-wing.crash dmitry.malyk (Dmitry Malyk), 12/19/2019 02:18 PM

Updated by nobu (Nobuyoshi Nakada) 8 months ago

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.

Updated by mame (Yusuke Endoh) 8 months ago

  • Status changed from Open to Third Party's Issue

Thank you for the report.

Maybe https://github.com/brianmario/mysql2/issues/1075 seems related. Anyway, the issue seems to occur in mysql2 library. Cloud you ask them first?

Also available in: Atom PDF