Project

General

Profile

Actions

Bug #13895

closed

TestVMDump test fails on High Sierra

Added by hsbt (Hiroshi SHIBATA) over 6 years ago. Updated about 6 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 2.5.0dev (2017-09-14 trunk 59870) [x86_64-darwin17]
[ruby-core:82784]

Description

TestVMDump#test_darwin_invalid_call fails with Timeout::Error

I can reproduce with ruby -rfiddle -e "Fiddle::Function.new(Fiddle::Pointer.new(1), [], Fiddle::TYPE_VOID).call".
After that backtrace was stopped "C level backtrace information" section. like this

~ > ruby -rfiddle -e "Fiddle::Function.new(Fiddle::Pointer.new(1), [], Fiddle::TYPE_VOID).call"
-e:1: [BUG] Segmentation fault at 0x0000000000000001
ruby 2.5.0dev (2017-09-14 trunk 59870) [x86_64-darwin17]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:                    
     * ~/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:0010 e:000009 CFUNC  :call
c:0002 p:0041 s:0006 e:000005 EVAL   -e:1 [FINISH]
c:0001 p:0000 s:0003 E:002150 (none) [FINISH]

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

-- Machine register context ------------------------------------------------
 rax: 0x0000000000000000 rbx: 0x00007ffee4ff8d88 rcx: 0x0000000000000000
 rdx: 0x0000000000000000 rdi: 0x0000000000000000 rsi: 0x0000000000000000
 rbp: 0x00007ffee4ff8c00 rsp: 0x00007ffee4ff8bf8  r8: 0x0000000000000000
  r9: 0x0000000000000000 r10: 0x00007ffee4ff8b50 r11: 0x0000000000000001
 r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x000000010b1566e0
 r15: 0x00007ffee4ff8d70 rip: 0x0000000000000001 rfl: 0x0000000000010246

-- C level backtrace information -------------------------------------------
(stopped this line)

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #13566: A process freezes at the beginning of C level backtrace when a certain SEGV is occurredClosednaruse (Yui NARUSE)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0