Re[2]: [Gc] Bug: GC_get_stack_base does not acquire allocator lock

Ivan Maidanski ivmai at mail.ru
Thu Mar 4 11:50:39 PST 2010


Thu, 4 Mar 2010 20:23:07 +0100 письмо от Burkhard Linke <blinke at cebitec.uni-bielefeld.de>:

Hi,
> 
> On Thursday 04 March 2010, Ivan Maidanski wrote:
> 
> *snipsnap*
> 
> > (Of course, it's not hard to me to do these code reformatting myself but...
> > at least you should know this for the future)
> 
> Thx for the advice, I'll try to change the code according to the rules.
> 
> > Also, in the submitted backtrace:
> >
> > -----------------  lwp# 3 / thread# 3  --------------------
> >  fffffd7fff285966 GC_typed_mark_proc () + de
> > ......
> >
> > Which code line stands for "0xde" offset?
> 
> Program terminated with signal 11, Segmentation fault.
> #0  GC_typed_mark_proc (addr=0x7fffffb0e6f0, mark_stack_ptr=0x7fffffe76940, 
>     mark_stack_limit=0x7ffffd7fffa4, env=140737484475600)
>     at /vol/src/gnu/mono/contrib/bdwgc/typd_mlc.c:395
> 395                 current = *current_p;
> (gdb) p current_p
> $1 = (word *) 0x7ffffda4e000
> 
> With best regards,
> Burkhard

1. Could you reproduce this SEGV without USE_MUNMAP defined?
2. Is PROC_VDB defined (in gcconfig.h) in your case?



More information about the Gc mailing list