ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:92465] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms
       [not found] <redmine.issue-15809.20190428164840@ruby-lang.org>
@ 2019-04-28 16:48 ` Greg.mpls
  2019-04-28 16:56 ` [ruby-core:92466] " takashikkbn
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: Greg.mpls @ 2019-04-28 16:48 UTC (permalink / raw)
  To: ruby-core

Issue #15809 has been reported by MSP-Greg (Greg L).

----------------------------------------
Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
https://bugs.ruby-lang.org/issues/15809

* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
See

https://travis-ci.org/ruby/ruby/jobs/525627187#L2684
https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey#L3402

Both have an error similar to:
```
/ruby/test/ruby/test_gc_compact.rb:128: [BUG] ROOT finalizers points to MOVED:
  0x0000000004679c20 -> 0x00000000089367c0 [0     ] T_ARRAY [E ] len: 1 (embed)
```

ruby-loco has also failed with a similar error.  Attached STDERR output.

---Files--------------------------------
test_all_err.log (42 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:92466] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms
       [not found] <redmine.issue-15809.20190428164840@ruby-lang.org>
  2019-04-28 16:48 ` [ruby-core:92465] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms Greg.mpls
@ 2019-04-28 16:56 ` takashikkbn
  2019-05-06 16:53 ` [ruby-core:92576] " Greg.mpls
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: takashikkbn @ 2019-04-28 16:56 UTC (permalink / raw)
  To: ruby-core

Issue #15809 has been updated by k0kubun (Takashi Kokubun).

Assignee set to tenderlovemaking (Aaron Patterson)
Status changed from Open to Assigned

----------------------------------------
Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
https://bugs.ruby-lang.org/issues/15809#change-77814

* Author: MSP-Greg (Greg L)
* Status: Assigned
* Priority: Normal
* Assignee: tenderlovemaking (Aaron Patterson)
* Target version: 
* ruby -v: 
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
See

https://travis-ci.org/ruby/ruby/jobs/525627187#L2684
https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey#L3402

Both have an error similar to:
```
/ruby/test/ruby/test_gc_compact.rb:128: [BUG] ROOT finalizers points to MOVED:
  0x0000000004679c20 -> 0x00000000089367c0 [0     ] T_ARRAY [E ] len: 1 (embed)
```

ruby-loco has also failed with a similar error.  Attached STDERR output.

---Files--------------------------------
test_all_err.log (42 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:92576] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms
       [not found] <redmine.issue-15809.20190428164840@ruby-lang.org>
  2019-04-28 16:48 ` [ruby-core:92465] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms Greg.mpls
  2019-04-28 16:56 ` [ruby-core:92466] " takashikkbn
@ 2019-05-06 16:53 ` Greg.mpls
  2019-05-07 13:42 ` [ruby-core:92584] " s.wanabe
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: Greg.mpls @ 2019-05-06 16:53 UTC (permalink / raw)
  To: ruby-core

Issue #15809 has been updated by MSP-Greg (Greg L).

ruby -v set to ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x64-mingw32

Continuing to see intermittent SEGV's, today:
```
/ruby/test/ruby/test_gc_compact.rb:114: [BUG] ROOT finalizers points to MOVED: 0x0000000004f37f88 -> 0x0000000009736f50 [0     ] T_ARRAY [E ] len: 1 (embed)

ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x64-mingw32]

-- Control frame information -----------------------------------------------
c:0016 p:---- s:0116 e:000115 CFUNC  :verify_compaction_references
c:0015 p:0056 s:0112 e:000111 METHOD /ruby/test/ruby/test_gc_compact.rb:114
c:0014 p:0059 s:0103 e:000102 METHOD /ruby/test/lib/test/unit.rb:1198
c:0013 p:0059 s:0097 e:000096 METHOD /ruby/test/lib/minitest/unit.rb:1327
c:0012 p:0015 s:0088 e:000087 METHOD /ruby/test/lib/test/unit/testcase.rb:18
c:0011 p:0043 s:0083 e:000082 BLOCK  /ruby/test/lib/minitest/unit.rb:964 [FINISH]
c:0010 p:---- s:0075 e:000074 CFUNC  :map
```

----------------------------------------
Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
https://bugs.ruby-lang.org/issues/15809#change-77935

* Author: MSP-Greg (Greg L)
* Status: Assigned
* Priority: Normal
* Assignee: tenderlovemaking (Aaron Patterson)
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x64-mingw32
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
See

https://travis-ci.org/ruby/ruby/jobs/525627187#L2684
https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey#L3402

Both have an error similar to:
```
/ruby/test/ruby/test_gc_compact.rb:128: [BUG] ROOT finalizers points to MOVED:
  0x0000000004679c20 -> 0x00000000089367c0 [0     ] T_ARRAY [E ] len: 1 (embed)
