Closed Bug 1638254 Opened 5 years ago Closed 5 years ago

Intermittent TEST-UNEXPECTED-CRASH | /encoding/legacy-mb-korean/<something> | expected OK followed or not by crash in /html/syntax/parsing<something>

Categories

(Core :: Widget: Gtk, defect, P5)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered][stockwell fixed:backout])

Filed by: apavel [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=302394407&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Fs9s3db8TU-2BcgORU9wLA/runs/0/artifacts/public/logs/live_backing.log


[task 2020-05-15T03:33:24.814Z] 03:33:24 INFO - TEST-START | /encoding/legacy-mb-korean/euc-kr/euckr-encode-form-ks_c_5601-1987.html?17001-last
[task 2020-05-15T03:33:24.814Z] 03:33:24 INFO - Closing window 589
[task 2020-05-15T03:33:24.923Z] 03:33:24 INFO - PID 25875 | Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedUnable to init server: Could not connect: Connection refused
[task 2020-05-15T03:33:24.924Z] 03:33:24 INFO - PID 25875 | (/builds/worker/workspace/build/application/firefox/firefox-bin:25638): Gtk-WARNING **: 03:33:24.914: cannot open display: :0
[task 2020-05-15T03:33:24.925Z] 03:33:24 INFO - PID 25875 | [Parent 25875, Gecko_IOThread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19
[task 2020-05-15T03:33:24.925Z] 03:33:24 INFO - PID 25875 | [Parent 25875, Gecko_IOThread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19
[task 2020-05-15T03:33:24.925Z] 03:33:24 INFO - PID 25875 | [Parent 25875, Gecko_IOThread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19
[task 2020-05-15T03:33:24.928Z] 03:33:24 INFO - PID 25875 | [Parent 25875, Gecko_IOThread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19
[task 2020-05-15T03:33:24.929Z] 03:33:24 INFO - PID 25875 | [Parent 25875, Gecko_IOThread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19
[task 2020-05-15T03:33:24.929Z] 03:33:24 INFO - PID 25875 | [Parent 25875, Gecko_IOThread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 19
[task 2020-05-15T03:33:24.931Z] 03:33:24 INFO - PID 25875 | A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
[task 2020-05-15T03:33:25.077Z] 03:33:25 INFO - NoSuchWindowException on command, setting status to CRASH
[task 2020-05-15T03:33:25.108Z] 03:33:25 INFO - TEST-UNEXPECTED-CRASH | /encoding/legacy-mb-korean/euc-kr/euckr-encode-form-ks_c_5601-1987.html?17001-last | expected OK
[task 2020-05-15T03:33:25.109Z] 03:33:25 INFO - TEST-INFO took 371ms
[task 2020-05-15T03:33:25.170Z] 03:33:25 INFO - ....
[task 2020-05-15T03:33:25.170Z] 03:33:25 INFO - TEST-OK | /html/syntax/parsing/html5lib_isindex.html?run_type=write | took 520ms
[task 2020-05-15T03:33:25.171Z] 03:33:25 INFO - TEST-START | /html/syntax/parsing/html5lib_isindex.html?run_type=uri
[task 2020-05-15T03:33:25.172Z] 03:33:25 INFO - Closing window 109
[task 2020-05-15T03:33:25.288Z] 03:33:25 INFO - PID 25875 | 1589513605279 Marionette INFO Stopped listening on port 47748
[task 2020-05-15T03:33:25.425Z] 03:33:25 INFO - Browser exited with return code 0
[task 2020-05-15T03:33:25.425Z] 03:33:25 INFO - PROCESS LEAKS None
[task 2020-05-15T03:33:25.426Z] 03:33:25 INFO - Closing logging queue
[task 2020-05-15T03:33:25.426Z] 03:33:25 INFO - queue closed
[task 2020-05-15T03:33:25.539Z] 03:33:25 INFO - ....
[task 2020-05-15T03:33:25.539Z] 03:33:25 INFO - TEST-OK | /html/syntax/parsing/html5lib_isindex.html?run_type=uri | took 368ms

It looks to me like this doesn't really have anything to do with the specific encoding test, what's actually happening is some kind of X-windows resource exhaustion:

[task 2020-05-15T03:33:24.923Z] 03:33:24 INFO - PID 25875 | Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedUnable to init server: Could not connect: Connection refused

Note "Maximum number of clients reached", which I believe refers to X clients. Then we have a warning from Gtk, "cannot open display", which presumably is because of the X-windows failure. Which leads to "A content process crashed", without really getting to run the testcase at all.

Not sure where this belongs -- maybe Widget:Gtk?

Component: Internationalization → Widget: Gtk
Flags: needinfo?(jfkthame)

Edwin, have you observed this behavior before?

Flags: needinfo?(egao)
Summary: Intermittent TEST-UNEXPECTED-CRASH | /encoding/legacy-mb-korean/euc-kr/euckr-encode-form-ks_c_5601-1987.html?17001-last | expected OK → Intermittent TEST-UNEXPECTED-CRASH | /encoding/legacy-mb-korean/<something> | expected OK followed or not by crash in /html/syntax/parsing<something>

No, I have not seen this before.

Flags: needinfo?(egao)

Could it be related to bug 1637085? It landed directly before it started and got backed out after this ended?

Flags: needinfo?(kmaglione+bmo)

Try push with bug 1637085 applied didn't reproduce the issue.

Flags: needinfo?(kmaglione+bmo)
Whiteboard: [retriggered]

This was backed out for frequent failures here: https://hg.mozilla.org/integration/autoland/rev/31e3dab240a28c162943acad26fb543c54144dc0
Please check this comment: https://bugzilla.mozilla.org/show_bug.cgi?id=1637085#c3
No new failures since the backout was pushed.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(kmaglione+bmo)
Resolution: --- → FIXED
Whiteboard: [retriggered] → [retriggered][stockwell fixed;backout]
Whiteboard: [retriggered][stockwell fixed;backout] → [retriggered][stockwell fixed:backout]
You need to log in before you can comment on or make changes to this bug.