Open Bug 1625250 Opened 4 months ago Updated 9 days ago

Intermittent linux 18.04 qr <test-name> | application crashed [@ libglib-2.0.so.0 + 0x51ea1]

Categories

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

defect

Tracking

()

REOPENED

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: crash, intermittent-failure, leave-open)

Crash Data

Attachments

(1 file)

I think that bug 1625904 and this are actually the same problem. Unfortunately, the stacktraces in both look like garbage to me.

I'm reclassifying this as WebRender for now since all the examples of this and bug 1625904 seem to be happening on WebRender builds. That could just be a coincidence, but I'm going off the similarity of the crashes and that they both only have happened on WebRender builds so far.

Component: Layout: Images, Video, and HTML Frames → Graphics: WebRender

[task 2020-03-26T17:17:44.291Z] 17:17:44 INFO - TEST-PASS | /css/css-grid/placement/grid-placement-using-named-grid-lines-006.html | took 82ms
[task 2020-03-26T17:17:44.293Z] 17:17:44 INFO - PID 16596 | 1585243064282 Marionette INFO No differences allowed
[task 2020-03-26T17:17:44.334Z] 17:17:44 INFO - PID 16596 | 1585243064329 Marionette INFO Stopped listening on port 33611
[task 2020-03-26T17:17:45.064Z] 17:17:45 INFO - Browser exited with return code 0
[task 2020-03-26T17:17:45.064Z] 17:17:45 INFO - PROCESS LEAKS None
[task 2020-03-26T17:17:45.067Z] 17:17:45 INFO - Closing logging queue
[task 2020-03-26T17:17:45.067Z] 17:17:45 INFO - queue closed
[task 2020-03-26T17:17:45.084Z] 17:17:45 INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox --marionette about:blank -profile /tmp/tmpqUpZ4d
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | 1585243056151 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | 1585243056976 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | 1585243056977 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | 1585243056977 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | 1585243056977 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | (/builds/worker/workspace/build/application/firefox/firefox-bin:17079): Gdk-ERROR *: 17:17:37.366: The program '/builds/worker/workspace/build/application/firefox/firefox-bin' received an X Window System error.
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | This probably reflects a bug in the program.
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | The error was 'BadShmSeg (invalid shared segment parameter)'.
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | (Details: serial 156 error_code 128 request_code 130 (MIT-SHM) minor_code 2)
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | (Note to programmers: normally, X errors are reported asynchronously;
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | that is, you will receive the error a while after causing it.
[task 2020-03-26T17:17:45.104Z] 17:17:45 INFO - PID 16990 | To debug your program, run it with the GDK_SYNCHRONIZE environment
[task 2020-03-26T17:17:45.104Z] 17:17:45 INFO - PID 16990 | variable to change this behavior. You can then get a meaningful
[task 2020-03-26T17:17:45.105Z] 17:17:45 INFO - PID 16990 | backtrace from your debugger if you break on the gdk_x_error() function.)
[task 2020-03-26T17:17:45.105Z] 17:17:45 INFO - PID 16990 | ###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
[task 2020-03-26T17:17:45.108Z] 17:17:45 INFO - PID 16990 | [GFX1-]: Failed to connect WebRenderBridgeChild.
[task 2020-03-26T17:17:45.108Z] 17:17:45 INFO - PID 16990 | ###!!! [Parent][MessageChannel] Error: (msgtype=0x20012,name=PAPZInputBridge::Msg___delete__) Channel error: cannot send/recv
[task 2020-03-26T17:17:45.108Z] 17:17:45 INFO - PID 16990 | ###!!! [Child][MessageChannel] Error: (msgtype=0xB30022,name=PWebRenderBridge::Msg_Shutdown) Channel error: cannot send/recv
[task 2020-03-26T17:17:45.110Z] 17:17:45 INFO - PID 16990 | ###!!! [Child][MessageChannel::SendAndWait] Error: (msgtype=0x35001A,name=PCompositorBridge::Msg_WillClose) Channel error: cannot send/recv
[task 2020-03-26T17:17:45.110Z] 17:17:45 INFO - PID 16990 | ###!!! [Parent][MessageChannel] Error: (msgtype=0x53000C,name=PGPU::Msg_UpdateVar) Channel error: cannot send/recv
[task 2020-03-26T17:17:45.111Z] 17:17:45 INFO - PID 16990 | ###!!! [Child][MessageChannel] Error: (msgtype=0x360001,name=PCompositorManager::Msg_PCompositorBridgeConstructor) Channel error: cannot send/recv
[task 2020-03-26T17:17:45.111Z] 17:17:45 INFO - PID 16990 | ###!!! [Child][MessageChannel] Error: (msgtype=0x35000D,name=PCompositorBridge::Msg_PCompositorWidgetConstructor) Channel error: cannot send/recv
[task 2020-03-26T17:17:45.113Z] 17:17:45 INFO - PID 16990 | ###!!! [Child][MessageChannel::SendAndWait] Error: (msgtype=0x35000F,name=PCompositorBridge::Msg_Initialize) Channel error: cannot send/recv
[task 2020-03-26T17:17:45.114Z] 17:17:45 INFO - PID 16990 | [GFX1-]: Failed to create remote compositor
[task 2020-03-26T17:17:45.114Z] 17:17:45 INFO - PID 16990 | ###!!! [Parent][MessageChannel] Error: (msgtype=0x53001B,name=PGPU::Msg_ShutdownVR) Channel error: cannot send/recv
[task 2020-03-26T17:17:45.115Z] 17:17:45 INFO - PID 16990 | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2020-03-26T17:17:45.136Z] 17:17:45 INFO - PID 16990 | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2020-03-26T17:17:45.137Z] 17:17:45 INFO - PID 16990 | 1585243061208 Marionette INFO Listening on port 42627
[task 2020-03-26T17:17:45.139Z] 17:17:45 INFO - Starting runner
[task 2020-03-26T17:17:45.334Z] 17:17:45 INFO - TEST-START | /css/css-images/conic-gradient-angle-negative.html
[task 2020-03-26T17:17:45.355Z] 17:17:45 INFO - Setting pref layout.css.conic-gradient.enabled (true)
[task 2020-03-26T17:17:45.396Z] 17:17:45 INFO - Setting pref dom.animations-api.compositing.enabled (true)
[task 2020-03-26T17:17:45.418Z] 17:17:45 INFO - Setting pref layout.css.comparison-functions.enabled (true)
[task 2020-03-26T17:17:45.588Z] 17:17:45 INFO - PID 16990 | 1585243065580 Marionette INFO Testing http://web-platform.test:8000/css/css-images/conic-gradient-angle-negative.html == http://web-platform.test:8000/css/css-images/reference/200x200-blue-black-green-red.html
[task 2020-03-26T17:17:45.883Z] 17:17:45 INFO - PID 16990 | 1585243065876 Marionette INFO No differences allowed
[task 2020-03-26T17:17:45.883Z] 17:17:45 INFO - mozcrash Downloading symbols from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dsuLj-Y2ShmfNFCQByOkrw/artifacts/public/build/target.crashreporter-symbols.zip
[task 2020-03-26T17:17:50.940Z] 17:17:50 INFO - mozcrash Copy/paste: /builds/worker/fetches/minidump_stackwalk/minidump_stackwalk /tmp/tmpiUMBUz/minidumps/10dd50e7-192a-233f-ea86-702506eaf438.dmp /tmp/tmpDoO8eu
[task 2020-03-26T17:17:56.968Z] 17:17:56 INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/10dd50e7-192a-233f-ea86-702506eaf438.dmp
[task 2020-03-26T17:17:56.968Z] 17:17:56 INFO - mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/10dd50e7-192a-233f-ea86-702506eaf438.extra
[task 2020-03-26T17:17:57.047Z] 17:17:57 INFO - PROCESS-CRASH | /css/css-images/conic-gradient-angle-negative.html | application crashed [@ libglib-2.0.so.0 + 0x51ea1]
[task 2020-03-26T17:17:57.047Z] 17:17:57 INFO - Crash dump filename: /tmp/tmpiUMBUz/minidumps/10dd50e7-192a-233f-ea86-702506eaf438.dmp
[task 2020-03-26T17:17:57.047Z] 17:17:57 INFO - Operating system: Linux
[task 2020-03-26T17:17:57.047Z] 17:17:57 INFO - 0.0.0 Linux 4.4.0-1014-aws #14taskcluster1-Ubuntu SMP Tue Apr 3 10:27:00 UTC 2018 x86_64
[task 2020-03-26T17:17:57.047Z] 17:17:57 INFO - CPU: amd64
[task 2020-03-26T17:17:57.047Z] 17:17:57 INFO - family 6 model 62 stepping 4
[task 2020-03-26T17:17:57.047Z] 17:17:57 INFO - 4 CPUs
[task 2020-03-26T17:17:57.048Z] 17:17:57 INFO -
[task 2020-03-26T17:17:57.048Z] 17:17:57 INFO - GPU: UNKNOWN
[task 2020-03-26T17:17:57.048Z] 17:17:57 INFO -
[task 2020-03-26T17:17:57.049Z] 17:17:57 INFO - Crash reason: SIGTRAP
[task 2020-03-26T17:17:57.049Z] 17:17:57 INFO - Crash address: 0x0
[task 2020-03-26T17:17:57.050Z] 17:17:57 INFO - Process uptime: not available
[task 2020-03-26T17:17:57.050Z] 17:17:57 INFO -
[task 2020-03-26T17:17:57.051Z] 17:17:57 INFO - Thread 0 (crashed)
[task 2020-03-26T17:17:57.051Z] 17:17:57 INFO - 0 libglib-2.0.so.0 + 0x51ea1
[task 2020-03-26T17:17:57.052Z] 17:17:57 INFO - rax = 0x0000000000000000 rdx = 0x00007fe7a1e00020
[task 2020-03-26T17:17:57.052Z] 17:17:57 INFO - rcx = 0x0000000000000003 rbx = 0x0000000000000001
[task 2020-03-26T17:17:57.053Z] 17:17:57 INFO - rsi = 0x0000000000000000 rdi = 0x0000000000000001
[task 2020-03-26T17:17:57.053Z] 17:17:57 INFO - rbp = 0x00007fff9061f220 rsp = 0x00007fff9061f160
[task 2020-03-26T17:17:57.053Z] 17:17:57 INFO - r8 = 0x0000000000000000 r9 = 0x00007fe7a349c780
[task 2020-03-26T17:17:57.054Z] 17:17:57 INFO - r10 = 0x00000000fffffd13 r11 = 0x0000000000000000
[task 2020-03-26T17:17:57.054Z] 17:17:57 INFO - r12 = 0x0000000000000006 r13 = 0x0000000000000000
[task 2020-03-26T17:17:57.055Z] 17:17:57 INFO - r14 = 0x00007fe79de156c0 r15 = 0x0000000000000000
[task 2020-03-26T17:17:57.055Z] 17:17:57 INFO - rip = 0x00007fe79de12ea1
[task 2020-03-26T17:17:57.056Z] 17:17:57 INFO - Found by: given as instruction pointer in context
[task 2020-03-26T17:17:57.056Z] 17:17:57 INFO - 1 libglib-2.0.so.0 + 0x54839
[task 2020-03-26T17:17:57.056Z] 17:17:57 INFO - rbp = 0x00007fff9061f220 rsp = 0x00007fff9061f170
[task 2020-03-26T17:17:57.057Z] 17:17:57 INFO - rip = 0x00007fe79de15839
[task 2020-03-26T17:17:57.057Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.058Z] 17:17:57 INFO - 2 libglib-2.0.so.0 + 0x546c0
[task 2020-03-26T17:17:57.058Z] 17:17:57 INFO - rbp = 0x00007fff9061f220 rsp = 0x00007fff9061f1b0
[task 2020-03-26T17:17:57.059Z] 17:17:57 INFO - rip = 0x00007fe79de156c0
[task 2020-03-26T17:17:57.059Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.059Z] 17:17:57 INFO - 3 libglib-2.0.so.0 + 0x52a8e
[task 2020-03-26T17:17:57.060Z] 17:17:57 INFO - rbp = 0x00007fff9061f220 rsp = 0x00007fff9061f1c0
[task 2020-03-26T17:17:57.060Z] 17:17:57 INFO - rip = 0x00007fe79de13a8e
[task 2020-03-26T17:17:57.060Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.060Z] 17:17:57 INFO - 4 libgdk-3.so.0 + 0x9ee8e
[task 2020-03-26T17:17:57.061Z] 17:17:57 INFO - rbp = 0x00007fff9061f220 rsp = 0x00007fff9061f1d8
[task 2020-03-26T17:17:57.061Z] 17:17:57 INFO - rip = 0x00007fe7a0812e8e
[task 2020-03-26T17:17:57.062Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.062Z] 17:17:57 INFO - 5 libglib-2.0.so.0 + 0x534ee
[task 2020-03-26T17:17:57.063Z] 17:17:57 INFO - rbp = 0x00007fff9061f220 rsp = 0x00007fff9061f200
[task 2020-03-26T17:17:57.063Z] 17:17:57 INFO - rip = 0x00007fe79de144ee
[task 2020-03-26T17:17:57.064Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.064Z] 17:17:57 INFO - 6 libglib-2.0.so.0 + 0x9ee3d
[task 2020-03-26T17:17:57.065Z] 17:17:57 INFO - rsp = 0x00007fff9061f228 rip = 0x00007fe79de5fe3d
[task 2020-03-26T17:17:57.065Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.065Z] 17:17:57 INFO - 7 libglib-2.0.so.0 + 0x9ecd9
[task 2020-03-26T17:17:57.066Z] 17:17:57 INFO - rsp = 0x00007fff9061f230 rip = 0x00007fe79de5fcd9
[task 2020-03-26T17:17:57.066Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.066Z] 17:17:57 INFO - 8 libglib-2.0.so.0 + 0x9ee46
[task 2020-03-26T17:17:57.067Z] 17:17:57 INFO - rsp = 0x00007fff9061f240 rip = 0x00007fe79de5fe46
[task 2020-03-26T17:17:57.067Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.068Z] 17:17:57 INFO - 9 libgdk-3.so.0 + 0xbd670
[task 2020-03-26T17:17:57.068Z] 17:17:57 INFO - rsp = 0x00007fff9061f248 rip = 0x00007fe7a0831670
[task 2020-03-26T17:17:57.068Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.069Z] 17:17:57 INFO - 10 libglib-2.0.so.0 + 0x9ee50
[task 2020-03-26T17:17:57.069Z] 17:17:57 INFO - rsp = 0x00007fff9061f258 rip = 0x00007fe79de5fe50
[task 2020-03-26T17:17:57.069Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.069Z] 17:17:57 INFO - 11 libgdk-3.so.0 + 0xbd0cf
[task 2020-03-26T17:17:57.069Z] 17:17:57 INFO - rsp = 0x00007fff9061f260 rip = 0x00007fe7a08310cf
[task 2020-03-26T17:17:57.070Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.070Z] 17:17:57 INFO - 12 libglib-2.0.so.0 + 0x9ee5a
[task 2020-03-26T17:17:57.070Z] 17:17:57 INFO - rsp = 0x00007fff9061f270 rip = 0x00007fe79de5fe5a
[task 2020-03-26T17:17:57.070Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.070Z] 17:17:57 INFO - 13 libgdk-3.so.0 + 0xbdd90
[task 2020-03-26T17:17:57.071Z] 17:17:57 INFO - rsp = 0x00007fff9061f278 rip = 0x00007fe7a0831d90
[task 2020-03-26T17:17:57.071Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.071Z] 17:17:57 INFO - 14 libglib-2.0.so.0 + 0x9ee2a
[task 2020-03-26T17:17:57.071Z] 17:17:57 INFO - rsp = 0x00007fff9061f288 rip = 0x00007fe79de5fe2a
[task 2020-03-26T17:17:57.071Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.072Z] 17:17:57 INFO - 15 libglib-2.0.so.0 + 0x9ee97
[task 2020-03-26T17:17:57.072Z] 17:17:57 INFO - rsp = 0x00007fff9061f2a0 rip = 0x00007fe79de5fe97
[task 2020-03-26T17:17:57.072Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.072Z] 17:17:57 INFO - 16 libgdk-3.so.0 + 0x9ee8e
[task 2020-03-26T17:17:57.072Z] 17:17:57 INFO - rsp = 0x00007fff9061f2a8 rip = 0x00007fe7a0812e8e
[task 2020-03-26T17:17:57.072Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.073Z] 17:17:57 INFO - 17 libgdk-3.so.0 + 0xb5de
[task 2020-03-26T17:17:57.073Z] 17:17:57 INFO - rsp = 0x00007fff9061f2c8 rip = 0x00007fe7a077f5de
[task 2020-03-26T17:17:57.073Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.073Z] 17:17:57 INFO - 18 libglib-2.0.so.0 + 0xd358
[task 2020-03-26T17:17:57.073Z] 17:17:57 INFO - rsp = 0x00007fff9061f318 rip = 0x00007fe79ddce358
[task 2020-03-26T17:17:57.074Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.074Z] 17:17:57 INFO - 19 firefox-bin!arena_t::MallocSmall(unsigned long, bool) [mozjemalloc.cpp:0cd0ef64e4260a81ac372bfd7a053a0784cf56e1 : 2862 + 0x5]
[task 2020-03-26T17:17:57.074Z] 17:17:57 INFO - rsp = 0x00007fff9061f350 rip = 0x0000563ded01a518
[task 2020-03-26T17:17:57.074Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.074Z] 17:17:57 INFO - 20 libgdk-3.so.0 + 0x2f3528
[task 2020-03-26T17:17:57.075Z] 17:17:57 INFO - rsp = 0x00007fff9061f360 rip = 0x00007fe7a0a67528
[task 2020-03-26T17:17:57.075Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.075Z] 17:17:57 INFO - 21 ld-linux-x86-64.so.2 + 0xfec3
[task 2020-03-26T17:17:57.075Z] 17:17:57 INFO - rsp = 0x00007fff9061f390 rip = 0x00007fe7a32aaec3
[task 2020-03-26T17:17:57.075Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.075Z] 17:17:57 INFO - 22 libgdk-3.so.0 + 0xbd0c1
[task 2020-03-26T17:17:57.076Z] 17:17:57 INFO - rsp = 0x00007fff9061f3a8 rip = 0x00007fe7a08310c1
[task 2020-03-26T17:17:57.076Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.076Z] 17:17:57 INFO - 23 libglib-2.0.so.0 + 0xd358
[task 2020-03-26T17:17:57.076Z] 17:17:57 INFO - rsp = 0x00007fff9061f3b0 rip = 0x00007fe79ddce358
[task 2020-03-26T17:17:57.076Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.076Z] 17:17:57 INFO - 24 ld-linux-x86-64.so.2 + 0x1770a
[task 2020-03-26T17:17:57.077Z] 17:17:57 INFO - rsp = 0x00007fff9061f3c0 rip = 0x00007fe7a32b270a
[task 2020-03-26T17:17:57.077Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.077Z] 17:17:57 INFO - 25 libgdk-3.so.0 + 0xbd0cf
[task 2020-03-26T17:17:57.077Z] 17:17:57 INFO - rsp = 0x00007fff9061f3d0 rip = 0x00007fe7a08310cf
[task 2020-03-26T17:17:57.077Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.078Z] 17:17:57 INFO - 26 libgdk-3.so.0 + 0xbd670
[task 2020-03-26T17:17:57.078Z] 17:17:57 INFO - rsp = 0x00007fff9061f3d8 rip = 0x00007fe7a0831670
[task 2020-03-26T17:17:57.078Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.078Z] 17:17:57 INFO - 27 libgdk-3.so.0 + 0x9ee8e
[task 2020-03-26T17:17:57.078Z] 17:17:57 INFO - rsp = 0x00007fff9061f3e8 rip = 0x00007fe7a0812e8e
[task 2020-03-26T17:17:57.078Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.079Z] 17:17:57 INFO - 28 libgdk-3.so.0 + 0xbdd90
[task 2020-03-26T17:17:57.079Z] 17:17:57 INFO - rsp = 0x00007fff9061f3f0 rip = 0x00007fe7a0831d90
[task 2020-03-26T17:17:57.079Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.079Z] 17:17:57 INFO - 29 libgdk-3.so.0 + 0xbe10b
[task 2020-03-26T17:17:57.079Z] 17:17:57 INFO - rsp = 0x00007fff9061f3f8 rip = 0x00007fe7a083210b
[task 2020-03-26T17:17:57.080Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.080Z] 17:17:57 INFO - 30 firefox-bin!replace_realloc(void
, unsigned long) [PHC.cpp:0cd0ef64e4260a81ac372bfd7a053a0784cf56e1 : 1121 + 0x1f]
[task 2020-03-26T17:17:57.080Z] 17:17:57 INFO - rsp = 0x00007fff9061f450 rip = 0x0000563ded021849
[task 2020-03-26T17:17:57.080Z] 17:17:57 INFO - Found by: stack scanning
[task 2020-03-26T17:17:57.080Z] 17:17:57 INFO - 31 firefox-bin!replace_malloc(unsigned long) [PHC.cpp:0cd0ef64e4260a81ac372bfd7a053a0784cf56e1 : 994 + 0x4e]
[task 2020-03-26T17:17:57.081Z] 17:17:57 INFO - rsp = 0x00007fff9061f460 rip = 0x0000563ded021242
[task 2020-03-26T17:17:57.081Z] 17:17:57 INFO - Found by: stack scanning