```

ruby-loco has also failed with a similar error.  Attached STDERR output.

---Files--------------------------------
test_all_err.log (42 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:92584] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms
       [not found] <redmine.issue-15809.20190428164840@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2019-05-06 16:53 ` [ruby-core:92576] " Greg.mpls
@ 2019-05-07 13:42 ` s.wanabe
  2019-05-09 11:46 ` [ruby-core:92615] " s.wanabe
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: s.wanabe @ 2019-05-07 13:42 UTC (permalink / raw)
  To: ruby-core

Issue #15809 has been updated by wanabe (_ wanabe).


Recursive finalizer definition raises a similar error on my environment.

```
$ ./miniruby -ve 'def foo(c = 10); ObjectSpace.define_finalizer(Object.new) { foo(c - 1) } if c > 0; end; 10.times do foo; GC.verify_compaction_references end'
ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x86_64-linux]
-e:1: [BUG] ROOT finalizers points to MOVED: 0x000055eb4bfdfd18 -> 0x000055eb4c041040 [0     ] T_ARRAY [E ] len: 1 (embed)

ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0005 p:---- s:0017 e:000016 CFUNC  :verify_compaction_references
c:0004 p:0016 s:0013 e:000012 BLOCK  -e:1 [FINISH]
c:0003 p:---- s:0010 e:000009 CFUNC  :times
(snip)
```

Note: this script is inspired by "lib/drb/timeridconv.rb".

----------------------------------------
Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
https://bugs.ruby-lang.org/issues/15809#change-77946

* Author: MSP-Greg (Greg L)
* Status: Assigned
* Priority: Normal
* Assignee: tenderlovemaking (Aaron Patterson)
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x64-mingw32
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
See

https://travis-ci.org/ruby/ruby/jobs/525627187#L2684
https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey#L3402

Both have an error similar to:
```
/ruby/test/ruby/test_gc_compact.rb:128: [BUG] ROOT finalizers points to MOVED:
  0x0000000004679c20 -> 0x00000000089367c0 [0     ] T_ARRAY [E ] len: 1 (embed)
```

ruby-loco has also failed with a similar error.  Attached STDERR output.

---Files--------------------------------
test_all_err.log (42 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:92615] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms
       [not found] <redmine.issue-15809.20190428164840@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2019-05-07 13:42 ` [ruby-core:92584] " s.wanabe
@ 2019-05-09 11:46 ` s.wanabe
  2019-05-10  0:41 ` [ruby-core:92618] " s.wanabe
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: s.wanabe @ 2019-05-09 11:46 UTC (permalink / raw)
  To: ruby-core

Issue #15809 has been updated by wanabe (_ wanabe).


`rb_gc()` calls `garbage_collect()` and `gc_finalize_deferred()`.
Finalizers may create (or recycle) objects, but they can't be pinned because the mark-and-pin phase of `garbage_collect()` is done.
How about delaying `gc_finalize_deferred()` phase after `gc_update_references()`?

----------------------------------------
Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
https://bugs.ruby-lang.org/issues/15809#change-77974

* Author: MSP-Greg (Greg L)
* Status: Assigned
* Priority: Normal
* Assignee: tenderlovemaking (Aaron Patterson)
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x64-mingw32
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
See

https://travis-ci.org/ruby/ruby/jobs/525627187#L2684
https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey#L3402

Both have an error similar to:
```
/ruby/test/ruby/test_gc_compact.rb:128: [BUG] ROOT finalizers points to MOVED:
  0x0000000004679c20 -> 0x00000000089367c0 [0     ] T_ARRAY [E ] len: 1 (embed)
