Re: [PATCH] Fixing `gc-live-object-stats'

2005-12-06 Thread Neil Jerram
[EMAIL PROTECTED] (Ludovic Courtès) writes: > 2005-11-17 Ludovic Courtès <[EMAIL PROTECTED]> > > * gc-card.c (scm_i_card_statistics): Return if BITVEC is NULL. > This was typically hit when running `gc-live-object-stats' right > after starting Guile. This is in CVS now.

Re: [PATCH] Fixing `gc-live-object-stats'

2005-12-05 Thread Ludovic Courtès
Hi, Neil Jerram <[EMAIL PROTECTED]> writes: > Ludovic, if you can post the patch again, I'll commit it. Thanks Neil, I appreciate your involvement. Ludovic. 2005-11-17 Ludovic Courtès <[EMAIL PROTECTED]> * gc-card.c (scm_i_card_statistics): Return if BITVEC is NULL. This wa

Re: [PATCH] Fixing `gc-live-object-stats'

2005-12-03 Thread Neil Jerram
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > Ludovic Courtès wrote: >> Hi, >> [EMAIL PROTECTED] (Ludovic Courtès) writes: >> >>>2005-11-17 Ludovic Courtès <[EMAIL PROTECTED]> >>> >>> * gc-card.c (scm_i_card_statistics): Return if BITVEC is NULL. >>> This was typically hit when running

Re: [PATCH] Fixing `gc-live-object-stats'

2005-11-30 Thread Han-Wen Nienhuys
Ludovic Courtès wrote: Hi, [EMAIL PROTECTED] (Ludovic Courtès) writes: 2005-11-17 Ludovic Courtès <[EMAIL PROTECTED]> * gc-card.c (scm_i_card_statistics): Return if BITVEC is NULL. This was typically hit when running `gc-live-object-stats' right after starting Guile

Re: [PATCH] Fixing `gc-live-object-stats'

2005-11-30 Thread Ludovic Courtès
Hi, [EMAIL PROTECTED] (Ludovic Courtès) writes: > 2005-11-17 Ludovic Courtès <[EMAIL PROTECTED]> > > * gc-card.c (scm_i_card_statistics): Return if BITVEC is NULL. > This was typically hit when running `gc-live-object-stats' right > after starting Guile. Can this be applied?

Re: [PATCH] Fixing `gc-live-object-stats'

2005-11-17 Thread Han-Wen Nienhuys
Ludovic Courtès wrote: BTW, looking at the code of `scm_i_sweep_some_cards ()', it looks like cards can be initialized more than once in the event where THRESHOLD is reached before NEXT_FREE reached the upper boundary of SEG. In such a case, SEG->FIRST_TIME will remain equal to 1, and thus, the

[PATCH] Fixing `gc-live-object-stats'

2005-11-17 Thread Ludovic Courtès
Hi, [EMAIL PROTECTED] (Ludovic Courtès) writes: > $ guile > guile> (gc-live-object-stats) > Segmentation fault (core dumped) The patch below fixes this problem. Basically, what happens when doing this is that `scm_i_card_statistics ()' gets called on yet uninitialized cards. This is norm