From: Nikolai Lugovoi Date: 2009-10-07T16:32:59+09:00 Subject: [ruby-core:25988] Re: [Bug #2181] Segmentation fault for test/drb/* -- possible bug in Marshal/GC On Wed, Oct 7, 2009 at 6:01 AM, Nobuyoshi Nakada wrote: > Does this patch fix it? > > Index: marshal.c > =================================================================== > --- marshal.c �� (revision 25242) > +++ marshal.c �� (working copy) > @@ -163,5 +163,5 @@ mark_dump_arg(void *ptr) > ��{ > �� �� struct dump_arg *p = ptr; > - �� ��if (!ptr) > + �� ��if (!p->symbols) > �� �� �� �� return; > �� �� rb_mark_set(p->data); > @@ -975,5 +975,5 @@ mark_load_arg(void *ptr) > ��{ > �� �� struct load_arg *p = ptr; > - �� ��if (!ptr) > + �� ��if (!p->symbols) > �� �� �� �� return; > �� �� rb_mark_tbl(p->data); > Yes, with this patch I cannot reproduce that crash any more.