ruby 2.3.3p222 (2016-11-21) [arm-linux-gnueabihf] segfaults with various libraries

Bug #1803538 reported by Francesc Oller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

same bug as https://bugs.ruby-lang.org/issues/14467
An example to reproduce:

require 'gtk3'
require 'mfrc522'
rfid = MFRC522.new

This ruby version segfaults with various ruby gems: evdev, mfrc522, ruby-nfc,...

This is unfortunate because this ruby version is the one which gets installed with sudo apt-get install ruby on RPi Raspbian Stretch. Quick workaround: install ruby 2.5 via rvm and forget about ruby 2.3.3 stock

I'd request to change ruby version on stock Raspbian Stretch 2018-06-27

Revision history for this message
peter green (plugwash) wrote :

If you can supply a targetted patch I will consider it, but I'm not going to go changing the default ruby version in a stable release.

Good to hear it works with ruby 2.5 which looks like it will be the default in buster.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.