Closed Bug 1170493 Opened 9 years ago Closed 9 years ago

b2g process does not boot anymore when rebooting the device if the user installs a service worker enabled app

Categories

(Core :: DOM: Service Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1171486
NGA S2 (12Jun)
Tracking Status
firefox41 --- affected

People

(Reporter: jaoo, Assigned: jaoo)

References

Details

(Whiteboard: [s3])

STR required b2g:

1. In the browser app, opens appA.
2. appA registers a SW.
3. Install AppA.
4. Open appA directly, appA registers SW.
5. Reboot the device

Expected

The device boots correctly

Actual result

The device doesn't boot correctly. I see:

F/libc    ( 6320): Fatal signal 11 (SIGSEGV) at 0x00000028 (code=1), thread 6320 (b2g)

This issue needs some debugging with gdb.

Note: patches from bug 1162088 need to be applied.
Assignee: nobody → jaoo
Status: NEW → ASSIGNED
Whiteboard: [s3]
Target Milestone: --- → NGA S2 (12Jun)
I found a startup crash that I filed as bug 1171486.  Could this be a dupe?
(In reply to :Ehsan Akhgari (not reading bugmail, needinfo? me!) from comment #1)
> I found a startup crash that I filed as bug 1171486.  Could this be a dupe?

Likely. See what I see with a B2G debug build.

I/Gecko   ( 1194): [Parent 1194] ###!!! ASSERTION: Recursive GetService!: 'Error', file ../../../xpcom/components/nsComponentManager.cpp, line 1546
F/MOZ_Assert( 1194): Assertion failure: swm, at /Volumes/firefoxos/dev/mozilla-central/dom/workers/ServiceWorkerManager.cpp:2614
F/libc    ( 1194): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 1194 (b2g)

Let me check the patch and I'll let you know.
(In reply to José Antonio Olivera Ortega [:jaoo] from comment #2)
> (In reply to :Ehsan Akhgari (not reading bugmail, needinfo? me!) from
> comment #1)
> > I found a startup crash that I filed as bug 1171486.  Could this be a dupe?
> 
> Likely. See what I see with a B2G debug build.
> 
> I/Gecko   ( 1194): [Parent 1194] ###!!! ASSERTION: Recursive GetService!:
> 'Error', file ../../../xpcom/components/nsComponentManager.cpp, line 1546
> F/MOZ_Assert( 1194): Assertion failure: swm, at
> /Volumes/firefoxos/dev/mozilla-central/dom/workers/ServiceWorkerManager.cpp:
> 2614
> F/libc    ( 1194): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread
> 1194 (b2g)

Yep, that is exactly the same bug!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
(In reply to José Antonio Olivera Ortega [:jaoo] from comment #2)
> (In reply to :Ehsan Akhgari (not reading bugmail, needinfo? me!) from
> comment #1)
> > I found a startup crash that I filed as bug 1171486.  Could this be a dupe?
> 
> Likely. See what I see with a B2G debug build.

> Let me check the patch and I'll let you know.

Yes, patches from bug 1171486 fix the issue. Thanks!
Just adding that this issues is not reproducible anymore in m-c once Bug 1171486 has been landed. Tested with today's (6/8) master build and the device successfully boots (step 5 in the description). Environmental variables:
Flame device
Build Id: 20150608073530
Gecko: b83b4f3
Gaia: 4d1f2a4
Platform version: 41.0a1

Thanks!
You need to log in before you can comment on or make changes to this bug.