```

ruby-loco has also failed with a similar error.  Attached STDERR output.

---Files--------------------------------
test_all_err.log (42 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:92618] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms
       [not found] <redmine.issue-15809.20190428164840@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2019-05-09 11:46 ` [ruby-core:92615] " s.wanabe
@ 2019-05-10  0:41 ` s.wanabe
  2019-05-15 18:26 ` [ruby-core:92665] " Greg.mpls
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: s.wanabe @ 2019-05-10  0:41 UTC (permalink / raw)
  To: ruby-core

Issue #15809 has been updated by wanabe (_ wanabe).


wanabe (_ wanabe) wrote:
> How about delaying `gc_finalize_deferred()` phase after `gc_update_references()`?

Like this:

```
diff --git a/gc.c b/gc.c
index ea4f54ce0e..68d58fcb5e 100644
--- a/gc.c
+++ b/gc.c
@@ -8100,14 +8100,17 @@ static VALUE
 rb_gc_compact(VALUE mod)
 {
     rb_objspace_t *objspace = &rb_objspace;
+    int reason = GPR_FLAG_FULL_MARK | GPR_FLAG_IMMEDIATE_MARK |
+                GPR_FLAG_IMMEDIATE_SWEEP | GPR_FLAG_CAPI;
 
     /* Ensure objects are pinned */
-    rb_gc();
+    garbage_collect(objspace, reason);
 
     gc_compact_heap(objspace);
 
     heap_eden->freelist = NULL;
     gc_update_references(objspace);
+    gc_finalize_deferred(objspace);
 
     rb_clear_method_cache_by_class(rb_cObject);
     rb_clear_constant_cache();
@@ -8191,14 +8194,17 @@ static VALUE
 gc_verify_compaction_references(VALUE mod)
 {
     rb_objspace_t *objspace = &rb_objspace;
+    int reason = GPR_FLAG_FULL_MARK | GPR_FLAG_IMMEDIATE_MARK |
+                GPR_FLAG_IMMEDIATE_SWEEP | GPR_FLAG_CAPI;
 
     /* Ensure objects are pinned */
-    rb_gc();
+    garbage_collect(objspace, reason);
 
     gc_compact_heap(objspace);
 
     heap_eden->freelist = NULL;
     gc_update_references(objspace);
+    gc_finalize_deferred(objspace);
     gc_check_references_for_moved(mod);
 
     rb_clear_method_cache_by_class(rb_cObject);
```

But I think it needs a refactoring because of duplicated code.

----------------------------------------
Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
https://bugs.ruby-lang.org/issues/15809#change-77977

* Author: MSP-Greg (Greg L)
* Status: Assigned
* Priority: Normal
* Assignee: tenderlovemaking (Aaron Patterson)
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x64-mingw32
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
See

https://travis-ci.org/ruby/ruby/jobs/525627187#L2684
https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey#L3402

Both have an error similar to:
```
/ruby/test/ruby/test_gc_compact.rb:128: [BUG] ROOT finalizers points to MOVED:
  0x0000000004679c20 -> 0x00000000089367c0 [0     ] T_ARRAY [E ] len: 1 (embed)
```

ruby-loco has also failed with a similar error.  Attached STDERR output.

