Opened 4 years ago

Closed 3 years ago

#62222 closed defect (fixed)

ruby24 @2.4.10_5 gem2.4 crashes unless run as root.

Reported by: snowflake (Dave Evans) Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc:
Port: ruby24

Description

Using the gem2.4 package manager for ruby 2.4, I noticed that it crashes if ran as a normal user.

When this happens, it is not possible to control-C the process from the terminal window. A process named ruby24 is left consuming CPU cycles. I had to kill the process with sudo killall -ABRT ruby24

No diagnostic reports are available in ~/Library/Logs or /Library/Logs

I'll attach a diagnostic message copied from Terminal window.

Attachments (1)

screen.txt (3.8 KB) - added by snowflake (Dave Evans) 4 years ago.
Crash report for gem2.4 copied from Terminal window

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by snowflake (Dave Evans)

Attachment: screen.txt added

Crash report for gem2.4 copied from Terminal window

comment:1 Changed 4 years ago by snowflake (Dave Evans)

gem2.4 crashes as non-root user on El Capitan, it is OK on Catalina.

comment:2 Changed 4 years ago by snowflake (Dave Evans)

I discovered there was a ~/.gem folder from when I was experimenting with gems a year ago. I moved the folder to ~/.gem-save and now gem2.4 works as a normal user. It's possible that gems from various versions of Ruby are not co-existing properly in my .gem folder.

I'll have to read the documentation for tips on how to fix this properly, but for the moment I regard this bug as fixed.

comment:3 Changed 3 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.