Closed
Bug 1362980
Opened 7 years ago
Closed 7 years ago
SendTo Extension crashes when calling sendSyncPing
Categories
(Firefox for iOS :: General, defect, P1)
Tracking
()
VERIFIED
FIXED
Iteration:
1.25
Tracking | Status | |
---|---|---|
fxios | 8.0+ | --- |
fxios-v7.0 | --- | unaffected |
fxios-v8.0 | --- | affected |
People
(Reporter: csuciu, Assigned: st3fan)
Details
(Keywords: crash, regression, reproducible, Whiteboard: [MobileCore])
Attachments
(3 files, 1 obsolete file)
master d43c368
iPhone 6 Plus (10.3.1)
1. Log into FxA
2. Open a webpage
3. Open Share menu
4. Select 'Send Tab'
Result: Firefox crashes
Updated•7 years ago
|
Reporter | ||
Comment 1•7 years ago
|
||
The crash also happens when trying to 'Send Tab' from Safari
Reporter | ||
Comment 2•7 years ago
|
||
Firefox Beta 8.0(5) is also affected.
Comment 3•7 years ago
|
||
Thread 3
Thread 3 Crashed:
0 libdispatch.dylib 0x000000018971f800 dispatch_sync_f + 0
1 GCDWebServers 0x00000001027d2c38 GCDWebServerFormatRFC822 (GCDWebServerFunctions.m:120)
2 Telemetry 0x00000001016edac8 0x1016e4000 + 39624
Telemetry crash?
Updated•7 years ago
|
status-fxios-v7.0:
--- → unaffected
Updated•7 years ago
|
Flags: needinfo?(sarentz)
Updated•7 years ago
|
Iteration: --- → 1.23
Assignee | ||
Comment 4•7 years ago
|
||
I can't reproduce this bug on Fennec / master.
Flags: needinfo?(sarentz) → needinfo?(catalin.suciu)
Reporter | ||
Comment 5•7 years ago
|
||
SendTo still crashes on master although not every time. Please see the new crash report, which is different than the one initially attached.
Also, Send Tab extension sometimes fails to display the list of connected devices (without crashing).
https://www.youtube.com/watch?v=n4bOU08H7ZI
Tested on master 4538e6d3e42 running on iPhone 6 Plus (10.3.2)
Flags: needinfo?(catalin.suciu)
Reporter | ||
Comment 6•7 years ago
|
||
I can reproduce the above on Beta 8.0v3672 also.
Updated•7 years ago
|
Iteration: 1.23 → 1.24
Comment 7•7 years ago
|
||
P1 reproducible crash on 8.0 without an owner
Comment 8•7 years ago
|
||
Could you please test this again on the latest master. We had some changes to app groups
Reporter | ||
Comment 9•7 years ago
|
||
I'm able to reproduce in latest master.
Send Tab is either crashing or doesn't display the list of connected devices.
Updated•7 years ago
|
Iteration: 1.24 → 1.25
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → sarentz
Assignee | ||
Updated•7 years ago
|
Summary: [Regression] Crash in SendTo PlugInKit: [PKService run] + 752 → SendTo Extension crashes when calling sendSyncPing
Assignee | ||
Comment 10•7 years ago
|
||
We should not be calling `sendSyncPing` when running outside of the application. This patch checks if `profile.app` is set to find out if we are in the app or an extension. This is not ideal but there is no other good way to discover this at runtime it seems.
Attachment #8883620 -
Flags: review?(jhugman)
Assignee | ||
Updated•7 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•7 years ago
|
Whiteboard: [MobileCore] → [MobileCore][needsuplift]
Assignee | ||
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: [MobileCore][needsuplift] → [MobileCore]
Comment 11•7 years ago
|
||
I don't think this patch fixes the problem.
profile.app is no longer used. The property should've been deleted as part of Bug 1373202. We should also be using a method to hide the implementation details of isApplicationProfile().
Updated•7 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•7 years ago
|
Attachment #8883620 -
Flags: review?(jhugman) → feedback+
Assignee | ||
Comment 12•7 years ago
|
||
This patch introduces an `AppInfo.isApplication` computed property that will tell us if we are running as part of an UIApplication. This is used to decide if we need to collect sync ping info.
Attachment #8883620 -
Attachment is obsolete: true
Attachment #8883794 -
Flags: review?(jhugman)
Updated•7 years ago
|
Attachment #8883794 -
Flags: review?(jhugman) → review+
Comment 13•7 years ago
|
||
Excellent!
Assignee | ||
Comment 14•7 years ago
|
||
New PR landed and uplifted to v8.x
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 15•7 years ago
|
||
I can't reproduce the crash in Beta 8.0 (4467)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•