---Files--------------------------------
test_all_err.log (42 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [ruby-core:92665] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms
       [not found] <redmine.issue-15809.20190428164840@ruby-lang.org>
                   ` (5 preceding siblings ...)
  2019-05-10  0:41 ` [ruby-core:92618] " s.wanabe
@ 2019-05-15 18:26 ` Greg.mpls
  2019-05-15 23:41 ` [ruby-core:92674] " s.wanabe
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: Greg.mpls @ 2019-05-15 18:26 UTC (permalink / raw)
  To: ruby-core

Issue #15809 has been updated by MSP-Greg (Greg L).


Still having intermittent SEGV, today:

```
/ruby/test/ruby/test_gc_compact.rb:129: [BUG] Object 0x000000000e2c9a80 [0     ] proc (Proc) block in on_gc@/install/lib/ruby/2.7.0/drb/timeridconv.rb:65 points to MOVED: 0x0000000001daec28 -> 0x000000000e2f89c0 [0     ] T_IMEMO env

ruby 2.7.0dev (2019-05-15 trunk 214e2f93aa) [x64-mingw32]

-- Control frame information -----------------------------------------------
c:0016 p:---- s:0114 e:000113 CFUNC  :verify_compaction_references
c:0015 p:0025 s:0109 e:000108 METHOD /ruby/test/ruby/test_gc_compact.rb:129
<clipped>
```

----------------------------------------
Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
https://bugs.ruby-lang.org/issues/15809#change-78029

* Author: MSP-Greg (Greg L)
* Status: Assigned
* Priority: Normal
* Assignee: tenderlovemaking (Aaron Patterson)
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x64-mingw32
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
See

https://travis-ci.org/ruby/ruby/jobs/525627187#L2684
https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey#L3402

Both have an error similar to:
```
/ruby/test/ruby/test_gc_compact.rb:128: [BUG] ROOT finalizers points to MOVED:
  0x0000000004679c20 -> 0x00000000089367c0 [0     ] T_ARRAY [E ] len: 1 (embed)
```

ruby-loco has also failed with a similar error.  Attached STDERR output.

---Files--------------------------------
test_all_err.log (42 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:92674] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms
       [not found] <redmine.issue-15809.20190428164840@ruby-lang.org>
                   ` (6 preceding siblings ...)
  2019-05-15 18:26 ` [ruby-core:92665] " Greg.mpls
@ 2019-05-15 23:41 ` s.wanabe
  2019-05-16 20:03 ` [ruby-core:92687] " Greg.mpls
  2019-05-16 21:54 ` [ruby-core:92689] " Greg.mpls
  9 siblings, 0 replies; 10+ messages in thread
From: s.wanabe @ 2019-05-15 23:41 UTC (permalink / raw)
  To: ruby-core

Issue #15809 has been updated by wanabe (_ wanabe).


gc_update_references() updates finalizer_table after https://git.ruby-lang.org/ruby.git/commit/?id=3cf767ee.
Therefore, "[BUG] ROOT finalizers points to MOVED" error seems to be suppressed.

I guess the [BUG] of [ruby-core:92665]  is caused by T_IMEMO env, not by finalizer_table.
Values of `env->env[]` are pinned normally, but finalizer can create imemo_env objects and they have unpinned `env->env[]` as I said in [ruby-core:92615].

```
diff --git a/gc.c b/gc.c
index b71c501a5b..ec90416672 100644
--- a/gc.c
+++ b/gc.c
@@ -7721,7 +7721,12 @@ gc_ref_update_imemo(rb_objspace_t *objspace, VALUE obj)
         case imemo_env:
             {
                 rb_env_t *env = (rb_env_t *)obj;
+                VALUE *envp = (VALUE*)env->env;
+                unsigned int i;
                 TYPED_UPDATE_IF_MOVED(objspace, rb_iseq_t *, env->iseq);
+                for (i = 0; i < env->env_size; i++) {
+                    UPDATE_IF_MOVED(objspace, envp[i]);
+                }
             }
             break;
             break;
```

----------------------------------------
Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
https://bugs.ruby-lang.org/issues/15809#change-78037

* Author: MSP-Greg (Greg L)
* Status: Assigned
* Priority: Normal
* Assignee: tenderlovemaking (Aaron Patterson)
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x64-mingw32
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
See

https://travis-ci.org/ruby/ruby/jobs/525627187#L2684
https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey#L3402

Both have an error similar to:
```
/ruby/test/ruby/test_gc_compact.rb:128: [BUG] ROOT finalizers points to MOVED:
  0x0000000004679c20 -> 0x00000000089367c0 [0     ] T_ARRAY [E ] len: 1 (embed)
```

ruby-loco has also failed with a similar error.  Attached STDERR output.

---Files--------------------------------
test_all_err.log (42 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [ruby-core:92687] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms
       [not found] <redmine.issue-15809.20190428164840@ruby-lang.org>
                   ` (7 preceding siblings ...)
  2019-05-15 23:41 ` [ruby-core:92674] " s.wanabe
@ 2019-05-16 20:03 ` Greg.mpls
  2019-05-16 21:54 ` [ruby-core:92689] " Greg.mpls
  9 siblings, 0 replies; 10+ messages in thread
From: Greg.mpls @ 2019-05-16 20:03 UTC (permalink / raw)
  To: ruby-core

Issue #15809 has been updated by MSP-Greg (Greg L).


@wanabe

Thank you for your work on this.  Today, I had the SEGV fault again during a ruby-loco build, and have found that running the two following test files will cause a SEGV:

```
drb/test_drbobject.rb  ruby/test_gc_compact.rb
```

I don't know if interaction with tests other than `drb/test_drbobject.rb` will cause a SEGV in `ruby/test_gc_compact.rb`.

`ruby/test_gc_compact.rb` seems to have been isolated in the CI here.  Up to now, ruby-loco has reliably passed test-all running parallel with retry.

I don't know c, and even if I did, I wouldn't want to jump into GC code.  Hence, I can't help with the issue.

It certainly seems incorrect to 'sweep the issue under the rug' via test isolation.  I can't think of any code in Ruby that should include a caveat something like "this may SEGV if you use it with an indeterminate set of classes/modules/methods...

I may isolate the drb test in ruby-loco and see what happens...

----------------------------------------
Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
https://bugs.ruby-lang.org/issues/15809#change-78046

* Author: MSP-Greg (Greg L)
* Status: Assigned
* Priority: Normal
* Assignee: tenderlovemaking (Aaron Patterson)
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x64-mingw32
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
See

https://travis-ci.org/ruby/ruby/jobs/525627187#L2684
https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey#L3402

Both have an error similar to:
```
/ruby/test/ruby/test_gc_compact.rb:128: [BUG] ROOT finalizers points to MOVED:
  0x0000000004679c20 -> 0x00000000089367c0 [0     ] T_ARRAY [E ] len: 1 (embed)
```

ruby-loco has also failed with a similar error.  Attached STDERR output.

---Files--------------------------------
test_all_err.log (42 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ruby-core:92689] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms
       [not found] <redmine.issue-15809.20190428164840@ruby-lang.org>
                   ` (8 preceding siblings ...)
  2019-05-16 20:03 ` [ruby-core:92687] " Greg.mpls
@ 2019-05-16 21:54 ` Greg.mpls
  9 siblings, 0 replies; 10+ messages in thread
From: Greg.mpls @ 2019-05-16 21:54 UTC (permalink / raw)
  To: ruby-core

Issue #15809 has been updated by MSP-Greg (Greg L).

File drb-test_drbobject.rb.patch added

I added a patch to (hopefully) allow `ruby/test_gc_compact.rb` to run with the rest of tests, which may help in determining if more tests are incompatible with it.

Decreased the 'time-to-live' of `DRb::TimerIdConv` objects from the default (600) to 0.2...

----------------------------------------
Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms
https://bugs.ruby-lang.org/issues/15809#change-78048

* Author: MSP-Greg (Greg L)
* Status: Assigned
* Priority: Normal
* Assignee: tenderlovemaking (Aaron Patterson)
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x64-mingw32
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
See

https://travis-ci.org/ruby/ruby/jobs/525627187#L2684
https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey#L3402

Both have an error similar to:
```
/ruby/test/ruby/test_gc_compact.rb:128: [BUG] ROOT finalizers points to MOVED:
  0x0000000004679c20 -> 0x00000000089367c0 [0     ] T_ARRAY [E ] len: 1 (embed)
```

ruby-loco has also failed with a similar error.  Attached STDERR output.

---Files--------------------------------
test_all_err.log (42 KB)
drb-test_drbobject.rb.patch (800 Bytes)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-05-16 21:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-15809.20190428164840@ruby-lang.org>
2019-04-28 16:48 ` [ruby-core:92465] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms Greg.mpls
2019-04-28 16:56 ` [ruby-core:92466] " takashikkbn
2019-05-06 16:53 ` [ruby-core:92576] " Greg.mpls
2019-05-07 13:42 ` [ruby-core:92584] " s.wanabe
2019-05-09 11:46 ` [ruby-core:92615] " s.wanabe
2019-05-10  0:41 ` [ruby-core:92618] " s.wanabe
2019-05-15 18:26 ` [ruby-core:92665] " Greg.mpls
2019-05-15 23:41 ` [ruby-core:92674] " s.wanabe
2019-05-16 20:03 ` [ruby-core:92687] " Greg.mpls
2019-05-16 21:54 ` [ruby-core:92689] " Greg.mpls

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).