Closed Bug 1528348 Opened 5 years ago Closed 4 years ago

Big Endian - s390x: Firefox seg-fault Failed to get async shutdown service

Categories

(Core :: DOM: Service Workers, defect, P5)

60 Branch
Other
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cgrobertson, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Steps to reproduce:

Run firefox 60.5.0 ESR on s390x machine.

Actual results:

Segmentation fault on startup. Here's the GDB back trace:

Thread 1 "firefox" received signal SIGSEGV, Segmentation fault.
MOZ_CrashPrintf (aLine=aLine@entry=1104, aFormat=aFormat@entry=0x3fff9453d90 "Failed to get async shutdown service: %s") at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/mfbt/Assertions.cpp:65
65 MOZ_REALLY_CRASH(aLine);
(gdb) bt
#0 MOZ_CrashPrintf (aLine=aLine@entry=1104, aFormat=aFormat@entry=0x3fff9453d90 "Failed to get async shutdown service: %s") at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/mfbt/Assertions.cpp:65
#1 0x000003fff78ed9ec in mozilla::dom::ServiceWorkerRegistrar::GetShutdownPhase (this=this@entry=0x100590410)
at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/dom/serviceworkers/ServiceWorkerRegistrar.cpp:1104
#2 0x000003fff78edcf2 in mozilla::dom::ServiceWorkerRegistrar::ProfileStarted (this=this@entry=0x100590410) at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/dom/serviceworkers/ServiceWorkerRegistrar.cpp:991
#3 0x000003fff78ededa in mozilla::dom::ServiceWorkerRegistrar::Observe (this=0x100590410, aSubject=<optimized out>, aTopic=<optimized out>, aData=<optimized out>)
at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/dom/serviceworkers/ServiceWorkerRegistrar.cpp:1134
#4 0x000003fff5a7a94c in nsObserverList::NotifyObservers (this=<optimized out>, aSubject=aSubject@entry=0x0, aTopic=aTopic@entry=0x3fff9433df4 "profile-after-change",
someData=someData@entry=0x3fff963e33e <nsXREDirProvider::DoStartup()::kStartup> u"startup") at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/xpcom/ds/nsObserverList.cpp:99
#5 0x000003fff5a7aa5e in nsObserverService::NotifyObservers (this=0x100142e90, aSubject=0x0, aTopic=0x3fff9433df4 "profile-after-change",
aSomeData=0x3fff963e33e <nsXREDirProvider::DoStartup()::kStartup> u"startup") at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/xpcom/ds/nsObserverService.cpp:272
#6 0x000003fff880f3f2 in nsXREDirProvider::DoStartup (this=this@entry=0x3ffffffdec0) at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/toolkit/xre/nsXREDirProvider.cpp:920
#7 0x000003fff880aea6 in XREMain::XRE_mainRun (this=this@entry=0x3ffffffde40) at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/toolkit/xre/nsAppRunner.cpp:4472
#8 0x000003fff880c3b2 in XREMain::XRE_main (this=this@entry=0x3ffffffde40, argc=argc@entry=1, argv=argv@entry=0x3fffffff368, aConfig=...)
at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/toolkit/xre/nsAppRunner.cpp:4781
#9 0x000003fff880c712 in XRE_main (argc=<optimized out>, argv=0x3fffffff368, aConfig=...) at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/toolkit/xre/nsAppRunner.cpp:4866
#10 0x000000010000692c in do_main (argc=<optimized out>, argv=0x3fffffff368, envp=<optimized out>) at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/browser/app/nsBrowserApp.cpp:212
#11 0x00000001000061c0 in main (argc=<optimized out>, argv=0x3fffffff368, envp=0x3fffffff378) at /usr/src/debug/MozillaFirefox-60.5.1-3.50.1.s390x/browser/app/nsBrowserApp.cpp:282

Expected results:

Should not crash on startup.

Component: Untriaged → General: Unsupported Platforms
Product: Firefox → Firefox Build System
Component: General: Unsupported Platforms → Sync
OS: Unspecified → Linux
Product: Firefox Build System → Firefox
Hardware: Unspecified → Other
Component: Sync → DOM: Service Workers
Product: Firefox → Core
See Also: → 1403348
Priority: -- → P5
Blocks: big-endian

I don't think this is s390x specific but just another instance of bug 1471720. Charles, are you able to reproduce this with a stable test-case?

Flags: needinfo?(cgrobertson)

(In reply to Jens Stutte [:jstutte] from comment #1)

I don't think this is s390x specific but just another instance of bug 1471720. Charles, are you able to reproduce this with a stable test-case?

Many of these big-endian issues were solved with the 68 release. This bug is no longer occurring in our tests cases.

Flags: needinfo?(cgrobertson)
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME

Thanks for checking back!

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