Skip to content

Segfault on macOS High Sierra #61

@sometimesfood

Description

@sometimesfood

rjb seems to have stopped working on macOS High Sierra (10.13.4). Running Rjb::load results in the following error message:

Segmentation fault at 0x00000000000000

I happened to have a clean install lying around to verify the problem does not only occur in my specific environment.

Steps to reproduce on a fresh macOS High Sierra install (Mac Command Line Developer Tools installed):

bash-3.2$ gem install --no-ri --no-rdoc --user-install -v 1.5.5 rjb
# […]
bash-3.2$ ruby -e "require 'rjb'; Rjb::load"

Results:

-e:1: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:                    
     * ~/Library/Logs/CrashReporter                                         
     * /Library/Logs/CrashReporter                                          
     * ~/Library/Logs/DiagnosticReports                                     
     * /Library/Logs/DiagnosticReports                                      
   for more details.                                                        
Don't forget to include the above Crash Report log file in bug reports.     

-- Control frame information -----------------------------------------------
c:0003 p:---- s:0007 e:000006 CFUNC  :load
c:0002 p:0019 s:0004 E:000ac0 EVAL   -e:1 [FINISH]
c:0001 p:0000 s:0002 E:0019a0 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
-e:1:in `<main>'
-e:1:in `load'

-- Machine register context ------------------------------------------------
 rax: 0x0000000000000000 rbx: 0x000000010cd2fc0c rcx: 0x0000000000000000
 rdx: 0x0000000000000008 rdi: 0x00007fff7ed12e00 rsi: 0x00007fffb72fc770
 rbp: 0x00007ffee4e2fc40 rsp: 0x00007ffee4e2fc28  r8: 0x000000000012f0e1
  r9: 0x00007fffb72fbda8 r10: 0x00007ffee4e2fc30 r11: 0x0000000000000206
 r12: 0x0000000000000001 r13: 0x0000000000000030 r14: 0x00007ffee4e320c0
 r15: 0x000000010af48ab8 rip: 0x0000000000000000 rfl: 0x0000000000010246

-- C level backtrace information -------------------------------------------

Environment:

bash-3.2$ which ruby
/usr/bin/ruby
bash-3.2$ ruby --version
ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
bash-3.2$ which java
/usr/bin/java
bash-3.2$ java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
bash-3.2$ /usr/libexec/java_home 
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home

Do you have any idea on what might be going wrong here? I would be happy to provide more information if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions