Closed Bug 560985 Opened 15 years ago Closed 15 years ago

Crash [@ strlen | -[NSXMLTreeReader processRealDocument:] ] in Sparkle's downloadDidFinish:

Categories

(Camino Graveyard :: OS Integration, defect)

All
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alqahira, Assigned: alqahira)

References

()

Details

(Whiteboard: [camino-2.0.3])

Attachments

(1 file)

We've seen occasional crashes (usually on 10.4) in SUAppcast.m's downloadDidFinish:. There's a launchpad bug https://bugs.launchpad.net/sparkle/+bug/456514 where Andy added null-checks to downloadFilename in download didFailWithError:, which has similar code structure to downloadDidFinish:. In a speculative attempt to stop the crash we're seeing, we should add null-checks to downloadFilename in SUAppcast.m.
This patch adds null-checks to the NSXMLDocument creation and to the file manager calls in downloadDidFinish: and adds the null-checks in download didFailWithError: from https://bugs.launchpad.net/sparkle/+bug/456514
Attachment #440651 - Flags: superreview?(stuart.morgan+bugzilla)
Comment on attachment 440651 [details] [diff] [review] Adds some null-checking sr=smorgan Sounds like we should do another refresh from Sparkle trunk at some point.
Attachment #440651 - Flags: superreview?(stuart.morgan+bugzilla) → superreview+
(In reply to comment #2) > Sounds like we should do another refresh from Sparkle trunk at some point. Yeah, assuming it still compiles on 10.4. Andy just landed delta-updates last month; not sure what sort of instability that might have introduced.
http://hg.mozilla.org/camino/rev/682f1dc9e453 Also landed on cvs trunk and the CAMINO_2_0_BRANCH in advance of 2.0.3.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [camino-2.0.3]
The breakpad search URL will age out after a while, but bp-e60becbc-f983-41f0-97c5-d214f2100419 is the sample report I was looking at.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: