Closed Bug 1544333 Opened 5 years ago Closed 5 years ago

Intermittent GECKO(1778) | ==1846==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x7f99ef958a36 bp 0x7fffccdda130 sp 0x7fffccdda0c0 T0)

Categories

(Core :: Storage: localStorage & sessionStorage, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox-esr60 --- unaffected
firefox67 --- disabled
firefox68 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: janv)

References

(Blocks 2 open bugs)

Details

(Keywords: intermittent-failure, regression)

#[markdown(off)]
Filed by: shindli [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=240266898&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/WVvSOdJdRfmhzwT-Vguscg/runs/0/artifacts/public/logs/live_backing.log

[task 2019-04-14T23:05:38.696Z] 23:05:38 INFO - SimpleTest FINISHED
[task 2019-04-14T23:05:38.696Z] 23:05:38 INFO - TEST-INFO | Ran 1 Loops
[task 2019-04-14T23:05:38.696Z] 23:05:38 INFO - SimpleTest FINISHED
[task 2019-04-14T23:05:39.661Z] 23:05:39 INFO - GECKO(1778) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2019-04-14T23:05:39.711Z] 23:05:39 INFO - GECKO(1778) | ###!!! [Child][MessageChannel] Error: (msgtype=0x35010E,name=PContent::Msg_StoreUserInteractionAsPermission) Closed channel: cannot send/recv
[task 2019-04-14T23:05:39.719Z] 23:05:39 INFO - GECKO(1778) | AddressSanitizer:DEADLYSIGNAL
[task 2019-04-14T23:05:39.720Z] 23:05:39 INFO - GECKO(1778) | =================================================================
[task 2019-04-14T23:05:39.720Z] 23:05:39 ERROR - GECKO(1778) | ==1846==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x7f99ef958a36 bp 0x7fffccdda130 sp 0x7fffccdda0c0 T0)
[task 2019-04-14T23:05:39.720Z] 23:05:39 INFO - GECKO(1778) | ==1846==The signal is caused by a READ memory access.
[task 2019-04-14T23:05:39.720Z] 23:05:39 INFO - GECKO(1778) | ==1846==Hint: address points to the zero page.
[task 2019-04-14T23:05:41.373Z] 23:05:41 INFO - GECKO(1778) | 1555283141363 Marionette TRACE Received observer notification xpcom-will-shutdown
[task 2019-04-14T23:05:41.374Z] 23:05:41 INFO - GECKO(1778) | 1555283141364 Marionette INFO Stopped listening on port 2828
[task 2019-04-14T23:05:41.375Z] 23:05:41 INFO - GECKO(1778) | 1555283141364 Marionette DEBUG Remote service is inactive
[task 2019-04-14T23:05:41.475Z] 23:05:41 INFO - GECKO(1778) | -----------------------------------------------------
[task 2019-04-14T23:05:41.476Z] 23:05:41 INFO - GECKO(1778) | Suppressions used:
[task 2019-04-14T23:05:41.476Z] 23:05:41 INFO - GECKO(1778) | count bytes template
[task 2019-04-14T23:05:41.477Z] 23:05:41 INFO - GECKO(1778) | 27 832 nsComponentManagerImpl
[task 2019-04-14T23:05:41.478Z] 23:05:41 INFO - GECKO(1778) | 611 17713 libfontconfig.so
[task 2019-04-14T23:05:41.479Z] 23:05:41 INFO - GECKO(1778) | 1 29 libglib-2.0.so
[task 2019-04-14T23:05:41.480Z] 23:05:41 INFO - GECKO(1778) | -----------------------------------------------------
[task 2019-04-14T23:05:41.723Z] 23:05:41 INFO - GECKO(1778) | #0 0x7f99ef958a35 in Get /builds/worker/workspace/build/src/obj-firefox/dist/include/PLDHashTable.h:327:32
[task 2019-04-14T23:05:41.725Z] 23:05:41 INFO - GECKO(1778) | #1 0x7f99ef958a35 in Capacity /builds/worker/workspace/build/src/obj-firefox/dist/include/PLDHashTable.h:445
[task 2019-04-14T23:05:41.726Z] 23:05:41 INFO - GECKO(1778) | #2 0x7f99ef958a35 in PLDHashTable::Iterator::Iterator(PLDHashTable*) /builds/worker/workspace/build/src/xpcom/ds/PLDHashTable.cpp:707
[task 2019-04-14T23:05:41.773Z] 23:05:41 INFO - GECKO(1778) | #3 0x7f99f7d03622 in Iterator /builds/worker/workspace/build/src/obj-firefox/dist/include/nsBaseHashtable.h:361:50
[task 2019-04-14T23:05:41.775Z] 23:05:41 INFO - GECKO(1778) | #4 0x7f99f7d03622 in ConstIter /builds/worker/workspace/build/src/obj-firefox/dist/include/nsBaseHashtable.h:381
[task 2019-04-14T23:05:41.776Z] 23:05:41 INFO - GECKO(1778) | #5 0x7f99f7d03622 in mozilla::dom::LSDatabase::Observer::Observe(nsISupports*, char const*, char16_t const*) /builds/worker/workspace/build/src/dom/localstorage/LSDatabase.cpp:372
[task 2019-04-14T23:05:41.777Z] 23:05:41 INFO - GECKO(1778) | #6 0x7f99ef97a081 in nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*) /builds/worker/workspace/build/src/xpcom/ds/nsObserverList.cpp:66:19
[task 2019-04-14T23:05:41.794Z] 23:05:41 INFO - GECKO(1778) | -----------------------------------------------------
[task 2019-04-14T23:05:41.796Z] 23:05:41 INFO - GECKO(1778) | Suppressions used:
[task 2019-04-14T23:05:41.797Z] 23:05:41 INFO - GECKO(1778) | count bytes template
[task 2019-04-14T23:05:41.797Z] 23:05:41 INFO - GECKO(1778) | 27 832 nsComponentManagerImpl
[task 2019-04-14T23:05:41.797Z] 23:05:41 INFO - GECKO(1778) | 2 288 libfontconfig.so
[task 2019-04-14T23:05:41.797Z] 23:05:41 INFO - GECKO(1778) | -----------------------------------------------------
[task 2019-04-14T23:05:41.797Z] 23:05:41 INFO - GECKO(1778) | #7 0x7f99ef97fcdd in nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*) /builds/worker/workspace/build/src/xpcom/ds/nsObserverService.cpp:294:19
[task 2019-04-14T23:05:41.814Z] 23:05:41 INFO - GECKO(1778) | #8 0x7f99efb1c281 in mozilla::ShutdownXPCOM(nsIServiceManager*) /builds/worker/workspace/build/src/xpcom/build/XPCOMInit.cpp:614:26
[task 2019-04-14T23:05:41.815Z] 23:05:41 INFO - GECKO(1778) | #9 0x7f99fba6cb3c in XRE_TermEmbedding() /builds/worker/workspace/build/src/toolkit/xre/nsEmbedFunctions.cpp:222:3
[task 2019-04-14T23:05:41.831Z] 23:05:41 INFO - GECKO(1778) | #10 0x7f99f0b17392 in mozilla::ipc::ScopedXREEmbed::Stop() /builds/worker/workspace/build/src/ipc/glue/ScopedXREEmbed.cpp:90:5
[task 2019-04-14T23:05:41.832Z] 23:05:41 INFO - GECKO(1778) | #11 0x7f99fba6d5d5 in XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/workspace/build/src/toolkit/xre/nsEmbedFunctions.cpp:761:16
[task 2019-04-14T23:05:41.849Z] 23:05:41 INFO - GECKO(1778) | #12 0x5589222df3a7 in content_process_main /builds/worker/workspace/build/src/browser/app/../../ipc/contentproc/plugin-container.cpp:56:28
[task 2019-04-14T23:05:41.850Z] 23:05:41 INFO - GECKO(1778) | #13 0x5589222df3a7 in main /builds/worker/workspace/build/src/browser/app/nsBrowserApp.cpp:263
[task 2019-04-14T23:05:41.913Z] 23:05:41 INFO - GECKO(1778) | #14 0x7f9a0fe8782f in __libc_start_main /build/glibc-LK5gWL/glibc-2.23/csu/../csu/libc-start.c:291
[task 2019-04-14T23:05:41.915Z] 23:05:41 INFO - GECKO(1778) | #15 0x558922200af8 in _start (/builds/worker/workspace/build/application/firefox/firefox+0x2aaf8)
[task 2019-04-14T23:05:41.917Z] 23:05:41 INFO - GECKO(1778) | AddressSanitizer can not provide additional info.
[task 2019-04-14T23:05:41.919Z] 23:05:41 INFO - GECKO(1778) | SUMMARY: AddressSanitizer: SEGV /builds/worker/workspace/build/src/obj-firefox/dist/include/PLDHashTable.h:327:32 in Get
[task 2019-04-14T23:05:41.920Z] 23:05:41 INFO - GECKO(1778) | ==1846==ABORTING
[task 2019-04-14T23:05:44.363Z] 23:05:44 INFO - GECKO(1778) | -----------------------------------------------------
[task 2019-04-14T23:05:44.364Z] 23:05:44 INFO - GECKO(1778) | Suppressions used:

Component: XPCOM → DOM: Web Storage

Shutdown null deref crash in LSDatabase::Observer::Observe(). Maybe gLSDatabases is null?

Crash at this line: for (auto iter = gLSDatabases->ConstIter(); !iter.Done(); iter.Next()) [1]. Might be the same issue as bug 1534135.

[1] https://searchfox.org/mozilla-central/rev/0376cbf447efa16922c550da3bfd783b916e35d3/dom/localstorage/LSDatabase.cpp#372

Blocks: 1540402
See Also: → 1534135
See Also: → 1534555
Priority: P5 → P3

Fixed in bug 1548847.

Assignee: nobody → jvarga
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.