Closed Bug 1829166 Opened 2 years ago Closed 1 years ago

High freq linux tsan wpt /infrastructure/server SUMMARY: ThreadSanitizer: SEGV /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:884:48 in get

Categories

(Core :: DOM: Streams, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1831614
Tracking Status
firefox-esr102 --- unaffected
firefox112 --- unaffected
firefox113 --- unaffected
firefox114 --- fixed
firefox115 --- fixed

People

(Reporter: abutkovits, Assigned: saschanaz)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Crash Data

Summary: Almost perma wpt /infrastructure/server/<test> | <something> → Almost perma wpt /infrastructure/server/<test> | <something> when Gecko 114 merges to Beta on 2023-05-08

Snippet from this log:

[task 2023-04-20T12:37:58.866Z] 12:37:58     INFO - TEST-START | /infrastructure/server/wpt-server-wpt-flags.sub.html?wpt_flags=h2
[task 2023-04-20T12:37:58.866Z] 12:37:58     INFO - Setting pref network.webtransport.enabled to false
[task 2023-04-20T12:37:58.884Z] 12:37:58     INFO - PID 7040 | ThreadSanitizer:DEADLYSIGNAL
[task 2023-04-20T12:37:58.886Z] 12:37:58     INFO - PID 7040 | ==7996==ERROR: ThreadSanitizer: SEGV on unknown address 0x000000000028 (pc 0x7ff25d3843bf bp 0x7b20000834d2 sp 0x7ffff8528410 T7996)
[task 2023-04-20T12:37:58.887Z] 12:37:58     INFO - PID 7040 | ==7996==The signal is caused by a READ memory access.
[task 2023-04-20T12:37:58.888Z] 12:37:58     INFO - PID 7040 | ==7996==Hint: address points to the zero page.
[task 2023-04-20T12:37:58.895Z] 12:37:58     INFO - Setting pref network.webtransport.datagrams.enabled to false
[task 2023-04-20T12:37:58.916Z] 12:37:58     INFO - Setting pref security.OCSP.enabled to 0
[task 2023-04-20T12:37:58.954Z] 12:37:58     INFO - Setting pref network.webtransport.enabled to true
[task 2023-04-20T12:37:58.991Z] 12:37:58     INFO - Setting pref network.webtransport.datagrams.enabled to true
[task 2023-04-20T12:37:59.035Z] 12:37:59     INFO - Setting pref security.OCSP.enabled to 0
[task 2023-04-20T12:37:59.065Z] 12:37:59     INFO - Closing window 95d07261-eab8-4abc-9be8-cb9db8e877a1
[task 2023-04-20T12:37:59.281Z] 12:37:59     INFO - PID 7040 |     #0 get /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:884:48 (libxul.so+0x8c7f3bf) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.289Z] 12:37:59     INFO - PID 7040 |     #1 operator nsIGlobalObject * /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:892:33 (libxul.so+0x8c7f3bf)
[task 2023-04-20T12:37:59.289Z] 12:37:59     INFO - PID 7040 |     #2 GetParentObject /builds/worker/workspace/obj-build/dist/include/mozilla/dom/ReadableStream.h:182:53 (libxul.so+0x8c7f3bf)
[task 2023-04-20T12:37:59.289Z] 12:37:59     INFO - PID 7040 |     #3 mozilla::dom::InputToReadableStreamAlgorithms::OnInputStreamReady(nsIAsyncInputStream*) /builds/worker/checkouts/gecko/dom/streams/UnderlyingSourceCallbackHelpers.cpp:250:32 (libxul.so+0x8c7f3bf)
[task 2023-04-20T12:37:59.289Z] 12:37:59     INFO - PID 7040 |     #4 mozilla::dom::InputStreamHolder::OnInputStreamReady(nsIAsyncInputStream*) /builds/worker/checkouts/gecko/dom/streams/UnderlyingSourceCallbackHelpers.cpp:205:23 (libxul.so+0x8c7f326) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.289Z] 12:37:59     INFO - PID 7040 |     #5 operator() /builds/worker/checkouts/gecko/ipc/glue/DataPipe.cpp:660:35 (libxul.so+0x4e0c44d) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.289Z] 12:37:59     INFO - PID 7040 |     #6 already_AddRefed<mozilla::CancelableRunnable> NS_NewCancelableRunnableFunction<mozilla::ipc::DataPipeReceiver::AsyncWait(nsIInputStreamCallback*, unsigned int, unsigned int, nsIEventTarget*)::$_0>(char const*, mozilla::ipc::DataPipeReceiver::AsyncWait(nsIInputStreamCallback*, unsigned int, unsigned int, nsIEventTarget*)::$_0&&)::FuncCancelableRunnable::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:667:9 (libxul.so+0x4e0c44d)
[task 2023-04-20T12:37:59.289Z] 12:37:59     INFO - PID 7040 |     #7 mozilla::RunnableTask::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:555:16 (libxul.so+0x41159f2) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.289Z] 12:37:59     INFO - PID 7040 |     #8 mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:879:26 (libxul.so+0x41138fe) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.290Z] 12:37:59     INFO - PID 7040 |     #9 mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:702:15 (libxul.so+0x4112056) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.290Z] 12:37:59     INFO - PID 7040 |     #10 mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:491:36 (libxul.so+0x411244f) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.290Z] 12:37:59     INFO - PID 7040 |     #11 operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:218:37 (libxul.so+0x4117b14) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.290Z] 12:37:59     INFO - PID 7040 |     #12 mozilla::detail::RunnableFunction<mozilla::TaskController::TaskController()::$_0>::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:548:5 (libxul.so+0x4117b14)
[task 2023-04-20T12:37:59.290Z] 12:37:59     INFO - PID 7040 |     #13 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1239:16 (libxul.so+0x412e238) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.290Z] 12:37:59     INFO - PID 7040 |     #14 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:479:10 (libxul.so+0x4134cb6) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.290Z] 12:37:59     INFO - PID 7040 |     #15 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85:21 (libxul.so+0x4e2a8fe) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.291Z] 12:37:59     INFO - PID 7040 |     #16 mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:268:30 (libxul.so+0x4e2b37b) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.291Z] 12:37:59     INFO - PID 7040 |     #17 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:369:10 (libxul.so+0x4d436e8) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.292Z] 12:37:59     INFO - PID 7040 |     #18 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:362:3 (libxul.so+0x4d436e8)
[task 2023-04-20T12:37:59.292Z] 12:37:59     INFO - PID 7040 |     #19 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:344:3 (libxul.so+0x4d436e8)
[task 2023-04-20T12:37:59.293Z] 12:37:59     INFO - PID 7040 |     #20 nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:148:27 (libxul.so+0x9124933) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.294Z] 12:37:59     INFO - PID 7040 |     #21 XRE_RunAppShell() /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:738:20 (libxul.so+0xb9af27d) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.294Z] 12:37:59     INFO - PID 7040 |     #22 mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:235:9 (libxul.so+0x4e2b32a) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.295Z] 12:37:59     INFO - PID 7040 |     #23 RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:369:10 (libxul.so+0x4d436e8) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.295Z] 12:37:59     INFO - PID 7040 |     #24 RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:362:3 (libxul.so+0x4d436e8)
[task 2023-04-20T12:37:59.296Z] 12:37:59     INFO - PID 7040 |     #25 MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:344:3 (libxul.so+0x4d436e8)
[task 2023-04-20T12:37:59.297Z] 12:37:59     INFO - PID 7040 |     #26 XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:673:34 (libxul.so+0xb9aef5d) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.298Z] 12:37:59     INFO - PID 7040 |     #27 mozilla::BootstrapImpl::XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:67:12 (libxul.so+0xb9bb1f2) (BuildId: 0fd0571879c2f2c34b38deb0bf76d7dbe8a43333)
[task 2023-04-20T12:37:59.299Z] 12:37:59     INFO - PID 7040 |     #28 content_process_main /builds/worker/checkouts/gecko/browser/app/../../ipc/contentproc/plugin-container.cpp:57:28 (firefox-bin+0x134111) (BuildId: 8d8670d3544fc3a93dac0d3c7e0fb15931e8fb66)
[task 2023-04-20T12:37:59.303Z] 12:37:59     INFO - PID 7040 |     #29 main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:375:18 (firefox-bin+0x134111)
[task 2023-04-20T12:37:59.304Z] 12:37:59     INFO - PID 7040 |     #30 __libc_start_main /tmp/glibc/csu/../csu/libc-start.c:310 (libc.so.6+0x21b96) (BuildId: 3247775c25514939b9a5ffa9d3be63f3a4cb9641)
[task 2023-04-20T12:37:59.305Z] 12:37:59     INFO - PID 7040 |     #31 _start <null> (firefox-bin+0x7e118) (BuildId: 8d8670d3544fc3a93dac0d3c7e0fb15931e8fb66)
[task 2023-04-20T12:37:59.305Z] 12:37:59     INFO - PID 7040 | ThreadSanitizer can not provide additional info.
[task 2023-04-20T12:37:59.306Z] 12:37:59     INFO - PID 7040 | SUMMARY: ThreadSanitizer: SEGV /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:884:48 in get

Bug 1828973 set user_pref("security.OCSP.enabled", 0); globally for wpt tests but unknown why only central-as-beta simulations are affected.

Component: web-platform-tests → DOM: Streams
Flags: needinfo?(jmarshall)
Product: Testing → Core
Summary: Almost perma wpt /infrastructure/server/<test> | <something> when Gecko 114 merges to Beta on 2023-05-08 → High freq linux tsan wpt /infrastructure/server SUMMARY: ThreadSanitizer: SEGV /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:884:48 in get
See Also: → 1829022
Flags: needinfo?(jmarshall)
Assignee: nobody → krosylight
Severity: -- → S3
Priority: -- → P3
Duplicate of this bug: 1828650
Duplicate of this bug: 1829022

Copying crash signatures from duplicate bugs.

Crash Signature: [@ nsCOMPtr<nsIGlobalObject>::get]

Update

There have been 43 failures within the last 7 days:

  • 35 failures on Linux 18.04 x64 WebRender asan opt
  • 1 failure on Linux 18.04 x64 WebRender opt
  • 1 failure on Linux 18.04 x64 WebRender Shippable opt
  • 6 failures on Linux 18.04 x64 WebRender tsan opt

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=414806785&repo=autoland&lineNumber=2039

Whiteboard: [stockwell needswork:owner]

:jesup has a patch in bug 1831614 which may fix the crash here too.

See Also: → 1831614
Duplicate of this bug: 1829961

Set release status flags based on info from the regressing bug 1823556

No more failures since Bug 1831614 reached central, let's see how the next days go.

Whiteboard: [stockwell disable-recommended]

Closing since we are not seeing any relevant failures anymore.

Status: NEW → RESOLVED
Closed: 1 years ago
Duplicate of bug: 1831614
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.