Server crash uploading multiple glyphs at once with XRenderAddGlyphs
Dave Airlie
airlied at gmail.com
Fri Aug 14 18:57:54 PDT 2009
On Sat, Aug 15, 2009 at 4:04 AM, Clemens Eisserer<linuxhippy at gmail.com> wrote:
> Hi,
>
> I tried to enhance the glyph-upload paths of my java2d-xrender backend
> by uploading multiple glyphs at once, however doing so makes
> xorg-1.6.99.1 (Fedora rawhide ~20090810) crash quite frequently.
>
> I experienced those crashes with both vesa and the intel driver. Twice
> the crashes happend in glibc's memory management, and another time in
> some sha1 assembler. (guess the stuff which checks for equal glyphs).
>
> Are those problems already known?
>
Can you get valgrind traces by any chance? not sure we can tell
much other than memory got corrupted from this.
Dave.
> - Clemens
>
> One of those stack-traces:
>
> malloc_consolidate (av=<value optimized out>) at malloc.c:5114
> 5114 nextsize = chunksize(nextchunk);
> (gdb) bt
> #0 malloc_consolidate (av=<value optimized out>) at malloc.c:5114
> #1 0x00b17359 in _int_malloc (av=<value optimized out>,
> bytes=<value optimized out>) at malloc.c:4348
> #2 0x00b198ee in __libc_malloc (bytes=can't compute CFA for this frame
> ) at malloc.c:3638
> #3 0x080a87ca in Xalloc (amount=3856) at utils.c:1070
> #4 0x08088f43 in AllocatePixmap (pScreen=0x84faa18,
> pixDataSize=1879048192) at pixmap.c:116
> #5 0x0049e9e5 in fbCreatePixmapBpp (pScreen=0x84faa18, width=136,
> ---Type <return> to continue, or q <return> to quit---
> height=7, depth=can't compute CFA for this frame
> ) at fbpixmap.c:53
> #6 0x0049eaef in fbCreatePixmap (pScreen=0x84faa18, width=can't
> compute CFA for this frame
> )
> at fbpixmap.c:95
> #7 0x081a8b1f in miGlyphs (op=3 '\003', pSrc=can't compute CFA for this frame
> ) at glyph.c:683
> #8 0x08118a8d in damageGlyphs (op=176 '\260', pSrc=can't compute CFA
> for this frame
> ) at damage.c:721
> #9 0x081a8fd7 in CompositeGlyphs (op=176 '\260', pSrc=can't compute
> CFA for this frame
> ) at glyph.c:632
> #10 0x08112f9f in ProcRenderCompositeGlyphs (client=0x97db6d8)
> at render.c:1415
> #11 0x0810eb44 in ProcRenderDispatch (client=0xc1d3b0) at render.c:2041
> #12 0x0806ee37 in Dispatch () at dispatch.c:426
> #13 0x08063115 in main (argc=6, argv=0xbfb082f4, envp=0xbfb08310)
> at main.c:282
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>
More information about the xorg
mailing list