Open Bug 1906648 Opened 1 year ago Updated 1 year ago

Intermittent Assertion failure: (detail::IsInBounds<From, To>(aFrom)), at /builds/worker/workspace/obj-build/dist/include/mozilla/Casting.h:183

Categories

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

defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox128 --- unaffected
firefox129 --- unaffected
firefox130 --- affected

People

(Reporter: intermittent-bug-filer, Assigned: padenot, NeedInfo)

References

(Regression)

Details

(5 keywords)

Attachments

(1 file)

Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=465443029&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cqZq87EyQDWi0aYlc6YPfQ/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cqZq87EyQDWi0aYlc6YPfQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2024-07-08T12:11:33.610Z] 12:11:33     INFO - REFTEST TEST-START | dom/media/test/crashtests/1903669.html
[task 2024-07-08T12:11:33.610Z] 12:11:33     INFO - REFTEST TEST-LOAD | file:///D:/task_172043880941567/build/tests/reftest/tests/dom/media/test/crashtests/1903669.html | 0 / 1 (0%)
[task 2024-07-08T12:11:33.672Z] 12:11:33     INFO - [6756] Assertion failure: (detail::IsInBounds<From, To>(aFrom)), at /builds/worker/workspace/obj-build/dist/include/mozilla/Casting.h:183
[task 2024-07-08T12:11:33.787Z] 12:11:33     INFO -  Initializing stack-fixing for the first stack frame, this may take a while...
[task 2024-07-08T12:11:54.791Z] 12:11:54     INFO - #01: mozilla::MediaFormatReader::GetDebugInfo(mozilla::dom::MediaFormatReaderDebugInfo&) [dom/media/MediaFormatReader.cpp:3397]
[task 2024-07-08T12:11:54.796Z] 12:11:54     INFO - #02: mozilla::MediaFormatReader::RequestDebugInfo(mozilla::dom::MediaFormatReaderDebugInfo&) [dom/media/MediaFormatReader.cpp:3297]
[task 2024-07-08T12:11:54.796Z] 12:11:54     INFO - #03: mozilla::detail::ProxyFunctionRunnable<`lambda at /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:3292:24',mozilla::MozPromise<bool,nsresult,1> >::Run() [xpcom/threads/MozPromise.h:1814]
[task 2024-07-08T12:11:54.797Z] 12:11:54     INFO - #04: mozilla::AutoTaskDispatcher::TaskGroupRunnable::Run() [xpcom/threads/TaskDispatcher.h:233]
[task 2024-07-08T12:11:54.797Z] 12:11:54     INFO - #05: mozilla::TaskQueue::Runner::Run() [xpcom/threads/TaskQueue.cpp:264]
[task 2024-07-08T12:11:54.798Z] 12:11:54     INFO - #06: nsThreadPool::Run() [xpcom/threads/nsThreadPool.cpp:458]
[task 2024-07-08T12:11:54.798Z] 12:11:54     INFO - #07: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1199]
[task 2024-07-08T12:11:54.799Z] 12:11:54     INFO - #08: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:480]
[task 2024-07-08T12:11:54.799Z] 12:11:54     INFO - #09: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:300]
[task 2024-07-08T12:11:54.800Z] 12:11:54     INFO - #10: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:370]
[task 2024-07-08T12:11:54.800Z] 12:11:54     INFO - #11: MessageLoop::RunHandler() [ipc/chromium/src/base/message_loop.cc:364]
[task 2024-07-08T12:11:54.801Z] 12:11:54     INFO - #12: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:346]
[task 2024-07-08T12:11:54.801Z] 12:11:54     INFO - #13: nsThread::ThreadFunc(void*) [xpcom/threads/nsThread.cpp:372]
[task 2024-07-08T12:11:54.963Z] 12:11:54     INFO - #14: _PR_NativeRunThread(void*) [nsprpub/pr/src/threads/combined/pruthr.c:399]
[task 2024-07-08T12:11:54.979Z] 12:11:54     INFO - #15: pr_root(void*) [nsprpub/pr/src/md/windows/w95thred.c:139]
[task 2024-07-08T12:11:54.981Z] 12:11:54     INFO -  fix-stacks: error: failed to read debug info file `ucrtbase.pdb` for `C:\Windows\System32\ucrtbase.dll`
[task 2024-07-08T12:11:54.981Z] 12:11:54     INFO -  fix-stacks: note: this is expected and harmless for all PDB files on opt automation runs
[task 2024-07-08T12:11:54.982Z] 12:11:54     INFO -  fix-stacks: The system cannot find the file specified. (os error 2)
[task 2024-07-08T12:11:54.983Z] 12:11:54     INFO - #16: time32 [C:\Windows\System32\ucrtbase.dll + 0x459e3]
[task 2024-07-08T12:11:54.985Z] 12:11:54     INFO -  fix-stacks: error: failed to read debug info file `wkernel32.pdb` for `C:\Windows\System32\KERNEL32.DLL`
[task 2024-07-08T12:11:54.985Z] 12:11:54     INFO -  fix-stacks: note: this is expected and harmless for all PDB files on opt automation runs
[task 2024-07-08T12:11:54.985Z] 12:11:54     INFO -  fix-stacks: The system cannot find the file specified. (os error 2)
[task 2024-07-08T12:11:54.986Z] 12:11:54     INFO - #17: BaseThreadInitThunk [C:\Windows\System32\KERNEL32.DLL + 0x17ba9]
[task 2024-07-08T12:11:55.057Z] 12:11:55     INFO - #18: mozilla::interceptor::WindowsDllInterceptor<mozilla::interceptor::VMSharingPolicyShared>::Init<10>(const char[10]&) [toolkit/xre/dllservices/mozglue/nsWindowsDllInterceptor.h:335]
[task 2024-07-08T12:11:55.076Z] 12:11:55     INFO -  fix-stacks: error: failed to read debug info file `wntdll.pdb` for `C:\Windows\SYSTEM32\ntdll.dll`
[task 2024-07-08T12:11:55.076Z] 12:11:55     INFO -  fix-stacks: note: this is expected and harmless for all PDB files on opt automation runs
[task 2024-07-08T12:11:55.076Z] 12:11:55     INFO -  fix-stacks: The system cannot find the file specified. (os error 2)
[task 2024-07-08T12:11:55.077Z] 12:11:55     INFO - #19: RtlInitializeExceptionChain [C:\Windows\SYSTEM32\ntdll.dll + 0x6c10b]
[task 2024-07-08T12:11:55.077Z] 12:11:55     INFO - #20: RtlClearBits [C:\Windows\SYSTEM32\ntdll.dll + 0x6c08f]
[task 2024-07-08T12:11:55.078Z] 12:11:55     INFO - [Parent 7072, IPC I/O Parent] WARNING: Call to Send() failed: file /builds/worker/checkouts/gecko/ipc/glue/NodeChannel.cpp:199
[task 2024-07-08T12:11:55.078Z] 12:11:55     INFO - [Parent 7072, IPC I/O Parent] WARNING: [1.1]: Dropping message '<null>'; no connection to unknown peer CDF38149B8D8EE9C.840477071540667C: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:365
[task 2024-07-08T12:11:55.079Z] 12:11:55     INFO - [Parent 7072, ProcessHangMon] WARNING: IPC message 'PProcessHangMonitor::Msg_RequestContentJSInterrupt' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:551
[task 2024-07-08T12:11:55.079Z] 12:11:55     INFO - [Parent 7072, Main Thread] WARNING: IPC message 'PBrowser::Msg_StopIMEStateManagement' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:551
[task 2024-07-08T12:11:55.080Z] 12:11:55     INFO - [Parent 7072, Main Thread] WARNING: IPC message 'PBrowser::Msg_UpdateNativeWindowHandle' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:551
[task 2024-07-08T12:11:55.080Z] 12:11:55     INFO - [Parent 7072, Main Thread] WARNING: IPC message 'PBrowser::Msg_Destroy' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:551
[task 2024-07-08T12:11:55.081Z] 12:11:55     INFO - [Parent 7072, Main Thread] WARNING: No build ID mismatch: file /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:3743
[task 2024-07-08T12:11:55.081Z] 12:11:55    ERROR - A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
[task 2024-07-08T12:11:55.082Z] 12:11:55     INFO - 1720440694576	Marionette	TRACE	Received observer notification quit-application
[task 2024-07-08T12:11:55.082Z] 12:11:55     INFO - 1720440694577	Marionette	INFO	Stopped listening on port 2828
[task 2024-07-08T12:11:55.083Z] 12:11:55     INFO - 1720440694578	Marionette	DEBUG	Marionette stopped listening
[task 2024-07-08T12:11:55.084Z] 12:11:55     INFO - [Parent 7072, Socket Thread] WARNING: cannot post event if not initialized: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:240
[task 2024-07-08T12:11:55.084Z] 12:11:55     INFO - [Parent 7072, Socket Thread] WARNING: cannot post event if not initialized: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:240
[task 2024-07-08T12:11:55.085Z] 12:11:55     INFO - !!! error running onStopped callback: TypeError: callback is not a function
[task 2024-07-08T12:11:55.085Z] 12:11:55     INFO - [Parent 7072, Main Thread] WARNING: Not resolving response 'PContent::Reply_GetModulesTrust': actor is dead: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:853
[task 2024-07-08T12:11:55.086Z] 12:11:55     INFO - [Parent 7072, Main Thread] WARNING: BlockShutdown: Init failed: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/bouncetrackingprotection/BounceTrackingProtectionStorage.cpp:302
[task 2024-07-08T12:11:55.086Z] 12:11:55     INFO - [Parent 7072, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: startCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2247

:padenot, since you are the author of the regressor, bug 1903669, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(padenot)

It is failing on tier 1 jobs

Summary: Intermittent TV Assertion failure: (detail::IsInBounds<From, To>(aFrom)), at /builds/worker/workspace/obj-build/dist/include/mozilla/Casting.h:183 → Intermittent Assertion failure: (detail::IsInBounds<From, To>(aFrom)), at /builds/worker/workspace/obj-build/dist/include/mozilla/Casting.h:183

Thanks for the ping, looking at it now.

Assignee: nobody → padenot
Flags: needinfo?(padenot)
Keywords: leave-open

I haven't been successful in reproducing this locally, it should all become clear with this new debugging facility, that will be useful for everybody anyway.

Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c5a03d45831a Print why an AssertedCast failed when in debug. r=nbp

Backed out for causing multiple build bustages.



Flags: needinfo?(padenot)
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/63dd38d03f91 Print why an AssertedCast failed when in debug. r=nbp
Regressions: 1907386
Regressions: 1907493
Depends on: 1907946

From a failure log:
AssertedCast error: Cannot cast 18446744073709551615 from uint64_t to int32_t: out of range

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: