Closed Bug 1693804 Opened 4 years ago Closed 3 years ago

Compositing crash on test-linux1804-64-qr/debug-mochitest-media-e10s mda1

Categories

(Core :: Graphics: WebRender, defect, P3)

Desktop
Linux
defect

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: aosmond, Assigned: bwc, NeedInfo)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files)

Attached file mda1.zip (deleted) —

Same crash seen on a few different mda1 jobs, disabling them seems to make it stop happening:

https://treeherder.mozilla.org/logviewer?job_id=330400899&repo=try
https://treeherder.mozilla.org/logviewer?job_id=330404132&repo=try
https://treeherder.mozilla.org/logviewer?job_id=330416672&repo=try

We should get to the bottom of it. I've attached the raw logs to the bug since the try logs won't last very long.

[task 2021-02-18T17:32:33.877Z] 17:32:33     INFO - PROCESS-CRASH | dom/media/webrtc/tests/mochitests/test_peerConnection_replaceTrack_disabled.html | application crashed [@ libc.so.6 + 0x3ef47]
[task 2021-02-18T17:32:33.878Z] 17:32:33     INFO - Crash dump filename: /tmp/tmpgWCnj7.mozrunner/minidumps/4c1f5859-bfe7-8c0d-07dc-e266d4915e5f.dmp
[task 2021-02-18T17:32:33.879Z] 17:32:33     INFO - Operating system: Linux
[task 2021-02-18T17:32:33.879Z] 17:32:33     INFO -                   0.0.0 Linux 4.4.0-1014-aws #14taskcluster1-Ubuntu SMP Tue Apr 3 10:27:00 UTC 2018 x86_64
[task 2021-02-18T17:32:33.879Z] 17:32:33     INFO - CPU: amd64
[task 2021-02-18T17:32:33.880Z] 17:32:33     INFO -      family 6 model 85 stepping 4
[task 2021-02-18T17:32:33.880Z] 17:32:33     INFO -      2 CPUs
[task 2021-02-18T17:32:33.881Z] 17:32:33     INFO - 
[task 2021-02-18T17:32:33.881Z] 17:32:33     INFO - GPU: UNKNOWN
[task 2021-02-18T17:32:33.882Z] 17:32:33     INFO - 
[task 2021-02-18T17:32:33.882Z] 17:32:33     INFO - Crash reason:  SIGABRT
[task 2021-02-18T17:32:33.883Z] 17:32:33     INFO - Crash address: 0x3e800000e58
[task 2021-02-18T17:32:33.883Z] 17:32:33     INFO - Process uptime: not available
[task 2021-02-18T17:32:33.883Z] 17:32:33     INFO - 
[task 2021-02-18T17:32:33.884Z] 17:32:33     INFO - Thread 12 (crashed)
[task 2021-02-18T17:32:33.884Z] 17:32:33     INFO -  0  libc.so.6 + 0x3ef47
[task 2021-02-18T17:32:33.885Z] 17:32:33     INFO -     rax = 0x0000000000000000   rdx = 0x0000000000000000
[task 2021-02-18T17:32:33.885Z] 17:32:33     INFO -     rcx = 0x00007f298dd2ff47   rbx = 0x0000000000000000
[task 2021-02-18T17:32:33.885Z] 17:32:33     INFO -     rsi = 0x00007f296ed79dc0   rdi = 0x0000000000000002
[task 2021-02-18T17:32:33.886Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed79dc0
[task 2021-02-18T17:32:33.886Z] 17:32:33     INFO -      r8 = 0x0000000000000000    r9 = 0x00007f296ed79dc0
[task 2021-02-18T17:32:33.887Z] 17:32:33     INFO -     r10 = 0x0000000000000008   r11 = 0x0000000000000246
[task 2021-02-18T17:32:33.887Z] 17:32:33     INFO -     r12 = 0x00007f297a03db95   r13 = 0x00007f2979e09bca
[task 2021-02-18T17:32:33.887Z] 17:32:33     INFO -     r14 = 0x000000000000027e   r15 = 0x00007f2970f16000
[task 2021-02-18T17:32:33.888Z] 17:32:33     INFO -     rip = 0x00007f298dd2ff47
[task 2021-02-18T17:32:33.888Z] 17:32:33     INFO -     Found by: given as instruction pointer in context
[task 2021-02-18T17:32:33.889Z] 17:32:33     INFO -  1  libc.so.6 + 0x886af
[task 2021-02-18T17:32:33.889Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed79de0
[task 2021-02-18T17:32:33.889Z] 17:32:33     INFO -     rip = 0x00007f298dd796af
[task 2021-02-18T17:32:33.890Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.890Z] 17:32:33     INFO -  2  libc.so.6 + 0x408b1
[task 2021-02-18T17:32:33.891Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed79ee0
[task 2021-02-18T17:32:33.891Z] 17:32:33     INFO -     rip = 0x00007f298dd318b1
[task 2021-02-18T17:32:33.891Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.892Z] 17:32:33     INFO -  3  memfd:mozilla-ipc (deleted) + 0x1000
[task 2021-02-18T17:32:33.892Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed79fd0
[task 2021-02-18T17:32:33.892Z] 17:32:33     INFO -     rip = 0x00007f2970f16000
[task 2021-02-18T17:32:33.893Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.893Z] 17:32:33     INFO -  4  firefox-bin!replace_free(void*) [PHC.cpp:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 1317 + 0x27]
[task 2021-02-18T17:32:33.894Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed79fe0
[task 2021-02-18T17:32:33.894Z] 17:32:33     INFO -     rip = 0x0000559a7f280702
[task 2021-02-18T17:32:33.894Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.895Z] 17:32:33     INFO -  5  libc.so.6 + 0x1b7a38
[task 2021-02-18T17:32:33.895Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a008
[task 2021-02-18T17:32:33.895Z] 17:32:33     INFO -     rip = 0x00007f298dea8a38
[task 2021-02-18T17:32:33.896Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.896Z] 17:32:33     INFO -  6  libc.so.6 + 0x3042a
[task 2021-02-18T17:32:33.897Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a010
[task 2021-02-18T17:32:33.897Z] 17:32:33     INFO -     rip = 0x00007f298dd2142a
[task 2021-02-18T17:32:33.897Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.898Z] 17:32:33     INFO -  7  libc.so.6 + 0x304a2
[task 2021-02-18T17:32:33.898Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a060
[task 2021-02-18T17:32:33.899Z] 17:32:33     INFO -     rip = 0x00007f298dd214a2
[task 2021-02-18T17:32:33.899Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.899Z] 17:32:33     INFO -  8  memfd:mozilla-ipc (deleted) + 0x1000
[task 2021-02-18T17:32:33.900Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a088
[task 2021-02-18T17:32:33.900Z] 17:32:33     INFO -     rip = 0x00007f2970f16000
[task 2021-02-18T17:32:33.901Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.901Z] 17:32:33     INFO -  9  libxul.so!Texture::set_buffer(void*, unsigned long) [gl.cc:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 638 + 0x1f]
[task 2021-02-18T17:32:33.901Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a090
[task 2021-02-18T17:32:33.902Z] 17:32:33     INFO -     rip = 0x00007f2982b70422
[task 2021-02-18T17:32:33.902Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.902Z] 17:32:33     INFO - 10  libxul.so!set_tex_storage(Texture&, unsigned int, int, int, void*, int, int, int) [gl.cc:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 1912 + 0xe]
[task 2021-02-18T17:32:33.902Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a0c0
[task 2021-02-18T17:32:33.902Z] 17:32:33     INFO -     rip = 0x00007f2982b62643
[task 2021-02-18T17:32:33.902Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.902Z] 17:32:33     INFO - 11  libxul.so!swgl::swgl_fns::Context::set_texture_buffer [swgl_fns.rs:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 456 + 0x14]
[task 2021-02-18T17:32:33.902Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a110
[task 2021-02-18T17:32:33.902Z] 17:32:33     INFO -     rip = 0x00007f2982b5a159
[task 2021-02-18T17:32:33.903Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.903Z] 17:32:33     INFO - 12  libxul.so!wr_swgl_set_texture_buffer [swgl_bindings.rs:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 69 + 0x31]
[task 2021-02-18T17:32:33.904Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a130
[task 2021-02-18T17:32:33.904Z] 17:32:33     INFO -     rip = 0x00007f298281340d
[task 2021-02-18T17:32:33.904Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.904Z] 17:32:33     INFO - 13  memfd:mozilla-ipc (deleted) + 0x1000
[task 2021-02-18T17:32:33.904Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a138
[task 2021-02-18T17:32:33.904Z] 17:32:33     INFO -     rip = 0x00007f2970f16000
[task 2021-02-18T17:32:33.904Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.905Z] 17:32:33     INFO - 14  libxul.so!wr_swgl_set_texture_buffer [swgl_bindings.rs:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 69 + 0x6]
[task 2021-02-18T17:32:33.905Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a150
[task 2021-02-18T17:32:33.905Z] 17:32:33     INFO -     rip = 0x00007f29828133e2
[task 2021-02-18T17:32:33.905Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.905Z] 17:32:33     INFO - 15  libxul.so!mozilla::wr::RenderTextureHostSWGL::UpdatePlanes(mozilla::wr::RenderCompositor*, mozilla::wr::ImageRendering) [RenderTextureHostSWGL.cpp:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 71 + 0x12]
[task 2021-02-18T17:32:33.905Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a190
[task 2021-02-18T17:32:33.905Z] 17:32:33     INFO -     rip = 0x00007f297df9020c
[task 2021-02-18T17:32:33.906Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.906Z] 17:32:33     INFO - 16  memfd:mozilla-ipc (deleted) + 0x1000
[task 2021-02-18T17:32:33.906Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a198
[task 2021-02-18T17:32:33.906Z] 17:32:33     INFO -     rip = 0x00007f2970f16000
[task 2021-02-18T17:32:33.907Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.907Z] 17:32:33     INFO - 17  libxul.so!mozilla::wr::RenderTextureHostSWGL::UpdatePlanes(mozilla::wr::RenderCompositor*, mozilla::wr::ImageRendering) [RenderTextureHostSWGL.cpp:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 31 + 0x15]
[task 2021-02-18T17:32:33.907Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a1b0
[task 2021-02-18T17:32:33.907Z] 17:32:33     INFO -     rip = 0x00007f297df90166
[task 2021-02-18T17:32:33.907Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.907Z] 17:32:33     INFO - 18  libxul.so!mozilla::wr::RenderTextureHostSWGL::LockSWGLCompositeSurface(void*, mozilla::wr::SWGLCompositeSurfaceInfo*) [RenderTextureHostSWGL.cpp:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 149 + 0x11]
[task 2021-02-18T17:32:33.907Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a230
[task 2021-02-18T17:32:33.907Z] 17:32:33     INFO -     rip = 0x00007f297df90669
[task 2021-02-18T17:32:33.907Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.907Z] 17:32:33     INFO - 19  firefox-bin!arena_t::RallocSmallOrLarge(void*, unsigned long, unsigned long) [mozjemalloc.cpp:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 3483 + 0x20]
[task 2021-02-18T17:32:33.908Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a250
[task 2021-02-18T17:32:33.908Z] 17:32:33     INFO -     rip = 0x0000559a7f261aac
[task 2021-02-18T17:32:33.908Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.909Z] 17:32:33     INFO - 20  libxul.so!mozilla::BlockingResourceBase::CheckAcquire() [BlockingResourceBase.cpp:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 224 + 0xf]
[task 2021-02-18T17:32:33.909Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a2a0
[task 2021-02-18T17:32:33.909Z] 17:32:33     INFO -     rip = 0x00007f297d01218e
[task 2021-02-18T17:32:33.909Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.909Z] 17:32:33     INFO - 21  libxul.so!ObjectStore<Texture>::operator[](unsigned long) [gl.cc:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 877 + 0x43]
[task 2021-02-18T17:32:33.909Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a2e0
[task 2021-02-18T17:32:33.909Z] 17:32:33     INFO -     rip = 0x00007f2982b62325
[task 2021-02-18T17:32:33.909Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.909Z] 17:32:33     INFO - 22  libxul.so!convert_copy(unsigned int, unsigned int, unsigned char*, unsigned long, unsigned char const*, unsigned long, unsigned long, unsigned long) [gl.cc:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 1878 + 0xe]
[task 2021-02-18T17:32:33.909Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a2f0
[task 2021-02-18T17:32:33.910Z] 17:32:33     INFO -     rip = 0x00007f2982b62c6d
[task 2021-02-18T17:32:33.910Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.910Z] 17:32:33     INFO - 23  libxul.so!mozilla::BlockingResourceBase::Release() [BlockingResourceBase.cpp:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 284 + 0xc]
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a310
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO -     rip = 0x00007f297d012815
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO - 24  firefox-bin!mozilla::detail::MutexImpl::unlock() [Mutex_posix.cpp:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 121 + 0x5]
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a360
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO -     rip = 0x0000559a7f2c7938
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO - 25  libxul.so!mozilla::wr::RenderThread::GetRenderTexture(mozilla::wr::ExternalImageId) [RenderThread.cpp:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 762 + 0x8]
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a380
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO -     rip = 0x00007f297df909c9
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.911Z] 17:32:33     INFO - 26  libxul.so!<webrender::compositor::sw_compositor::SwCompositor as webrender::composite::Compositor>::add_surface [sw_compositor.rs:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 1626 + 0x92]
[task 2021-02-18T17:32:33.912Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a3e0
[task 2021-02-18T17:32:33.912Z] 17:32:33     INFO -     rip = 0x00007f2982933497
[task 2021-02-18T17:32:33.912Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.913Z] 17:32:33     INFO - 27  libxul.so!std::collections::hash::map::HashMap<K,V,S>::get_mut [map.rs : 811 + 0x7b]
[task 2021-02-18T17:32:33.913Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a400
[task 2021-02-18T17:32:33.913Z] 17:32:33     INFO -     rip = 0x00007f298285176b
[task 2021-02-18T17:32:33.913Z] 17:32:33     INFO -     Found by: stack scanning
[task 2021-02-18T17:32:33.914Z] 17:32:33     INFO - 28  libxul.so!webrender::renderer::Renderer::draw_frame [mod.rs:c9d04afa11e8eb4916e5271df3bae69b382c0b69 : 4394 + 0x117]
[task 2021-02-18T17:32:33.914Z] 17:32:33     INFO -     rbp = 0x00007f298dea8a38   rsp = 0x00007f296ed7a4c0
[task 2021-02-18T17:32:33.914Z] 17:32:33     INFO -     rip = 0x00007f2982a13b02
[task 2021-02-18T17:32:33.914Z] 17:32:33     INFO -     Found by: stack scanning

Andrew, is this still an issue?

Flags: needinfo?(aosmond)

Rebased this on top of a patch to cut down on the noise caused by bug 1714410.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=677b1ced0ccec480b52432db4beeb178c76c237e

Seeing some bug 1678060 in there, and also a case of bug 1358486, but no problems that look similar to the stack in the description.

Assignee: nobody → docfaraday
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
Pushed by bcampen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/355ed0fa92c3 Re-enable test_getUserMedia_basicScreenshare.html on linux swgl/webrender. r=ng
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: