Assertion failure: !stats.opt_randomize_small (Content process should not randomize small allocations), at /builds/worker/checkouts/gecko/dom/ipc/ContentChild.cpp:812
Categories
(Core :: DOM: Content Processes, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr128 | --- | unaffected |
| firefox131 | --- | unaffected |
| firefox132 | --- | unaffected |
| firefox133 | --- | fixed |
People
(Reporter: whimboo, Assigned: gerard-majax)
References
Details
(Keywords: regression)
Seen in the following Android emulator log and as a result the currently active tab died:
https://firefoxci.taskcluster-artifacts.net/MHl9kFgXRbyD_P11pjXsCg/0/public/test_info/logcat-emulator-5554.log
10-16 21:41:03.311 15507 15522 F MOZ_Assert: [15507] Assertion failure: !stats.opt_randomize_small (Content process should not randomize small allocations), at /builds/worker/checkouts/gecko/dom/ipc/ContentChild.cpp:812
10-16 21:41:03.311 15507 15522 F MOZ_Assert: #01: ???[/data/app/org.mozilla.geckoview.test_runner-1/lib/x86_64/libxul.so +0x83309a2]
10-16 21:41:03.311 15507 15522 F MOZ_Assert:
10-16 21:41:03.311 15507 15522 F MOZ_Assert: #02: ???[/data/app/org.mozilla.geckoview.test_runner-1/lib/x86_64/libxul.so +0x83af10c]
10-16 21:41:03.311 15507 15522 F MOZ_Assert:
10-16 21:41:03.311 15507 15522 F MOZ_Assert: #03: ???[/data/app/org.mozilla.geckoview.test_runner-1/lib/x86_64/libxul.so +0x83aeb69]
10-16 21:41:03.311 15507 15522 F MOZ_Assert:
10-16 21:41:03.311 15507 15522 F MOZ_Assert: #04: ???[/data/app/org.mozilla.geckoview.test_runner-1/lib/x86_64/libxul.so +0x99bbda1]
10-16 21:41:03.311 15507 15522 F MOZ_Assert:
10-16 21:41:03.311 15507 15522 F MOZ_Assert: #05: Java_org_mozilla_gecko_mozglue_GeckoLoader_nativeRun[/data/app/org.mozilla.geckoview.test_runner-1/lib/x86_64/libmozglue.so +0xa8d20]
10-16 21:41:03.311 15507 15522 F MOZ_Assert:
10-16 21:41:03.322 15475 15543 W minidump_writer::linux::sections::mappings: failed to get build id for mapping: Could not read value from module
[..]
10-16 21:41:03.349 15475 15543 W minidump_writer::linux::sections::mappings: failed to get build id for mapping: Could not read value from module
10-16 21:41:03.373 15545 15573 W webrender::device::gl: Missing optimized shader source for gpu_cache_update
10-16 21:41:03.374 15475 15496 I Gecko : [Parent 15475, IPC I/O Parent] WARNING: [1.1]: Dropping message '<null>'; no connection to unknown peer F0A984FD68172AAA.DBA83E33A2B0799A: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:364
10-16 21:41:03.374 1659 1671 I ActivityManager: Process org.mozilla.geckoview.test_runner:tab1 (pid 15507) has died
Comment 1•2 years ago
|
||
was it already removed?
https://searchfox.org/mozilla-central/search?q=opt_randomize_small&path=&case=false®exp=false
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
It should have been fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1925181 already
| Reporter | ||
Comment 3•2 years ago
|
||
(In reply to :gerard-majax from comment #2)
It should have been fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1925181 already
So the task I was referring to was actually running 6 days ago. As such your patch on bug 1925181 could have fixed it. I've no specific test to run to verify it.
Could we leave the bug open until Monday next week when I check all the intermittent bugs again?
| Reporter | ||
Comment 4•2 years ago
|
||
I actually checked your patch and saw the following change:
-#if defined(MOZ_MEMORY) && defined(DEBUG) && !defined(ANDROID)
+#if defined(MOZ_MEMORY) && defined(DEBUG)
Doesn't it mean that we still run this code block where the assertion is actually raised? Let me know if I'm wrong. Thanks.
| Assignee | ||
Comment 5•2 years ago
|
||
(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #4)
I actually checked your patch and saw the following change:
-#if defined(MOZ_MEMORY) && defined(DEBUG) && !defined(ANDROID) +#if defined(MOZ_MEMORY) && defined(DEBUG)Doesn't it mean that we still run this code block where the assertion is actually raised? Let me know if I'm wrong. Thanks.
But we do the correct thing wrt randomization: https://searchfox.org/mozilla-central/rev/dfc3050503739883ce6d17e8365bc35410106aba/mozglue/android/APKOpen.cpp#407-409,439-440
| Assignee | ||
Comment 6•2 years ago
|
||
(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #3)
(In reply to :gerard-majax from comment #2)
It should have been fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1925181 already
So the task I was referring to was actually running 6 days ago. As such your patch on bug 1925181 could have fixed it. I've no specific test to run to verify it.
Could we leave the bug open until Monday next week when I check all the intermittent bugs again?
Six days ago on autoland, central is green on android wdspec since we relanded the correct fix, so I'm not sure there's really value in keeping this bug open, it's fixed
Comment 7•2 years ago
|
||
This bug has been marked as a regression. Setting status flag for Nightly to affected.
| Reporter | ||
Comment 8•2 years ago
|
||
Well, I don't know this code. So when you are saying this is fixed then lets mark it as such. I can reopen if I still see the issue with more recent versions.
Updated•2 years ago
|
Description
•