Closed Bug 1549989 Opened 6 years ago Closed 6 years ago

SUMMARY: AddressSanitizer: SEGV /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:764:9 in mozilla::ipc::MessageChannel::Clear()

Categories

(Core :: IPC, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1493656

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, regression)

Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=245291617&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/BR0ddEmBSIKs8Ur2S7iAxg/runs/0/artifacts/public/logs/live_backing.log


[task 2019-05-08T09:54:52.884Z] 09:54:52 INFO - TEST-START | /encrypted-media/clearkey-mp4-update-disallowed-input.https.html
[task 2019-05-08T09:54:52.892Z] 09:54:52 INFO - Closing window 81604378625
[task 2019-05-08T09:54:53.970Z] 09:54:53 INFO - PID 27142 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2019-05-08T09:54:53.970Z] 09:54:53 INFO - PID 27142 | AddressSanitizer:DEADLYSIGNAL
[task 2019-05-08T09:54:53.972Z] 09:54:53 INFO - PID 27142 | =================================================================
[task 2019-05-08T09:54:53.973Z] 09:54:53 ERROR - PID 27142 | ==29141==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000001 (pc 0x7f030fa55287 bp 0x7ffe231131c0 sp 0x7ffe23113080 T0)
[task 2019-05-08T09:54:53.975Z] 09:54:53 INFO - PID 27142 | ==29141==The signal is caused by a WRITE memory access.
[task 2019-05-08T09:54:53.976Z] 09:54:53 INFO - PID 27142 | ==29141==Hint: address points to the zero page.
[task 2019-05-08T09:54:54.803Z] 09:54:54 INFO - PID 27142 | #0 0x7f030fa55286 in mozilla::ipc::MessageChannel::Clear() /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:764:9
[task 2019-05-08T09:54:54.803Z] 09:54:54 INFO - PID 27142 | #1 0x7f030fa52eb8 in mozilla::ipc::MessageChannel::~MessageChannel() /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:628:3
[task 2019-05-08T09:54:54.803Z] 09:54:54 INFO - PID 27142 | #2 0x7f030fa7f7ad in mozilla::ipc::IToplevelProtocol::ToplevelState::~ToplevelState() /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/ipc/ProtocolUtils.h:406:9
[task 2019-05-08T09:54:54.804Z] 09:54:54 INFO - PID 27142 | #3 0x7f030fa7fe0d in mozilla::ipc::IToplevelProtocol::ToplevelState::~ToplevelState() /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/ipc/ProtocolUtils.h:406:9
[task 2019-05-08T09:54:54.804Z] 09:54:54 INFO - PID 27142 | #4 0x7f030fa7831c in operator() /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/UniquePtr.h:486:5
[task 2019-05-08T09:54:54.805Z] 09:54:54 INFO - PID 27142 | #5 0x7f030fa7831c in reset /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/UniquePtr.h:323
[task 2019-05-08T09:54:54.805Z] 09:54:54 INFO - PID 27142 | #6 0x7f030fa7831c in operator= /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/UniquePtr.h:296
[task 2019-05-08T09:54:54.805Z] 09:54:54 INFO - PID 27142 | #7 0x7f030fa7831c in mozilla::ipc::IToplevelProtocol::~IToplevelProtocol() /builds/worker/workspace/build/src/ipc/glue/ProtocolUtils.cpp:577
[task 2019-05-08T09:54:54.834Z] 09:54:54 INFO - PID 27142 | #8 0x7f03158c88fd in mozilla::gmp::GMPContentParent::~GMPContentParent() /builds/worker/workspace/build/src/dom/media/gmp/GMPContentParent.cpp:35:39
[task 2019-05-08T09:54:54.842Z] 09:54:54 INFO - PID 27142 | #9 0x7f030e8a0e1c in operator() /builds/worker/workspace/build/src/xpcom/ds/PLDHashTable.cpp:304:7
[task 2019-05-08T09:54:54.842Z] 09:54:54 INFO - PID 27142 | #10 0x7f030e8a0e1c in ForEachSlot<(lambda at /builds/worker/workspace/build/src/xpcom/ds/PLDHashTable.cpp:302:51)> /builds/worker/workspace/build/src/obj-firefox/dist/include/PLDHashTable.h:359
[task 2019-05-08T09:54:54.844Z] 09:54:54 INFO - PID 27142 | #11 0x7f030e8a0e1c in ForEachSlot<(lambda at /builds/worker/workspace/build/src/xpcom/ds/PLDHashTable.cpp:302:51)> /builds/worker/workspace/build/src/obj-firefox/dist/include/PLDHashTable.h:349
[task 2019-05-08T09:54:54.844Z] 09:54:54 INFO - PID 27142 | #12 0x7f030e8a0e1c in PLDHashTable::~PLDHashTable() /builds/worker/workspace/build/src/xpcom/ds/PLDHashTable.cpp:302
[task 2019-05-08T09:54:54.867Z] 09:54:54 INFO - PID 27142 | #13 0x7f0315919efb in ~nsTHashtable /builds/worker/workspace/build/src/obj-firefox/dist/include/nsTHashtable.h:384:43
[task 2019-05-08T09:54:54.869Z] 09:54:54 INFO - PID 27142 | #14 0x7f0315919efb in ~GMPServiceChild /builds/worker/workspace/build/src/dom/media/gmp/GMPServiceChild.cpp:430
[task 2019-05-08T09:54:54.870Z] 09:54:54 INFO - PID 27142 | #15 0x7f0315919efb in mozilla::gmp::GMPServiceChild::~GMPServiceChild() /builds/worker/workspace/build/src/dom/media/gmp/GMPServiceChild.cpp:430
[task 2019-05-08T09:54:54.870Z] 09:54:54 INFO - PID 27142 | #16 0x7f03159185c5 in operator() /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/UniquePtr.h:486:5
[task 2019-05-08T09:54:54.872Z] 09:54:54 INFO - PID 27142 | #17 0x7f03159185c5 in reset /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/UniquePtr.h:323
[task 2019-05-08T09:54:54.873Z] 09:54:54 INFO - PID 27142 | #18 0x7f03159185c5 in operator= /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/UniquePtr.h:296
[task 2019-05-08T09:54:54.873Z] 09:54:54 INFO - PID 27142 | #19 0x7f03159185c5 in mozilla::gmp::GeckoMediaPluginServiceChild::Observe(nsISupports*, char const*, char16_t const*) /builds/worker/workspace/build/src/dom/media/gmp/GMPServiceChild.cpp:361
[task 2019-05-08T09:54:54.875Z] 09:54:54 INFO - PID 27142 | #20 0x7f03159186ac in non-virtual thunk to mozilla::gmp::GeckoMediaPluginServiceChild::Observe(nsISupports*, char const*, char16_t const*) /builds/worker/workspace/build/src/dom/media/gmp/GMPServiceChild.cpp
[task 2019-05-08T09:54:54.875Z] 09:54:54 INFO - PID 27142 | #21 0x7f030e8c56e1 in nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*) /builds/worker/workspace/build/src/xpcom/ds/nsObserverList.cpp:66:19
[task 2019-05-08T09:54:54.878Z] 09:54:54 INFO - PID 27142 | #22 0x7f030e8cb375 in nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*) /builds/worker/workspace/build/src/xpcom/ds/nsObserverService.cpp:295:19
[task 2019-05-08T09:54:54.882Z] 09:54:54 INFO - PID 27142 | #23 0x7f030ea6504f in mozilla::ShutdownXPCOM(nsIServiceManager*) /builds/worker/workspace/build/src/xpcom/build/XPCOMInit.cpp:633:24
[task 2019-05-08T09:54:54.882Z] 09:54:54 INFO - PID 27142 | #24 0x7f031ab8b8bc in XRE_TermEmbedding() /builds/worker/workspace/build/src/toolkit/xre/nsEmbedFunctions.cpp:222:3
[task 2019-05-08T09:54:54.884Z] 09:54:54 INFO - PID 27142 | #25 0x7f030fa7d5c2 in mozilla::ipc::ScopedXREEmbed::Stop() /builds/worker/workspace/build/src/ipc/glue/ScopedXREEmbed.cpp:90:5
[task 2019-05-08T09:54:54.885Z] 09:54:54 INFO - PID 27142 | #26 0x7f031ab8c355 in XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/workspace/build/src/toolkit/xre/nsEmbedFunctions.cpp:761:16
[task 2019-05-08T09:54:54.895Z] 09:54:54 INFO - PID 27142 | #27 0x557b9b1953a7 in content_process_main /builds/worker/workspace/build/src/browser/app/../../ipc/contentproc/plugin-container.cpp:56:28
[task 2019-05-08T09:54:54.896Z] 09:54:54 INFO - PID 27142 | #28 0x557b9b1953a7 in main /builds/worker/workspace/build/src/browser/app/nsBrowserApp.cpp:263
[task 2019-05-08T09:54:54.940Z] 09:54:54 INFO - PID 27142 | #29 0x7f032f0c182f in __libc_start_main /build/glibc-LK5gWL/glibc-2.23/csu/../csu/libc-start.c:291
[task 2019-05-08T09:54:54.941Z] 09:54:54 INFO - PID 27142 | #30 0x557b9b0b6af8 in _start (/builds/worker/workspace/build/application/firefox/firefox+0x2aaf8)
[task 2019-05-08T09:54:54.941Z] 09:54:54 INFO - PID 27142 | AddressSanitizer can not provide additional info.
[task 2019-05-08T09:54:54.943Z] 09:54:54 INFO - PID 27142 | SUMMARY: AddressSanitizer: SEGV /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:764:9 in mozilla::ipc::MessageChannel::Clear()
[task 2019-05-08T09:54:54.944Z] 09:54:54 INFO - PID 27142 | ==29141==ABORTING
[task 2019-05-08T09:54:54.961Z] 09:54:54 INFO - .
[task 2019-05-08T09:54:54.961Z] 09:54:54 INFO - TEST-OK | /encrypted-media/clearkey-mp4-update-disallowed-input.https.html | took 2073ms

MOZ_CRASH("MessageChannel destroyed without being closed.");

Which means it's a duplicate of bug 1493656, which means I need to hide this bug, which means we'll probably get another dup the next time it happens.

Group: dom-core-security
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Group: dom-core-security
You need to log in before you can comment on or make changes to this bug.