Closed Bug 1357480 Opened 7 years ago Closed 7 years ago

Crash in ShareTo PlugInKit: [PKService run] + 848 / 0xdead10cc

Categories

(Firefox for iOS :: General, defect)

Other
iOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Iteration:
1.20
Tracking Status
fxios-v7.0 --- affected
fxios-v7.1 --- affected
fxios-v7.2 --- affected
fxios-v7.3 --- verified
fxios 7.3 ---
fxios-v8.0 --- verified

People

(Reporter: st3fan, Assigned: st3fan)

Details

(Whiteboard: [MobileCore])

Attachments

(1 file)

This is the same problem as described in bug 1350861
This patch makes sure that we do not leave the *Profile* open when the *ShareTo* app extension goes into the background. It does this by removing the *Profile* as an instance variable and limit the scope where it is used (opened, used, closed) to absolute minimum.
Attachment #8859276 - Flags: review?(jdarcangelo)
Steps to reproduce the crash:

1) Install v7.x
2) Open Safari
3) Share the current URL to Firefox with the ShareTo extension (bookmarks or readinglist)
4) Immediately open the share extension again, but do not share, leave open
5) Lock device
6) Wait a minute
7) Unlock device

Expected: Share extension is still there.

Actual: Share extension has been killed by the OS. You can find a crash log for ShareTo that looks like this:

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0xdead10cc
Triggered by Thread:  0
Assignee: nobody → sarentz
Status: NEW → ASSIGNED
Able to reproduce both SendTo and ShareTo crashes on latest master. Stefan, do we need a separate bug for SendTo?
Iteration: --- → 1.20
Whiteboard: [MobileCore]
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Unable to reproduce the crash on v7.3b2756. 

v8.0 is still affected so this patch needs to land there also.
The followup fix for this bug landed a couple of hours after the previous comment. Catalin, can you give this a try again on master?
Flags: needinfo?(catalin.suciu)
The crash is no longer reproducible on master. Tested on f9f4cf1ba.
Status: RESOLVED → VERIFIED
Flags: needinfo?(catalin.suciu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: