Closed
Bug 417560
Opened 17 years ago
Closed 11 months ago
protect against Obj-C exceptions in "gfx" top-level directory
Categories
(Core Graveyard :: GFX, defect, P2)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: jaas, Unassigned)
References
()
Details
Attachments
(2 files)
1.69 KB,
patch
|
Details | Diff | Splinter Review | |
2.52 KB,
text/plain
|
Details |
For implementing the strategy we decided on in bug 163260 we are filing a bug for each top-level directory that needs work.
mozilla/gfx
Comment 1•17 years ago
|
||
What's the right solution for gfxQuartzFontCache.mm? Stan noted that it's compiled with exceptions disabled (bug 163260 comment 116).
Comment 2•17 years ago
|
||
#undef'ing try and catch at the top of the file is a hack, but on the plus side, it will give future generations a good laugh.
You could try to suppress the -fno-exceptions to the file, that seems like more trouble than it's worth.
-fno-exceptions is defined for a lot of stuff, including all of cocoa widgets. Do we really care about it? Does it interfere with the obj-c exception stuff?
Priority: -- → P2
Updated•17 years ago
|
QA Contact: dmose → nobody
Updated•17 years ago
|
Flags: tracking1.9+ → blocking1.9+
We can't compile in gfx with obj-c exception handlers. This patch implements exception wrapping in one place to demonstrate the compile failure.
Security concerns over this don't warrant blocking 1.9, but will take a patch at any time.
Flags: wanted1.9.0.x+
Flags: blocking1.9-
Flags: blocking1.9+
Comment 7•17 years ago
|
||
Hey Josh. This is still blocking bug 163260. Have you been able to make any progress?
Comment 8•17 years ago
|
||
Also, what about 1.9.0.x vs 1.9.1?
Updated•17 years ago
|
Flags: wanted1.9.1?
Flags: wanted1.9.1? → wanted1.9.1+
Assignee | ||
Updated•16 years ago
|
Product: Core → Core Graveyard
Is this bug really dead, or should it live in Gfx:Thebes instead of Core Graveyard?
Comment 10•12 years ago
|
||
We have seen some recent crashes in Thunderbird that trace back to Obj-C exceptions thrown under gfx; see
http://crash-stats.mozilla.com/report/index/bp-14415bc8-3ff5-4105-9767-581552120919
http://crash-stats.mozilla.com/report/index/bp-908ca17d-a0e6-4173-b992-5d3b82120919
http://crash-stats.mozilla.com/report/index/bp-f1b344f3-e7d0-4e28-a996-79db32120919
https://bugzilla.mozilla.org/show_bug.cgi?id=790234#c3
See Also: → 790234
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•