[Bug 991829] New: GTK+ application (even gtk3-demo.exe) crashes with assertion failure "CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)"

bugzilla at redhat.com bugzilla at redhat.com
Sun Aug 4 19:03:14 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=991829

            Bug ID: 991829
           Summary: GTK+ application (even gtk3-demo.exe) crashes with
                    assertion failure "CAIRO_REFERENCE_COUNT_HAS_REFERENCE
                    (&surface->ref_count)"
           Product: Fedora
           Version: rawhide
         Component: mingw-cairo
          Severity: urgent
          Assignee: rjones at redhat.com
          Reporter: ntd at entidi.it
        QA Contact: extras-qa at fedoraproject.org
                CC: erik-fedora at vanpienbroek.nl,
                    fedora-mingw at lists.fedoraproject.org,
                    lfarkas at lfarkas.org, marcandre.lureau at redhat.com,
                    rjones at redhat.com, t.sailer at alumni.ethz.ch



Preamble:

I'm not using fedora-mingw directly, but a port of it. I checked for the
presence of eventual differences that could be the culprit but I did not find
anything relevant: I think this problem should be present also under fedora.


Description of problem:

A program I'm developing (http://sourceforge.net/projects/ntdisp/ the relevant
installer being under testing/ntdisp-0.5.0-6-win32.exe) crashed at start-up
under wine with an assertion failure. I tested gtk3-demo and it crashes too
with the same assertion, but after a click on the tree view.


Steps to Reproduce:

$ wine /path/to/gtk3-demo.exe

... and click on a test in the tree view.


Actual results:

> Assertion failed!
> 
> Program: Z:\usr\i686-w64-mingw32\bin\gtk3-demo.exe
> File: /home/aur/archlinux/fedora-mingw-w64-cairo/src/cairo-1.12.14/src/cairo-surface.c, Line 930
> 
> Expression: CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)
> 
> abnormal program termination


Expected results:

A shiny test running flawlessly.


Additional info:

Upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=63787
GNOME report: https://bugzilla.gnome.org/show_bug.cgi?id=704540
Proposed patch: http://bugs.freedesktop.org/attachment.cgi?id=82797

I tested the proposed patch
(http://github.com/ntd/aur-fedora-mingw/commit/8a317cd709b61d9bef1c9d7cb7d7647738c560f5)
and it works fine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=pWSZpiucWO&a=cc_unsubscribe


More information about the mingw mailing list