Closed Bug 340452 Opened 18 years ago Closed 18 years ago

update cairo on trunk to 2006-06-03

Categories

(Core :: Graphics, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: vlad, Assigned: vlad)

References

Details

Attachments

(2 files)

Update cairo on the trunk to 2006-06-03, along with some small patches.  The number of private patches is rapidly approaching zero.  Some more merging will be necessary once roc's clip list getters are merged in.
the patch
Assignee: nobody → vladimir
Status: NEW → ASSIGNED
Attachment #224491 - Flags: review?
Attachment #224491 - Flags: review? → review?(pavlov)
Attachment #224491 - Flags: review?(pavlov) → review+
Can't run FF trunk anymore

#0  0x00000038c520cf6d in raise () from /lib64/libpthread.so.0
#1  0x00002aaaaaaeb761 in nsProfileLock::FatalSignalHandler (signo=6) at nsProfileLock.cpp:206
#2  <signal handler called>
#3  0x00000038c412f4f5 in raise () from /lib64/libc.so.6
#4  0x00000038c4130e40 in abort () from /lib64/libc.so.6
#5  0x00000038c4128cb6 in __assert_fail () from /lib64/libc.so.6
#6  0x00002aaaaac37b01 in _cairo_content_from_format (format=4310)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-image-surface.c:402
#7  0x00002aaaaac37c40 in _cairo_image_surface_create_for_pixman_image (pixman_image=0x126e980, format=4294967295)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-image-surface.c:66
#8  0x00002aaaaac37fd5 in _cairo_image_surface_create_with_masks (
    data=0x2aaab4400010 "\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;\\&#65533;"..., format=0x126e980, width=878, height=708, stride=1756)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-image-surface.c:159
#9  0x00002aaaaac505a6 in _get_image_surface (surface=0x120e250, interest_rect=Variable "interest_rect" is not available.
)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-xlib-surface.c:673
#10 0x00002aaaaac50683 in _cairo_xlib_surface_acquire_source_image (abstract_surface=Variable "abstract_surface" is not available.
)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-xlib-surface.c:802
#11 0x00002aaaaac42820 in _cairo_surface_acquire_source_image (surface=Variable "surface" is not available.
)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-surface.c:685
#12 0x00002aaaaac3e385 in _cairo_pattern_acquire_surface_for_surface (pattern=0x7fffff97c390, dst=0xb74940, x=Variable "x" is not available.
)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-pattern.c:1137
#13 0x00002aaaaac3e5d2 in _cairo_pattern_acquire_surface (pattern=0x10d6, dst=0xb74940, x=0, y=0, width=878, height=708, surface_out=0x7fffff97c4c8,
    attributes=0x7fffff97c520) at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-pattern.c:1261
#14 0x00002aaaaac3f1a5 in _cairo_pattern_acquire_surfaces (src=Variable "src" is not available.
) at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-pattern.c:1351
#15 0x00002aaaaac377d6 in _cairo_image_surface_composite (op=CAIRO_OPERATOR_SOURCE, src_pattern=0x7fffff97c8c0, mask_pattern=0x0, abstract_dst=Variable "abstract_dst" is not available.
)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-image-surface.c:643
#16 0x00002aaaaac43810 in _cairo_surface_composite (op=CAIRO_OPERATOR_SOURCE, src=0x7fffff97c8c0, mask=0x0, dst=0xb74940, src_x=0, src_y=0, mask_x=0,
    mask_y=0, dst_x=0, dst_y=0, width=878, height=708) at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-surface.c:899
#17 0x00002aaaaac44f0a in _composite_trap_region (clip=0x0, src=0x7fffff97c8c0, op=CAIRO_OPERATOR_SOURCE, dst=0xb74940, trap_region=0xb749e0,
    extents=0x7fffff97c7e0) at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-surface-fallback.c:444
#18 0x00002aaaaac4520f in _clip_and_composite_trapezoids (src=0x7fffff97c8c0, op=CAIRO_OPERATOR_SOURCE, dst=0xb74940, traps=0x7fffff97c840, clip=0x0,
    antialias=CAIRO_ANTIALIAS_NONE) at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-surface-fallback.c:624
#19 0x00002aaaaac45778 in _cairo_surface_fallback_paint (surface=0xb74940, op=CAIRO_OPERATOR_SOURCE, source=0x7fffff97c8c0)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-surface-fallback.c:689
#20 0x00002aaaaac4311f in _cairo_surface_paint (surface=0xb74940, op=CAIRO_OPERATOR_SOURCE, source=Variable "source" is not available.
)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-surface.c:1073
#21 0x00002aaaaac35398 in _cairo_gstate_paint (gstate=0x1155050) at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo-gstate.c:778
#22 0x00002aaaaac31502 in _moz_cairo_paint (cr=0x1155000) at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/cairo/cairo/src/cairo.c:1663
#23 0x00002aaaaac284ba in _copy_xlib_surface_to_image (temp_xlib_surface=0x120e250, format=CAIRO_FORMAT_ARGB32, width=878, height=708, data_out=Variable "data_out" is not available.
)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/thebes/src/cairo-xlib-utils.c:410
#24 0x00002aaaaac28971 in cairo_draw_with_xlib (cr=0x120acc0, callback=0x2aaaaac2da9c <NativeRendering>, closure=0x7fffff97cb00, dpy=Variable "dpy" is not available.
)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/thebes/src/cairo-xlib-utils.c:559
#25 0x00002aaaaac2dbcb in gfxXlibNativeRenderer::Draw (this=Variable "this" is not available.
) at /home/smaug/mozilla/mozilla_cvs/mozilla/gfx/thebes/src/gfxXlibNativeRenderer.cpp:98
#26 0x00002aaab026a3a6 in nsNativeThemeGTK::DrawWidgetBackground (this=0xb498c0, aContext=Variable "aContext" is not available.
)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp:657
#27 0x00002aaab153b6b0 in nsCSSRendering::PaintBackgroundWithSC (aPresContext=0xbeb9d0, aRenderingContext=@0x120ac18, aForFrame=0xc3cdb8,
    aDirtyRect=@0x7fffff97d3b0, aBorderArea=@0x7fffff97d150, aColor=@0xf388e8, aBorder=@0x1068a48, aPadding=@0x103eeb0, aUsePrintSettings=1,
    aBGClipRect=0x0) at /home/smaug/mozilla/mozilla_cvs/mozilla/layout/base/nsCSSRendering.cpp:2909
#28 0x00002aaab153c488 in nsCSSRendering::PaintBackground (aPresContext=0xbeb9d0, aRenderingContext=@0x120ac18, aForFrame=dwarf2_read_address: Corrupted DWARF expression.
)
    at /home/smaug/mozilla/mozilla_cvs/mozilla/layout/base/nsCSSRendering.cpp:2783
This broke the display a.o. of form elements in chrome and content, as well as scrollbars... leaving us with a "useless" build Vlad
Depends on: 340517
Attached image screenshot
Marking this as fixed, followup bugs with other stuff; the fix for the classic native theme stuff in win32 is in bug 340517.

For the 64-bit linux crash in comment #2, I'm not sure what's going on -- there's some memory corruption for sure, if that assertion is getting hit.  I'll valgrind my build, but I don't have a 64-bit linux machine handy if it's something 64-bit related.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
The crash happens only with 16bpp
Smaug, is there a followup bug filed on that crash?
the followup bug is bug 340683. fwiw, there's no memory corruption involved, see the comment in that bug.
Depends on: 336532
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: