[Gs-devel] BUG: gdevddrw.c / line 283 / FILL_TRAP_RECT_DIRECT

Pierre Arnaud Pierre.Arnaud at opac.ch
Fri Mar 23 00:29:41 PST 2001


It still crashes... but I have found the problem to be related to memory
management and the GC.

After calling 4484 times FILL_TRAP_RECT_DIRECT (line 283), a garbage
collection occurs, which moves around (gc_objects_compact) things in
memory, and more specifically it moves the memory device used by the
display device, which on the next invocation of display_fill_rectangle
will crash (ddev->mdev points to garbage).

What can be done to avoid the GC moving around the memory device ?

Hope this helps narrowing down the problem...

    Pierre






More information about the gs-devel mailing list