[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-bugs
Subject:    [cairo-bugs] [Bug 16819] New: Deadlock when initializing user font
From:       bugzilla-daemon () freedesktop ! org
Date:       2008-07-23 18:43:22
Message-ID: bug-16819-4039 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

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@behdad.org
        ReportedBy: cyreve@users.sourceforge.net
         QAContact: cairo-bugs@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.
_______________________________________________
cairo-bugs mailing list
cairo-bugs@lists.cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic