Project

General

Profile

Actions

Bug #13895

closed

TestVMDump test fails on High Sierra

Added by hsbt (Hiroshi SHIBATA) over 7 years ago. Updated almost 7 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 #1

Updated by hsbt (Hiroshi SHIBATA) over 7 years ago

  • Related to Bug #13566: A process freezes at the beginning of C level backtrace when a certain SEGV is occurred added
Actions #2

Updated by naruse (Yui NARUSE) over 7 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r59893.


fix the case High Sierra's mincore(2) may return -128 [Bug #13895]

Actions #3

Updated by hsbt (Hiroshi SHIBATA) over 7 years ago

  • Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: DONTNEED, 2.3: REQUIRED, 2.4: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) almost 7 years ago

  • Backport changed from 2.2: DONTNEED, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: DONTNEED, 2.3: REQUIRED, 2.4: DONE

ruby_2_4 r62640 merged revision(s) 59893,59922.

Updated by usa (Usaku NAKAMURA) almost 7 years ago

  • Backport changed from 2.2: DONTNEED, 2.3: REQUIRED, 2.4: DONE to 2.2: DONTNEED, 2.3: DONE, 2.4: DONE

ruby_2_3 r62811 merged revision(s) 59893,59922.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0