Closed Bug 1638847 Opened 5 years ago Closed 5 years ago

Intermittent ==11250==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000001 (pc 0x7fae20ee8901 bp 0x7ffe6d1e7710 sp 0x7ffe6d1e7540 T0)

Categories

(Core :: Audio/Video: GMP, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1551615

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=302715048&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XcAU7tpLQSC57CljZaqu1w/runs/0/artifacts/public/logs/live_backing.log


[task 2020-05-18T10:07:41.056Z] 10:07:41 INFO - TEST-START | /streams/readable-streams/bad-strategies.any.html
[task 2020-05-18T10:07:41.057Z] 10:07:41 INFO - Clearing pref javascript.options.streams
[task 2020-05-18T10:07:41.082Z] 10:07:41 INFO - PID 5830 | AddressSanitizer:DEADLYSIGNAL
[task 2020-05-18T10:07:41.082Z] 10:07:41 INFO - PID 5830 | =================================================================
[task 2020-05-18T10:07:41.082Z] 10:07:41 ERROR - PID 5830 | ==11250==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000001 (pc 0x7fae20ee8901 bp 0x7ffe6d1e7710 sp 0x7ffe6d1e7540 T0)
[task 2020-05-18T10:07:41.082Z] 10:07:41 INFO - PID 5830 | ==11250==The signal is caused by a WRITE memory access.
[task 2020-05-18T10:07:41.083Z] 10:07:41 INFO - PID 5830 | ==11250==Hint: address points to the zero page.
[task 2020-05-18T10:07:41.104Z] 10:07:41 INFO - Setting pref javascript.options.streams (true)
[task 2020-05-18T10:07:41.128Z] 10:07:41 INFO - Closing window 35
[task 2020-05-18T10:07:41.703Z] 10:07:41 INFO - PID 10498 | -----------------------------------------------------
[task 2020-05-18T10:07:41.704Z] 10:07:41 INFO - PID 10498 | Suppressions used:
[task 2020-05-18T10:07:41.705Z] 10:07:41 INFO - PID 10498 | count bytes template
[task 2020-05-18T10:07:41.706Z] 10:07:41 INFO - PID 10498 | 24 744 nsComponentManagerImpl
[task 2020-05-18T10:07:41.707Z] 10:07:41 INFO - PID 10498 | 633 18287 libfontconfig.so
[task 2020-05-18T10:07:41.709Z] 10:07:41 INFO - PID 10498 | -----------------------------------------------------
[task 2020-05-18T10:07:41.770Z] 10:07:41 INFO - PID 5830 | #0 0x7fae20ee8901 in mozilla::ipc::MessageChannel::Clear() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:749:9
[task 2020-05-18T10:07:41.770Z] 10:07:41 INFO - PID 5830 | #1 0x7fae20ee73f6 in mozilla::ipc::MessageChannel::~MessageChannel() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:633:3
[task 2020-05-18T10:07:41.770Z] 10:07:41 INFO - PID 5830 | #2 0x7fae20f0d3b2 in mozilla::ipc::IToplevelProtocol::~IToplevelProtocol() /builds/worker/workspace/obj-build/dist/include/mozilla/ipc/ProtocolUtils.h:391:32
[task 2020-05-18T10:07:41.791Z] 10:07:41 INFO - PID 5830 | #3 0x7fae25c758a7 in Release /builds/worker/checkouts/gecko/dom/media/gmp/GMPContentParent.h:25:3
[task 2020-05-18T10:07:41.792Z] 10:07:41 INFO - PID 5830 | #4 0x7fae25c758a7 in Release /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:50:40
[task 2020-05-18T10:07:41.793Z] 10:07:41 INFO - PID 5830 | #5 0x7fae25c758a7 in Release /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:381:36
[task 2020-05-18T10:07:41.794Z] 10:07:41 INFO - PID 5830 | #6 0x7fae25c758a7 in ~RefPtr /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:81:7
[task 2020-05-18T10:07:41.794Z] 10:07:41 INFO - PID 5830 | #7 0x7fae25c758a7 in ~nsBaseHashtableET /builds/worker/workspace/obj-build/dist/include/nsBaseHashtable.h:72:32
[task 2020-05-18T10:07:41.796Z] 10:07:41 INFO - PID 5830 | #8 0x7fae25c758a7 in nsTHashtable<nsBaseHashtableET<nsUint64HashKey, RefPtr<mozilla::gmp::GMPContentParent> > >::s_ClearEntry(PLDHashTable*, PLDHashEntryHdr*) /builds/worker/workspace/obj-build/dist/include/nsTHashtable.h:512:37
[task 2020-05-18T10:07:41.800Z] 10:07:41 INFO - PID 5830 | #9 0x7fae1fca3866 in operator() /builds/worker/checkouts/gecko/xpcom/ds/PLDHashTable.cpp:292:7
[task 2020-05-18T10:07:41.802Z] 10:07:41 INFO - PID 5830 | #10 0x7fae1fca3866 in ForEachSlot<(lambda at /builds/worker/checkouts/gecko/xpcom/ds/PLDHashTable.cpp:290:51)> /builds/worker/workspace/obj-build/dist/include/PLDHashTable.h:357:9
[task 2020-05-18T10:07:41.803Z] 10:07:41 INFO - PID 5830 | #11 0x7fae1fca3866 in ForEachSlot<(lambda at /builds/worker/checkouts/gecko/xpcom/ds/PLDHashTable.cpp:290:51)> /builds/worker/workspace/obj-build/dist/include/PLDHashTable.h:347:7
[task 2020-05-18T10:07:41.803Z] 10:07:41 INFO - PID 5830 | #12 0x7fae1fca3866 in PLDHashTable::~PLDHashTable() /builds/worker/checkouts/gecko/xpcom/ds/PLDHashTable.cpp:290:15
[task 2020-05-18T10:07:41.803Z] 10:07:41 INFO - PID 5830 | #13 0x7fae25c4873e in ~nsTHashtable /builds/worker/workspace/obj-build/dist/include/nsTHashtable.h:170:27
[task 2020-05-18T10:07:41.803Z] 10:07:41 INFO - PID 5830 | #14 0x7fae25c4873e in ~GMPServiceChild /builds/worker/checkouts/gecko/dom/media/gmp/GMPServiceChild.cpp:426:35
[task 2020-05-18T10:07:41.804Z] 10:07:41 INFO - PID 5830 | #15 0x7fae25c4873e in mozilla::gmp::GMPServiceChild::~GMPServiceChild() /builds/worker/checkouts/gecko/dom/media/gmp/GMPServiceChild.cpp:426:35
[task 2020-05-18T10:07:41.805Z] 10:07:41 INFO - PID 5830 | #16 0x7fae25c474ad in operator() /builds/worker/workspace/obj-build/dist/include/mozilla/UniquePtr.h:460:5
[task 2020-05-18T10:07:41.805Z] 10:07:41 INFO - PID 5830 | #17 0x7fae25c474ad in reset /builds/worker/workspace/obj-build/dist/include/mozilla/UniquePtr.h:302:7
[task 2020-05-18T10:07:41.805Z] 10:07:41 INFO - PID 5830 | #18 0x7fae25c474ad in operator= /builds/worker/workspace/obj-build/dist/include/mozilla/UniquePtr.h:275:5
[task 2020-05-18T10:07:41.805Z] 10:07:41 INFO - PID 5830 | #19 0x7fae25c474ad in mozilla::gmp::GeckoMediaPluginServiceChild::Observe(nsISupports*, char const*, char16_t const*) /builds/worker/checkouts/gecko/dom/media/gmp/GMPServiceChild.cpp:357:21
[task 2020-05-18T10:07:41.805Z] 10:07:41 INFO - PID 5830 | #20 0x7fae25c475bc in non-virtual thunk to mozilla::gmp::GeckoMediaPluginServiceChild::Observe(nsISupports*, char const*, char16_t const*) /builds/worker/checkouts/gecko/dom/media/gmp/GMPServiceChild.cpp
[task 2020-05-18T10:07:41.806Z] 10:07:41 INFO - PID 5830 | #21 0x7fae1fcc1bbe in nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*) /builds/worker/checkouts/gecko/xpcom/ds/nsObserverList.cpp:65:19
[task 2020-05-18T10:07:41.806Z] 10:07:41 INFO - PID 5830 | #22 0x7fae1fcc8b91 in nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*) /builds/worker/checkouts/gecko/xpcom/ds/nsObserverService.cpp:288:19
[task 2020-05-18T10:07:41.812Z] 10:07:41 INFO - PID 5830 | #23 0x7fae1fe641e3 in mozilla::ShutdownXPCOM(nsIServiceManager*) /builds/worker/checkouts/gecko/xpcom/build/XPCOMInit.cpp:638:24
[task 2020-05-18T10:07:41.812Z] 10:07:41 INFO - PID 5830 | #24 0x7fae2aa48bec in XRE_TermEmbedding() /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:222:3
[task 2020-05-18T10:07:41.812Z] 10:07:41 INFO - PID 5830 | #25 0x7fae20f1fb9e in mozilla::ipc::ScopedXREEmbed::Stop() /builds/worker/checkouts/gecko/ipc/glue/ScopedXREEmbed.cpp:90:5
[task 2020-05-18T10:07:41.813Z] 10:07:41 INFO - PID 5830 | #26 0x7fae2aa49ca5 in XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:744:16
[task 2020-05-18T10:07:41.823Z] 10:07:41 INFO - PID 5830 | #27 0x558dcdd0116d in content_process_main(mozilla::Bootstrap*, int, char**) /builds/worker/checkouts/gecko/browser/app/../../ipc/contentproc/plugin-container.cpp:56:28
[task 2020-05-18T10:07:41.824Z] 10:07:41 INFO - PID 5830 | #28 0x558dcdd015aa in main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:303:18
[task 2020-05-18T10:07:41.885Z] 10:07:41 INFO - PID 5830 | #29 0x7fae3fe11b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
[task 2020-05-18T10:07:41.886Z] 10:07:41 INFO - PID 5830 | #30 0x558dcdc55cb5 in _start (/builds/worker/workspace/build/application/firefox/firefox+0x55cb5)
[task 2020-05-18T10:07:41.886Z] 10:07:41 INFO - PID 5830 | AddressSanitizer can not provide additional info.
[task 2020-05-18T10:07:41.886Z] 10:07:41 INFO - PID 5830 | SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:749:9 in mozilla::ipc::MessageChannel::Clear()

I'm not sure why there's no message in the log, but as of right now, that's crashing on this code: case ChannelConnected: MOZ_CRASH( "MessageChannel destroyed without being closed " "(mChannelState == ChannelConnected)."); break;

Given the ~GMPServiceChild in the stack, this is probably a dupe of some other bug on crashes in GMP teardown that are already on file.

Component: IPC → Audio/Video: GMP
Group: core-security-release
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.