[cairo-bugs] [Bug 16819] New: Deadlock when initializing user font

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 23 11:43:22 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=16819

           Summary: Deadlock when initializing user font
           Product: cairo
           Version: 1.6.5
          Platform: x86 (IA32)
        OS/Version: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: freedesktop at behdad.org
        ReportedBy: cyreve at users.sourceforge.net
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=17841)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=17841)
Proposed fix

Found in Inkscape.

When opening the SVG Fonts editing pane, Inkscape freezes as soon as a font
name is selected. It turns out that Windows hangs an app on entering a mutex
when that mutex has been exited more times than it has been entered, i.e. the
sequence goes init, enter, exit, exit, enter:deadlock. Patch attached. The fix
is in common code, but I haven't seen any instance of in not being caused by
user fonts, nor have I tried to read the code to see if it could be.

NB: This description sounds a lot like bug 11900, but it can't be because the
offending code was only written in May.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list