Project

General

Profile

Bug #13895

TestVMDump test fails on High Sierra

Added by hsbt (Hiroshi SHIBATA) 9 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
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

Related to Ruby trunk - Bug #13566: A process freezes at the beginning of C level backtrace when a certain SEGV is occurredClosed

Associated revisions

Revision fff6809b
Added by naruse (Yui NARUSE) 9 months ago

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 59893
Added by naruse (Yui NARUSE) 9 months ago

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

Revision 59893
Added by naruse (Yui NARUSE) 9 months ago

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

Revision 59922
Added by znz (Kazuhiro NISHIYAMA) 9 months ago

Fix typos [ci skip]

Revision dff0aeda
Added by nagachika (Tomoyuki Chikanaga) 4 months ago

merge revision(s) 59893,59922: [Backport #13895]

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

Fix typos [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 62640
Added by nagachika (Tomoyuki Chikanaga) 4 months ago

merge revision(s) 59893,59922: [Backport #13895]

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

Fix typos [ci skip]

Revision d9a7903c
Added by usa (Usaku NAKAMURA) 3 months ago

merge revision(s) 59893,59922: [Backport #13895]

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

Fix typos [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@62811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 62811
Added by usa (Usaku NAKAMURA) 3 months ago

merge revision(s) 59893,59922: [Backport #13895]

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

Fix typos [ci skip]

History

#1 Updated by hsbt (Hiroshi SHIBATA) 9 months ago

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

#2 Updated by naruse (Yui NARUSE) 9 months 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]

#3 Updated by hsbt (Hiroshi SHIBATA) 9 months ago

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

#4 [ruby-core:85905] Updated by nagachika (Tomoyuki Chikanaga) 4 months 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.

#5 [ruby-core:86177] Updated by usa (Usaku NAKAMURA) 3 months 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.

Also available in: Atom PDF