Kats, could you have a look over these crashes, they all seem to happen on linux 18.04 qr. Recent failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=297458664&repo=autoland

Flags: needinfo?(kats)
Summary: Intermittent /css/css-images/conic-gradient-angle-negative.html | application crashed [@ libglib-2.0.so.0 + 0x51ea1] → Intermittent linux 18.04 qr <test-name> | application crashed [@ libglib-2.0.so.0 + 0x51ea1]
Duplicate of this bug: 1620961
Duplicate of this bug: 1625904
Duplicate of this bug: 1626475
Duplicate of this bug: 1628950
Crash Signature: [@ libglib-2.0.so.0 + 0x51ea1] → [@ libglib-2.0.so.0 + 0x51ea1] [@ libglib-2.0.so.0.5600.4 + 0x51ea1]

I'm not too familiar with the innards of GDK but the error message seems useful:

[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | (/builds/worker/workspace/build/application/firefox/firefox-bin:17079): Gdk-ERROR *: 17:17:37.366: The program '/builds/worker/workspace/build/application/firefox/firefox-bin' received an X Window System error.
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | This probably reflects a bug in the program.
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | The error was 'BadShmSeg (invalid shared segment parameter)'.
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | (Details: serial 156 error_code 128 request_code 130 (MIT-SHM) minor_code 2)
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | (Note to programmers: normally, X errors are reported asynchronously;
[task 2020-03-26T17:17:45.103Z] 17:17:45 INFO - PID 16990 | that is, you will receive the error a while after causing it.
[task 2020-03-26T17:17:45.104Z] 17:17:45 INFO - PID 16990 | To debug your program, run it with the GDK_SYNCHRONIZE environment
[task 2020-03-26T17:17:45.104Z] 17:17:45 INFO - PID 16990 | variable to change this behavior. You can then get a meaningful
[task 2020-03-26T17:17:45.105Z] 17:17:45 INFO - PID 16990 | backtrace from your debugger if you break on the gdk_x_error() function.)

I can land a patch to run tests like these with GDK_SYNCHRONIZE env var in the future so we maybe get a better stacktrace, if nobody knows offhand what the problem here might be.

Flagging needinfo to people who are probably more familiar with GDK stuffs, but feel free to clear the needinfo if you don't know what's going on and/or don't care, and I can land the GDK_SYNCHRONIZE thing.

Crash Signature: [@ libglib-2.0.so.0 + 0x51ea1] [@ libglib-2.0.so.0.5600.4 + 0x51ea1] → [@ libglib-2.0.so.0 + 0x51ea1] [@ libglib-2.0.so.0.5600.4 + 0x51ea1]
Flags: needinfo?(stransky)
Flags: needinfo?(kats)
Flags: needinfo?(karlt)
Flags: needinfo?(aosmond)

Can you try to run with MOZ_X_SYNC=1 and GDK_SYNCHRONIZE=1 env variables?

Flags: needinfo?(stransky) → needinfo?(kats)

https://searchfox.org/mozilla-central/rev/72e3388f74458d369af4f6cdbaeaacb719523b8c/toolkit/xre/nsGDKErrorHandler.cpp#94
was meant to translate the minor code to something human readable.
I wonder why that is not involved here.

However minor code 2 is X_ShmDetach. (See /usr/share/X11/XErrorDB)

Gecko's use of MIT-SHM is through libxcb. IIRC errors in such use should not be reported via libX11's handler, as appears to be happening here.

GDK also sometimes use MIT-SHM, through libX11 I assume, but errors are usually caught. That mechanism to catch errors is broken if XSetErrorHandler() is used on another thread.

IIRC there were also some races involving GDK X11 code if GDK's X11 Display was used on another thread in any way, but I don't recall the way that is expected to manifest.

Flags: needinfo?(karlt)

It does seem odd that an error would show up in Detach rather than Attach.

(In reply to Martin Stránský [:stransky] from comment #10)

Can you try to run with MOZ_X_SYNC=1 and GDK_SYNCHRONIZE=1 env variables?

I kicked off a try push with these env vars enabled on reftests and WPT. I'll verify that it's working as intended and retrigger the jobs a bunch to see if I can repro the problem on my try push. Given the low frequency I doubt that will happen, so I might need to land the patch and wait for it to occur again in regular Firefox CI.

I'll leave the needinfo on me for now until I have some results.

Flags: needinfo?(aosmond)

I assume ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp9wy197/runtests_leaks_980_gpu_pid26473.log indicates the GPU process is the one experiencing the error here. I guess the RenderCompositorOGL::Create() call on Thread 5 supports that conclusion.

Presumably that process doesn't call into GDK much.

The GPU process is definitely enabled and running (because WebRender) but it's not clear to me that's the one experiencing the error. From the log in comment 0, the error message starts with ... /firefox-bin:17079) where 17079 looks kind of like a PID but I don't see that PID referenced anywhere else in the log.

(In reply to Karl Tomlinson (:karlt) from comment #14)

I assume ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp9wy197/runtests_leaks_980_gpu_pid26473.log indicates the GPU process is the one experiencing the error here.

Not sure where you're seeing this. I don't know how much the GPU process calls into GDK directly, but yeah I don't imagine it would much.

I retriggered the WPTs a few times but don't see any of the failures on my try push. I'll put the patch up for review for now, hopefully we can catch some instances of these in automation over the next few days.

Flags: needinfo?(kats)

This sets the env vars when running with WR enabled in reftests or WPT,
which is where the errors seem to be manifesting.

Assignee: nobody → kats
Status: NEW → ASSIGNED
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/94d6a3fe4b57
Set a couple of env vars to help debug MIT-SHM error. r=jgraham
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/23071 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Target Milestone: mozilla77 → ---

(In reply to Karl Tomlinson (:karlt) from comment #14)

I assume ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp9wy197/runtests_leaks_980_gpu_pid26473.log indicates the GPU process is the one experiencing the error here.

That was from the log linked in comment 4 with firefox-bin:26473): Gdk-ERROR.

The snippet pasted in comment 4 is from the log linked in comment 0, where I also don't see 17079 elsewhere.

The priority flag is not set for this bug.
:jbonisteel, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jbonisteel)
Upstream PR merged by moz-wptsync-bot
Flags: needinfo?(jbonisteel)
Priority: -- → P3

So far there's no new failures. They weren't that frequent before either so I'll give it another week before I back out the diagnostic patch and see if they come back.

Still nothing. I'll request a backout of the diagnostic patch.

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/23366 for changes under testing/web-platform/tests
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/23367 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot

Not actively doing anything here, unassigning.

Assignee: kats → nobody

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.