mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-14 09:50:34 +01:00
Disabled test that was killing my machine for some reason. Scary.
This commit is contained in:
parent
725d363877
commit
682202fdfa
3 changed files with 45 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2004-12-20 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* test/text_cache_crash.c (draw): Disabled test that was killing
|
||||
my machine for some reason. Scary.
|
||||
|
||||
2004-12-20 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo_image_surface.c
|
||||
|
|
|
|||
|
|
@ -83,8 +83,28 @@ draw (cairo_t *cr, int width, int height)
|
|||
|
||||
/* Then there was a bug that choked when selecting a font too big
|
||||
* for the cache. */
|
||||
|
||||
/* XXX: Sometimes this leads to an assertion:
|
||||
|
||||
_cairo_cache_lookup: Assertion `cache->max_memory >= (cache->used_memory + new_entry->memory)' failed.
|
||||
Aborted
|
||||
|
||||
But other times my machine hangs completely only to return to life
|
||||
several minutes later with some programs missing. This seems like
|
||||
the out-of-memory killer to me.
|
||||
|
||||
It seems like I usually get the assertion when I run
|
||||
./text_cache_crash directly and I usually get the machine hang when
|
||||
I run "make check" but I don't know if there's a perfect
|
||||
correlation there.
|
||||
|
||||
So there's a bad bug here somewhere that really needs to be fixed.
|
||||
But in the meantime, I need "make check" not to destory work, so
|
||||
I'm commenting this test out for now.
|
||||
|
||||
cairo_scale_font (cr, 500);
|
||||
cairo_show_text (cr, "hello");
|
||||
*/
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
|
|
@ -83,8 +83,28 @@ draw (cairo_t *cr, int width, int height)
|
|||
|
||||
/* Then there was a bug that choked when selecting a font too big
|
||||
* for the cache. */
|
||||
|
||||
/* XXX: Sometimes this leads to an assertion:
|
||||
|
||||
_cairo_cache_lookup: Assertion `cache->max_memory >= (cache->used_memory + new_entry->memory)' failed.
|
||||
Aborted
|
||||
|
||||
But other times my machine hangs completely only to return to life
|
||||
several minutes later with some programs missing. This seems like
|
||||
the out-of-memory killer to me.
|
||||
|
||||
It seems like I usually get the assertion when I run
|
||||
./text_cache_crash directly and I usually get the machine hang when
|
||||
I run "make check" but I don't know if there's a perfect
|
||||
correlation there.
|
||||
|
||||
So there's a bad bug here somewhere that really needs to be fixed.
|
||||
But in the meantime, I need "make check" not to destory work, so
|
||||
I'm commenting this test out for now.
|
||||
|
||||
cairo_scale_font (cr, 500);
|
||||
cairo_show_text (cr, "hello");
|
||||
*/
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue