[Pixman] [cairo] pixman 0.18 MinGW SSE2 error
Soeren Sandmann
sandmann at daimi.au.dk
Tue Apr 6 22:57:17 PDT 2010
Hi,
Thanks for the bug report.
It's entirely possible that this is caused by the TLS issues that Tor
pointed out. If so, they may be fixed in the tls-fixes branch of this
repository:
git://anongit.freedesktop.org/~sandmann/pixman
There is a tarball with the fixes applied here:
http://www.daimi.au.dk/~sandmann/pixman-0.19.1.tar.gz
If that doesn't fix the problem, here are some questions:
- When the bug happens, what does this:
print mask_image->common.component_alpha
say in the debugger?
- Does the problem happen with 0.16.x releases?
- Does the problem happen when pixman is compiled with --disable-sse2?
Thanks,
Soren
Sven Goericke <sgoericke at vandalay.org> writes:
> Helo all,
>
> just build all libraries needed for cairomm to use with X-Plane running
> on Win32. With the latest pixman i get an error related to sse2 i think.
> Not sure if i missed some option in the configure script.
>
> I use cairomm with an X-Plane plugin which is a normal DLL on Windows
> OS. I post the gdb output here, maybe someone have a clue what's wrong.
>
> Regards
> Sven
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1992.0xfa8]
> sse2_composite_add_n_8888_8888_ca (imp=0x29556208, op=PIXMAN_OP_OVER,
> src_image=0x29558b30, mask_image=0x3a258500, dst_image=0x2de0cb68,
> src_x=240, src_y=45, mask_x=0, mask_y=0, dest_x=240, dest_y=45,
> width=57,
> height=17) at pixman-sse2.c:3212
> in pixman-sse2.c
> (gdb) 3212 pixman-sse2.c: No such file or directory.
> (gdb) bt
> #0 sse2_composite_add_n_8888_8888_ca (imp=0x29556208, op=PIXMAN_OP_OVER,
> src_image=0x29558b30, mask_image=0x3a258500, dst_image=0x2de0cb68,
> src_x=240, src_y=45, mask_x=0, mask_y=0, dest_x=240, dest_y=45,
> width=57,
> height=17) at pixman-sse2.c:3212
> #1 0x65336f8a in walk_region_internal (op=PIXMAN_OP_OVER, src=0x29558b30,
> mask=0x3a258500, dest=0x2de0cb68, src_x=240, src_y=45, mask_x=0,
> mask_y=0, dest_x=240, dest_y=45, width=57, height=17) at pixman.c:397
> #2 do_composite (op=PIXMAN_OP_OVER, src=0x29558b30, mask=0x3a258500,
> dest=0x2de0cb68, src_x=240, src_y=45, mask_x=0, mask_y=0, dest_x=240,
> dest_y=45, width=57, height=17) at pixman.c:720
> #3 pixman_image_composite32 (op=PIXMAN_OP_OVER, src=0x29558b30,
> mask=0x3a258500, dest=0x2de0cb68, src_x=240, src_y=45, mask_x=0,
> mask_y=0, dest_x=240, dest_y=45, width=57, height=17) at pixman.c:819
> #4 0x68dce0f6 in _cairo_image_surface_composite_trapezoids (
> op=CAIRO_OPERATOR_OVER, pattern=0x3a25ac28, abstract_dst=0x2de0d0a0,
> antialias=CAIRO_ANTIALIAS_DEFAULT, src_x=240, src_y=45,
> dst_x=<value optimized out>, dst_y=<value optimized out>,
> width=<value optimized out>, height=<value optimized out>,
> traps=0x3a25dcf8, num_traps=103) at cairo-image-surface.c:1189
> #5 0x68de03ec in _cairo_surface_composite_trapezoids (
> op=CAIRO_OPERATOR_OVER, pattern=0x3a25ac28, dst=0x2de0d0a0,
> antialias=CAIRO_ANTIALIAS_DEFAULT, src_x=240, src_y=45, dst_x=240,
> dst_y=45, width=57, height=17, traps=0x3a25dcf8, num_traps=103)
> at cairo-surface.c:1732
> #6 0x68de36f2 in _composite_traps_draw_func (closure=0x34cbe5b8,
> op=CAIRO_OPERATOR_OVER, src=0x3a25ac28, dst=0x2de0d0a0, dst_x=0,
> dst_y=0,
> extents=0x34cbe5a8) at cairo-surface-fallback.c:501
> #7 0x68de2883 in _clip_and_composite (clip=0x0, op=CAIRO_OPERATOR_OVER,
> src=<value optimized out>,
> draw_func=0x68de362c <_composite_traps_draw_func>,
> draw_closure=0x34cbe5b8, dst=0x2de0d0a0, extents=0x34cbe5a8)
> at cairo-surface-fallback.c:395
> #8 0x68de3072 in _clip_and_composite_trapezoids (src=<value optimized
> out>,
> op=CAIRO_OPERATOR_OVER, dst=0x2de0d0a0, traps=0x34cbe614, clip=0x0,
> antialias=CAIRO_ANTIALIAS_DEFAULT) at cairo-surface-fallback.c:660
> #9 0x68de3871 in _cairo_surface_fallback_stroke (surface=0x2de0d0a0,
> op=CAIRO_OPERATOR_OVER, source=0x3a25ac28, path=0x2de0d4ec,
> stroke_style=0x2de0d390, ctm=0x34cbe948, ctm_inverse=0x34cbe918,
> tolerance=0.10000000000000001, antialias=CAIRO_ANTIALIAS_DEFAULT)
> at cairo-surface-fallback.c:839
> #10 0x68de06eb in _cairo_surface_stroke (surface=0x2de0d0a0,
> op=CAIRO_OPERATOR_OVER, source=0x34cbe9d0, path=0x2de0d4ec,
> stroke_style=0x2de0d390, ctm=<value optimized out>,
> ctm_inverse=0x2de0d4b0, tolerance=0.10000000000000001,
> antialias=CAIRO_ANTIALIAS_DEFAULT) at cairo-surface.c:1649
> #11 0x68dcbb21 in _cairo_gstate_stroke (gstate=0x2de0d378, path=0x2de0d4ec)
> at cairo-gstate.c:945
> #12 0x68dc61f1 in cairo_stroke_preserve (cr=0x2de0d358) at cairo.c:2136
> #13 0x68dc6216 in cairo_stroke (cr=0x2de0d358) at cairo.c:2109
> #14 0x621423a1 in Cairo::Context::stroke (this=0x26d823d0) at
> context.cc:356
> #15 0x6d48a55b in MfdDisplay::DrawAirSystemsPage (this=0x2de0c9f0)
> at air_systems_page.cpp:445
> #16 0x6d4bfa11 in MfdDisplay::DoDraw (this=0x2de0c9f0) at
> mfd_display.cpp:256
> #17 0x6d4e15d2 in XPJDisplay::DrawingThread::Run (this=0x2de09e70)
> at xpjdisplay.cpp:29
> #18 0x6d4d65fa in Thread::thread_func (args=0x2de09e70) at
> sg_threads.cpp:100
> #19 0x0ef45121 in ptw32_threadStart at 4 () from d:\X-Plane\libpthread-2.dll
> #20 0x76832599 in wcstombs () from C:\Windows\syswow64\msvcrt.dll
> #21 0x768326b3 in msvcrt!_beginthreadex () from
> C:\Windows\syswow64\msvcrt.dll
> #22 0x76caeccb in UnhandledExceptionFilter ()
> from C:\Windows\syswow64\kernel32.dll
> #23 0x2de0e868 in ?? ()
> #24 0x772cd24d in ntdll!RtlWow64CallFunction64 ()
> from C:\Windows\system32\ntdll.dll
> #25 0x2de0e868 in ?? ()
> #26 0x772cd45f in ntdll!RtlCloneMemoryStream ()
> from C:\Windows\system32\ntdll.dll
> #27 0x76832670 in msvcrt!_beginthreadex () from
> C:\Windows\syswow64\msvcrt.dll
> #28 0x00000000 in ?? ()
> (gdb) k
> Kill the program being debugged? (y or n)
> (gdb)
> --
> ==============================================================================
> CONFIDENTIALITY NOTICE: This e-mail message, and any attachments
> thereto, is for the sole use of the intended recipient(s) and may
> contain legally privileged and/or confidential information. Any
> unauthorized review, use, disclosure or distribution is strictly
> prohibited. If you are not the intended recipient, please contact the
> sender by reply email and permanently delete all copies of the original
> message.
> ==============================================================================
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
More information about the Pixman
mailing list