Closed Bug 1513465 Opened 5 years ago Closed 5 years ago

Intermittent Assertion failure: WeakMapBase::checkMarkingForZone(zone), at /builds/worker/workspace/build/src/js/src/gc/GC.cpp:5234

Categories

(Core :: JavaScript: GC, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox-esr60 --- unaffected
firefox64 --- unaffected
firefox65 --- unaffected
firefox66 --- fixed

People

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

References

Details

(Keywords: assertion, crash, intermittent-failure)

Crash Data

Attachments

(1 file)

Filed by: rmaries [at] mozilla.com

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

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

[task 2018-12-12T06:34:51.738Z] 06:34:51     INFO - PROCESS-CRASH | Main app process exited normally | application crashed [@ libxul.so + 0x4acd7a1]
[task 2018-12-12T06:34:51.739Z] 06:34:51     INFO - Crash dump filename: /tmp/tmp74x8DD.mozrunner/minidumps/243a953f-cf79-c315-e908-3823ba2d505a.dmp
[task 2018-12-12T06:34:51.740Z] 06:34:51     INFO - Operating system: Linux
[task 2018-12-12T06:34:51.741Z] 06:34:51     INFO -                   0.0.0 Linux 4.4.0-1014-aws #14taskcluster1-Ubuntu SMP Tue Apr 3 10:27:00 UTC 2018 x86_64
[task 2018-12-12T06:34:51.741Z] 06:34:51     INFO - CPU: x86
[task 2018-12-12T06:34:51.742Z] 06:34:51     INFO -      GenuineIntel family 6 model 62 stepping 4
[task 2018-12-12T06:34:51.743Z] 06:34:51     INFO -      2 CPUs
[task 2018-12-12T06:34:51.743Z] 06:34:51     INFO - 
[task 2018-12-12T06:34:51.744Z] 06:34:51     INFO - GPU: UNKNOWN
[task 2018-12-12T06:34:51.745Z] 06:34:51     INFO - 
[task 2018-12-12T06:34:51.746Z] 06:34:51     INFO - Crash reason:  SIGSEGV /SEGV_MAPERR
[task 2018-12-12T06:34:51.746Z] 06:34:51     INFO - Crash address: 0x0
[task 2018-12-12T06:34:51.747Z] 06:34:51     INFO - Process uptime: not available
[task 2018-12-12T06:34:51.748Z] 06:34:51     INFO - 
[task 2018-12-12T06:34:51.748Z] 06:34:51     INFO - Thread 0 (crashed)
[task 2018-12-12T06:34:51.749Z] 06:34:51     INFO -  0  libxul.so + 0x4acd7a1
[task 2018-12-12T06:34:51.750Z] 06:34:51     INFO -     eip = 0xf16877a1   esp = 0xffa42960   ebp = 0xffa42998   ebx = 0xf5408000
[task 2018-12-12T06:34:51.750Z] 06:34:51     INFO -     esi = 0xffa42980   edi = 0xe84073b4   eax = 0xf3ecb516   ecx = 0x565ef514
[task 2018-12-12T06:34:51.752Z] 06:34:51     INFO -     edx = 0x00000000   efl = 0x00210286
[task 2018-12-12T06:34:51.753Z] 06:34:51     INFO -     Found by: given as instruction pointer in context
[task 2018-12-12T06:34:51.753Z] 06:34:51     INFO -  1  libxul.so + 0x4b1e71a
[task 2018-12-12T06:34:51.753Z] 06:34:51     INFO -     eip = 0xf16d871a   esp = 0xffa429a0   ebp = 0xffa429c8
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -  2  libxul.so + 0x4b20883
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -     eip = 0xf16da883   esp = 0xffa429d0   ebp = 0xffa429f8
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -  3  libxul.so + 0x4b219e0
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -     eip = 0xf16db9e0   esp = 0xffa42a00   ebp = 0xffa42a28
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -  4  libxul.so + 0x4ad299b
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -     eip = 0xf168c99b   esp = 0xffa42a30   ebp = 0xffa42a88
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -  5  libxul.so + 0x4ad79d7
[task 2018-12-12T06:34:51.754Z] 06:34:51     INFO -     eip = 0xf16919d7   esp = 0xffa42a90   ebp = 0xffa42b08
[task 2018-12-12T06:34:51.756Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.756Z] 06:34:51     INFO -  6  libxul.so + 0x4ad9ded
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     eip = 0xf1693ded   esp = 0xffa42b10   ebp = 0xffa42b78
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -  7  libxul.so + 0x4adb15c
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     eip = 0xf169515c   esp = 0xffa42b80   ebp = 0xffa42bf8
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -  8  libxul.so + 0x4ae0dab
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     eip = 0xf169adab   esp = 0xffa42c00   ebp = 0xffa42c58
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -  9  libxul.so + 0x1852070
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     eip = 0xee40c070   esp = 0xffa42c60   ebp = 0xffa42c98
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO - 10  libxul.so + 0x1857f3c
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     eip = 0xee411f3c   esp = 0xffa42ca0   ebp = 0xffa42d68
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO - 11  libxul.so + 0x1866cbf
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     eip = 0xee420cbf   esp = 0xffa42d70   ebp = 0xffa42d98
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO - 12  libxul.so + 0x69b5ff
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     eip = 0xed2555ff   esp = 0xffa42da0   ebp = 0xffa42dd8
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO - 13  libxul.so + 0x69bd48
[task 2018-12-12T06:34:51.762Z] 06:34:51     INFO -     eip = 0xed255d48   esp = 0xffa42de0   ebp = 0xffa42df8
[task 2018-12-12T06:34:51.764Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.765Z] 06:34:51     INFO - 14  libxul.so + 0x6cd6a1
[task 2018-12-12T06:34:51.766Z] 06:34:51     INFO -     eip = 0xed2876a1   esp = 0xffa42e00   ebp = 0xffa42e98
[task 2018-12-12T06:34:51.767Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.768Z] 06:34:51     INFO - 15  libxul.so + 0x6b7502
[task 2018-12-12T06:34:51.769Z] 06:34:51     INFO -     eip = 0xed271502   esp = 0xffa42ea0   ebp = 0xffa42ee8
[task 2018-12-12T06:34:51.770Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.771Z] 06:34:51     INFO - 16  libxul.so + 0x6a892b
[task 2018-12-12T06:34:51.771Z] 06:34:51     INFO -     eip = 0xed26292b   esp = 0xffa42ef0   ebp = 0xffa42f18
[task 2018-12-12T06:34:51.773Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.774Z] 06:34:51     INFO - 17  libxul.so + 0x6be70e
[task 2018-12-12T06:34:51.775Z] 06:34:51     INFO -     eip = 0xed27870e   esp = 0xffa42f20   ebp = 0xffa43438
[task 2018-12-12T06:34:51.776Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.777Z] 06:34:51     INFO - 18  libxul.so + 0x6c1258
[task 2018-12-12T06:34:51.778Z] 06:34:51     INFO -     eip = 0xed27b258   esp = 0xffa43440   ebp = 0xffa43468
[task 2018-12-12T06:34:51.780Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.781Z] 06:34:51     INFO - 19  libxul.so + 0xc07aef
[task 2018-12-12T06:34:51.782Z] 06:34:51     INFO -     eip = 0xed7c1aef   esp = 0xffa43470   ebp = 0xffa434a8
[task 2018-12-12T06:34:51.783Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.784Z] 06:34:51     INFO - 20  libxul.so + 0xbc4f2f
[task 2018-12-12T06:34:51.785Z] 06:34:51     INFO -     eip = 0xed77ef2f   esp = 0xffa434b0   ebp = 0xffa434d8
[task 2018-12-12T06:34:51.786Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.787Z] 06:34:51     INFO - 21  libxul.so + 0xbc4e8c
[task 2018-12-12T06:34:51.788Z] 06:34:51     INFO -     eip = 0xed77ee8c   esp = 0xffa434e0   ebp = 0xffa43508
[task 2018-12-12T06:34:51.789Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.790Z] 06:34:51     INFO - 22  libxul.so + 0x3011fb9
[task 2018-12-12T06:34:51.791Z] 06:34:51     INFO -     eip = 0xefbcbfb9   esp = 0xffa43510   ebp = 0xffa43538
[task 2018-12-12T06:34:51.793Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.794Z] 06:34:51     INFO - 23  libxul.so + 0x4308594
[task 2018-12-12T06:34:51.795Z] 06:34:51     INFO -     eip = 0xf0ec2594   esp = 0xffa43540   ebp = 0xffa43578
[task 2018-12-12T06:34:51.796Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.797Z] 06:34:51     INFO - 24  libxul.so + 0xc081dc
[task 2018-12-12T06:34:51.798Z] 06:34:51     INFO -     eip = 0xed7c21dc   esp = 0xffa43580   ebp = 0xffa435a8
[task 2018-12-12T06:34:51.799Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.800Z] 06:34:51     INFO - 25  libxul.so + 0xbc4f2f
[task 2018-12-12T06:34:51.802Z] 06:34:51     INFO -     eip = 0xed77ef2f   esp = 0xffa435b0   ebp = 0xffa435d8
[task 2018-12-12T06:34:51.803Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.804Z] 06:34:51     INFO - 26  libxul.so + 0xbc4e8c
[task 2018-12-12T06:34:51.805Z] 06:34:51     INFO -     eip = 0xed77ee8c   esp = 0xffa435e0   ebp = 0xffa43608
[task 2018-12-12T06:34:51.806Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.807Z] 06:34:51     INFO - 27  libxul.so + 0x43081ee
[task 2018-12-12T06:34:51.808Z] 06:34:51     INFO -     eip = 0xf0ec21ee   esp = 0xffa43610   ebp = 0xffa43798
[task 2018-12-12T06:34:51.809Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.810Z] 06:34:51     INFO - 28  libxul.so + 0x4312ce0
[task 2018-12-12T06:34:51.812Z] 06:34:51     INFO -     eip = 0xf0eccce0   esp = 0xffa437a0   ebp = 0xffa437b8
[task 2018-12-12T06:34:51.813Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.814Z] 06:34:51     INFO - 29  firefox-bin!main [plugin-container.cpp:5bcbe5232a262a2ad2703f2fd1678d8bd7681c02 : 49 + 0x1a]
[task 2018-12-12T06:34:51.815Z] 06:34:51     INFO -     eip = 0x5659fe5e   esp = 0xffa437c0   ebp = 0xffa44808
[task 2018-12-12T06:34:51.816Z] 06:34:51     INFO -     Found by: previous frame's frame pointer
[task 2018-12-12T06:34:51.817Z] 06:34:51     INFO - 30  libc-2.23.so + 0x18637
[task 2018-12-12T06:34:51.818Z] 06:34:51     INFO -     eip = 0xf7347637   esp = 0xffa44810   ebp = 0x00000000   ebx = 0x00000000
[task 2018-12-12T06:34:51.819Z] 06:34:51     INFO -     esi = 0xf74e1000   edi = 0xf74e1000
[task 2018-12-12T06:34:51.820Z] 06:34:51     INFO -     Found by: call frame info
[task 2018-12-12T06:34:51.821Z] 06:34:51     INFO - 31  libc-2.23.so + 0x1b2000
[task 2018-12-12T06:34:51.822Z] 06:34:51     INFO -     eip = 0xf74e1000   esp = 0xffa4482c   ebp = 0x00000000
[task 2018-12-12T06:34:51.823Z] 06:34:51     INFO -     Found by: stack scanning
[task 2018-12-12T06:34:51.823Z] 06:34:51     INFO - 32  ld-2.23.so + 0x24c04
[task 2018-12-12T06:34:51.824Z] 06:34:51     INFO -     eip = 0xf776dc04   esp = 0xffa44830   ebp = 0x00000000
[task 2018-12-12T06:34:51.825Z] 06:34:51     INFO -     Found by: stack scanning
[task 2018-12-12T06:34:51.826Z] 06:34:51     INFO - 33  ld-2.23.so + 0x24000
[task 2018-12-12T06:34:51.827Z] 06:34:51     INFO -     eip = 0xf776d000   esp = 0xffa44834   ebp = 0x00000000
[task 2018-12-12T06:34:51.828Z] 06:34:51     INFO -     Found by: stack scanning
[task 2018-12-12T06:34:51.829Z] 06:34:51     INFO - 34  libc-2.23.so + 0x1b2000
[task 2018-12-12T06:34:51.830Z] 06:34:51     INFO -     eip = 0xf74e1000   esp = 0xffa4483c   ebp = 0x00000000
[task 2018-12-12T06:34:51.830Z] 06:34:51     INFO -     Found by: stack scanning
[task 2018-12-12T06:34:51.831Z] 06:34:51     INFO - 35  libc-2.23.so + 0x1b2000
[task 2018-12-12T06:34:51.832Z] 06:34:51     INFO -     eip = 0xf74e1000   esp = 0xffa44840   ebp = 0x00000000
[task 2018-12-12T06:34:51.832Z] 06:34:51     INFO -     Found by: stack scanning
[task 2018-12-12T06:34:51.833Z] 06:34:51     INFO - 36  firefox-bin!_GLOBAL__sub_I_TimeStamp.cpp [TimeStamp.cpp:5bcbe5232a262a2ad2703f2fd1678d8bd7681c02 : 0 + 0xd]
[task 2018-12-12T06:34:51.834Z] 06:34:51     INFO -     eip = 0x5659f910   esp = 0xffa44860   ebp = 0x00000000
[task 2018-12-12T06:34:51.835Z] 06:34:51     INFO -     Found by: stack scanning
[task 2018-12-12T06:34:51.835Z] 06:34:51     INFO - 37  ld-2.23.so + 0x15010
[task 2018-12-12T06:34:51.836Z] 06:34:51     INFO -     eip = 0xf775e010   esp = 0xffa44868   ebp = 0x00000000
[task 2018-12-12T06:34:51.837Z] 06:34:51     INFO -     Found by: stack scanning
[task 2018-12-12T06:34:51.838Z] 06:34:51     INFO - 38  ld-2.23.so + 0xf880
[task 2018-12-12T06:34:51.839Z] 06:34:51     INFO -     eip = 0xf7758880   esp = 0xffa4486c   ebp = 0x00000000
[task 2018-12-12T06:34:51.839Z] 06:34:51     INFO -     Found by: stack scanning
[task 2018-12-12T06:34:51.840Z] 06:34:51     INFO - 39  firefox-bin!_fini + 0x13e3c
[task 2018-12-12T06:34:51.841Z] 06:34:51     INFO -     eip = 0x565ef000   esp = 0xffa44870   ebp = 0x00000000
[task 2018-12-12T06:34:51.842Z] 06:34:51     INFO -     Found by: stack scanning
[task 2018-12-12T06:34:51.843Z] 06:34:51     INFO - 40  firefox-bin!_GLOBAL__sub_I_TimeStamp.cpp [TimeStamp.cpp:5bcbe5232a262a2ad2703f2fd1678d8bd7681c02 : 0 + 0xd]
[task 2018-12-12T06:34:51.843Z] 06:34:51     INFO -     eip = 0x5659f910   esp = 0xffa44878   ebp = 0x00000000
[task 2018-12-12T06:34:51.844Z] 06:34:51     INFO -     Found by: stack scanning
[task 2018-12-12T06:34:51.845Z] 06:34:51     INFO - 41  firefox-bin!_start + 0x31
[task 2018-12-12T06:34:51.846Z] 06:34:51     INFO -     eip = 0x5659f941   esp = 0xffa44880   ebp = 0x00000000
[task 2018-12-12T06:34:51.846Z] 06:34:51     INFO -     Found by: stack scanning
[task 2018-12-12T06:34:51.847Z] 06:34:51     INFO - 42  firefox-bin!<name omitted> [UniquePtr.h:5bcbe5232a262a2ad2703f2fd1678d8bd7681c02 : 274 + 0x6]
[task 2018-12-12T06:34:51.848Z] 06:34:51     INFO -     eip = 0x5659fb8a   esp = 0xffa44884   ebp = 0x00000000
[task 2018-12-12T06:34:51.849Z] 06:34:51     INFO -     Found by: stack scanning

Before in log:
[task 2018-12-12T06:34:47.324Z] 06:34:47     INFO - TEST-START | js/xpconnect/tests/mochitest/test_getweakmapkeys.html
[task 2018-12-12T06:34:47.463Z] 06:34:47     INFO - GECKO(1799) | ++DOMWINDOW == 14 (0xe5a0b000) [pid = 1894] [serial = 266] [outer = 0xe869a6c0]
[task 2018-12-12T06:34:47.633Z] 06:34:47     INFO - GECKO(1799) | WeakMap value is less marked than map and key
[task 2018-12-12T06:34:47.634Z] 06:34:47     INFO - GECKO(1799) | (map 0xe67d59c0 is black, key 0xe655f250 is black, value 0xe7d8fe20 is white)
[task 2018-12-12T06:34:47.635Z] 06:34:47     INFO - GECKO(1799) | WeakMap value is less marked than map and key
[task 2018-12-12T06:34:47.635Z] 06:34:47     INFO - GECKO(1799) | (map 0xe67d59c0 is black, key 0xe655f280 is black, value 0xe7d8fe08 is white)
[task 2018-12-12T06:34:47.636Z] 06:34:47     INFO - GECKO(1799) | Assertion failure: WeakMapBase::checkMarkingForZone(zone), at /builds/worker/workspace/build/src/js/src/gc/GC.cpp:5234
[task 2018-12-12T06:34:47.753Z] 06:34:47     INFO - GECKO(1799) | [Parent 1799, Gecko_IOThread] WARNING: pipe error (87): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 349
[task 2018-12-12T06:34:47.753Z] 06:34:47     INFO - GECKO(1799) | ###!!! [Parent][MessageChannel] Error: (msgtype=0x1E0086,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv
[task 2018-12-12T06:34:47.774Z] 06:34:47     INFO - GECKO(1799) | ++DOCSHELL 0xe0bd4800 == 7 [pid = 1799] [id = {d20aedb6-682c-4879-a287-ea27d5ff0cf6}]
Component: XPConnect → JavaScript: GC
Summary: Intermittent PROCESS-CRASH | Main app process exited normally | application crashed [@ libxul.so + 0x4acd7a1] after GECKO(1799) | Assertion failure: WeakMapBase::checkMarkingForZone(zone), at /builds/worker/workspace/build/src/js/src/gc/GC.cpp:5234 → Intermittent Assertion failure: WeakMapBase::checkMarkingForZone(zone), at /builds/worker/workspace/build/src/js/src/gc/GC.cpp:5234
Assignee: nobody → jcoppeard
This is happening because weak map values can be atoms and if we are not collecting the atoms zone then it's OK for these to be unmarked.
Attachment #9030803 - Flags: review?(sphink)
Comment on attachment 9030803 [details] [diff] [review]
bug1513465-weak-map-check

Review of attachment 9030803 [details] [diff] [review]:
-----------------------------------------------------------------

Bleh. These things can never be simple, can they?
Attachment #9030803 - Flags: review?(sphink) → review+
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/247e265373eb
Fix bug in weak map checking where values are atoms and we aren't collecting the atoms zone r=sfink
https://hg.mozilla.org/mozilla-central/rev/247e265373eb
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Depends on: 1514189
Regressions: 1543014
Flags: needinfo?(jcoppeard)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: