[Webkit-unassigned] [Bug 8412] New: Restore color profile after a crash

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Apr 15 11:45:26 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8412

           Summary: Restore color profile after a crash
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ap at nypop.com


The attached patch installs a handler for signals that make the process quit,
and restores the color profile. Tested by adding "*(int*)0 = 0;" in the code.

It also fixes a bug where the color profile names weren't displayed on a
non-English system (CFStringGetCStringPtr should NEVER EVER be used!).

I'm also trying to add a way to prevent the Crash Reporter dialog from
appearing, but haven't found a good solution yet. This is why I kept the
existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM) separate from
the crashing case.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list