[GAP Forum] bad bags

Alexander Konovalov alexk at mcs.st-andrews.ac.uk
Sun Aug 29 15:29:02 BST 2010


Dear Attila,

Are you attempting to save the workspace when this happens? 

The only line in the GAP kernel which may produce such message is in the
saving workspace mechanism, and its meaning is explained in the documentation
for SaveWorkspace (see ?SaveWorkspace in GAP):

===
SaveWorkspace may sometimes produce warning messages, as in

gap> SaveWorkspace("b5");
#W bad bag id 4 found, 0 saved
#W bad bag id 20 found, 0 saved
true

A small number of such messages can probably be ignored (they arise because 
the garbage collector may not always collect all dead objects, and dead objects 
may contain data that SaveWorkspace does not know how to process).
===

Best wishes,
Alexander


On 25 Aug 2010, at 19:03, Attila Egri-Nagy wrote:

> Hello,
> 
> We have been running large scale computation in GAP but sometimes we get
> warning messages like
> 
> #W bad bag id 608 found, 0 saved
> 
> and then execution stops. Clearly this message comes from the garbage
> collector, but what does it mean?
> 
> Thanks!
> 
> attila egri-nagy
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum


--
Dr. Alexander Konovalov               School of Computer Science
& Centre for Interdisciplinary Research in Computational Algebra
University of St Andrews                 Tel +44/0 (1334) 461633
http://www.cs.st-andrews.ac.uk/~alexk    Fax +44/0 (1334) 463278
The University of St Andrews is a charity registered in Scotland:No.SC013532










More information about the Forum mailing list