Closed Bug 493905 Opened 15 years ago Closed 15 years ago

Crash [@ ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ ] related to bookmarks import

Categories

(Camino Graveyard :: Bookmarks, defect)

All
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alqahira, Assigned: chris)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file, 1 obsolete file)

We have two reports of this in breakpad today: bp-dda2f2ed-942d-4f1a-9a46-a042a2090519 and bp-0cad5fcd-2d47-4a9e-b6ba-3dfc82090519 (probably the same person).  Nothing terribly useful from the report, but

[11:26pm] hendy: http://www.cocoabuilder.com/archive/message/cocoa/2008/2/6/198164 seems to say that NSXMLDocument will raise an exception and return nil if something (like parsing) goes wrong
Attached patch Fix v1.0 (obsolete) — Splinter Review
Wraps the alloc+init in a try/catch block. Do we need an autorelease there as well?
Attachment #378523 - Flags: review?(stuart.morgan+bugzilla)
Assignee: nobody → trendyhendy2000
Comment on attachment 378523 [details] [diff] [review]
Fix v1.0

Yep, that is indeed missing an autorelease. sr=smorgan with that added.
Attachment #378523 - Flags: review?(stuart.morgan+bugzilla) → superreview+
Autoreleased added.
Attachment #378523 - Attachment is obsolete: true
Attachment #378766 - Flags: superreview+
Whiteboard: checkin-needed [when tree reopens]
Landed on cvs trunk.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: checkin-needed [when tree reopens]
Blocks: 517646
wonder if this needs to be back ported to firefox 3.0.x to help solve
https://bugzilla.mozilla.org/show_bug.cgi?id=517646#c3 and if other bugs need
to be filed for other problems that have a like crash signature.
This is 100% Camino code, so "back ported to firefox" doesn't have any meaning here.

This signature is worthless for grouping crashes; we only have it in the title so it gets associated as one of the relevant bugs in our crashes in Socorro. What you really want in each case is the frame above +[NSException raise:format:], so maybe Socorro should be taught to treat the whole exception chunk as a compound signature.
Crash Signature: [@ ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ ]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: