Closed Bug 1482510 Opened 6 years ago Closed 5 years ago

Intermittent testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py TestSafeBrowsingWarningPages.test_warning_pages | application crashed [@ libxul.so + 0x3b5e2e6]

Categories

(Core :: JavaScript Engine, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(4 keywords)

Crash Data

Filed by: ncsoregi [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=193352811&repo=autoland

https://queue.taskcluster.net/v1/task/LBFKe4qUQXal4Uj4ekw48g/runs/0/artifacts/public/logs/live_backing.log

[task 2018-08-10T20:02:05.882Z] 20:02:05     INFO - mozcrash Copy/paste: /usr/local/bin/linux64-minidump_stackwalk /builds/worker/workspace/build/tmp6dEUEi.mozrunner/minidumps/332999d6-fea6-f9bf-85cc-6c13e4537556.dmp /tmp/tmpBqyKP7
[task 2018-08-10T20:02:06.332Z] 20:02:06     INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/332999d6-fea6-f9bf-85cc-6c13e4537556.dmp
[task 2018-08-10T20:02:06.334Z] 20:02:06     INFO - mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/332999d6-fea6-f9bf-85cc-6c13e4537556.extra
[task 2018-08-10T20:02:06.395Z] 20:02:06     INFO - PROCESS-CRASH | testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py TestSafeBrowsingWarningPages.test_warning_pages | application crashed [@ libxul.so + 0x3b5e2e6]
[task 2018-08-10T20:02:06.397Z] 20:02:06     INFO - Crash dump filename: /builds/worker/workspace/build/tmp6dEUEi.mozrunner/minidumps/332999d6-fea6-f9bf-85cc-6c13e4537556.dmp
[task 2018-08-10T20:02:06.398Z] 20:02:06     INFO - Operating system: Linux
[task 2018-08-10T20:02:06.399Z] 20:02:06     INFO -                   0.0.0 Linux 4.4.0-1014-aws #14taskcluster1-Ubuntu SMP Tue Apr 3 10:27:00 UTC 2018 x86_64
[task 2018-08-10T20:02:06.400Z] 20:02:06     INFO - CPU: amd64
[task 2018-08-10T20:02:06.401Z] 20:02:06     INFO -      family 6 model 62 stepping 4
[task 2018-08-10T20:02:06.401Z] 20:02:06     INFO -      2 CPUs
[task 2018-08-10T20:02:06.402Z] 20:02:06     INFO - 
[task 2018-08-10T20:02:06.403Z] 20:02:06     INFO - GPU: UNKNOWN
[task 2018-08-10T20:02:06.404Z] 20:02:06     INFO - 
[task 2018-08-10T20:02:06.405Z] 20:02:06     INFO - Crash reason:  SIGSEGV
[task 2018-08-10T20:02:06.405Z] 20:02:06     INFO - Crash address: 0x0
[task 2018-08-10T20:02:06.406Z] 20:02:06     INFO - Process uptime: not available
[task 2018-08-10T20:02:06.408Z] 20:02:06     INFO - 
[task 2018-08-10T20:02:06.409Z] 20:02:06     INFO - Thread 0 (crashed)
[task 2018-08-10T20:02:06.410Z] 20:02:06     INFO -  0  libxul.so + 0x3b5e2e6
[task 2018-08-10T20:02:06.411Z] 20:02:06     INFO -     rax = 0x0000000000636c80   rdx = 0x00007f42fdd9582c
[task 2018-08-10T20:02:06.413Z] 20:02:06     INFO -     rcx = 0x00007f430ad872dd   rbx = 0x00007f42ec878280
[task 2018-08-10T20:02:06.414Z] 20:02:06     INFO -     rsi = 0x000000000000003b   rdi = 0x00007ffd1683b6f0
[task 2018-08-10T20:02:06.415Z] 20:02:06     INFO -     rbp = 0x00007ffd1683deb0   rsp = 0x00007ffd1683deb0
[task 2018-08-10T20:02:06.416Z] 20:02:06     INFO -      r8 = 0x00007f430c340740    r9 = 0x000000000000003b
[task 2018-08-10T20:02:06.417Z] 20:02:06     INFO -     r10 = 0x0000000000000000   r11 = 0x0000000000000000
[task 2018-08-10T20:02:06.418Z] 20:02:06     INFO -     r12 = 0x00007f42f3d02378   r13 = 0x00007ffd1683df60
[task 2018-08-10T20:02:06.419Z] 20:02:06     INFO -     r14 = 0x00007f42f4329020   r15 = 0x0000000000000000
[task 2018-08-10T20:02:06.420Z] 20:02:06     INFO -     rip = 0x00007f42fd1182e6
[task 2018-08-10T20:02:06.421Z] 20:02:06     INFO -     Found by: given as instruction pointer in context
[task 2018-08-10T20:02:06.422Z] 20:02:06     INFO -  1  libxul.so + 0x3ed80a2
[task 2018-08-10T20:02:06.423Z] 20:02:06     INFO -     rbp = 0x00007ffd1683dfd0   rsp = 0x00007ffd1683dec0
[task 2018-08-10T20:02:06.424Z] 20:02:06     INFO -     rip = 0x00007f42fd4920a2
[task 2018-08-10T20:02:06.425Z] 20:02:06     INFO -     Found by: previous frame's frame pointer
[task 2018-08-10T20:02:06.426Z] 20:02:06     INFO -  2  libxul.so + 0x1e60c81
[task 2018-08-10T20:02:06.426Z] 20:02:06     INFO -     rbp = 0x00007ffd1683e110   rsp = 0x00007ffd1683dfe0
[task 2018-08-10T20:02:06.427Z] 20:02:06     INFO -     rip = 0x00007f42fb41ac81
[task 2018-08-10T20:02:06.428Z] 20:02:06     INFO -     Found by: previous frame's frame pointer
[task 2018-08-10T20:02:06.429Z] 20:02:06     INFO -  3  libxul.so + 0x2274254
[task 2018-08-10T20:02:06.430Z] 20:02:06     INFO -     rbp = 0x00007ffd1683e140   rsp = 0x00007ffd1683e120
[task 2018-08-10T20:02:06.431Z] 20:02:06     INFO -     rip = 0x00007f42fb82e254
[task 2018-08-10T20:02:06.433Z] 20:02:06     INFO -     Found by: previous frame's frame pointer
[task 2018-08-10T20:02:06.434Z] 20:02:06     INFO -  4  libxul.so + 0x1f4c773
[task 2018-08-10T20:02:06.436Z] 20:02:06     INFO -     rbp = 0x00007ffd1683e1b0   rsp = 0x00007ffd1683e150
[task 2018-08-10T20:02:06.437Z] 20:02:06     INFO -     rip = 0x00007f42fb506773
[task 2018-08-10T20:02:06.438Z] 20:02:06     INFO -     Found by: previous frame's frame pointer
[task 2018-08-10T20:02:06.440Z] 20:02:06     INFO -  5  libxul.so + 0x1e4ad28
[task 2018-08-10T20:02:06.441Z] 20:02:06     INFO -     rbp = 0x00007ffd1683e250   rsp = 0x00007ffd1683e1c0
[task 2018-08-10T20:02:06.442Z] 20:02:06     INFO -     rip = 0x00007f42fb404d28
[task 2018-08-10T20:02:06.444Z] 20:02:06     INFO -     Found by: previous frame's frame pointer
[task 2018-08-10T20:02:06.444Z] 20:02:06     INFO -  6  libxul.so + 0x1e78673
[task 2018-08-10T20:02:06.446Z] 20:02:06     INFO -     rbp = 0x00007ffd1683e330   rsp = 0x00007ffd1683e260
[task 2018-08-10T20:02:06.447Z] 20:02:06     INFO -     rip = 0x00007f42fb432673
[task 2018-08-10T20:02:06.448Z] 20:02:06     INFO -     Found by: previous frame's frame pointer
[task 2018-08-10T20:02:06.450Z] 20:02:06     INFO -  7  libxul.so + 0x21ef404
[task 2018-08-10T20:02:06.451Z] 20:02:06     INFO -     rbp = 0x00007ffd1683e360   rsp = 0x00007ffd1683e340
[task 2018-08-10T20:02:06.452Z] 20:02:06     INFO -     rip = 0x00007f42fb7a9404
[task 2018-08-10T20:02:06.453Z] 20:02:06     INFO -     Found by: previous frame's frame pointer
[task 2018-08-10T20:02:06.454Z] 20:02:06     INFO -  8  libxul.so + 0x17068ba
[task 2018-08-10T20:02:06.455Z] 20:02:06     INFO -     rbp = 0x00007ffd1683e3d0   rsp = 0x00007ffd1683e370
[task 2018-08-10T20:02:06.456Z] 20:02:06     INFO -     rip = 0x00007f42facc08ba
[task 2018-08-10T20:02:06.458Z] 20:02:06     INFO -     Found by: previous frame's frame pointer
[task 2018-08-10T20:02:06.459Z] 20:02:06     INFO -  9  libxul.so + 0x10a3832
[task 2018-08-10T20:02:06.460Z] 20:02:06     INFO -     rbp = 0x00007ffd1683e550   rsp = 0x00007ffd1683e3e0
[task 2018-08-10T20:02:06.461Z] 20:02:06     INFO -     rip = 0x00007f42fa65d832
[task 2018-08-10T20:02:06.462Z] 20:02:06     INFO -     Found by: previous frame's frame pointer
[task 2018-08-10T20:02:06.463Z] 20:02:06     INFO - 10  libxul.so + 0x10ad558
[task 2018-08-10T20:02:06.465Z] 20:02:06     INFO -     rbp = 0x00007ffd1683e660   rsp = 0x00007ffd1683e560
[task 2018-08-10T20:02:06.466Z] 20:02:06     INFO -     rip = 0x00007f42fa667558
[task 2018-08-10T20:02:06.467Z] 20:02:06     INFO -     Found by: previous frame's frame pointer
The real problem here is:

> [task 2018-08-10T20:02:00.998Z] 20:02:00     INFO -  *** Compartment mismatch 0x7f42f38917c0 vs. 0x7f42f11df220
> [task 2018-08-10T20:02:01.096Z] 20:02:01     INFO -  ###!!! [Parent][MessageChannel] Error: (msgtype=0x17007C,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv
> [task 2018-08-10T20:02:01.133Z] 20:02:01     INFO -  1533931321127	Marionette	DEBUG	[22] Frame script loaded
> [task 2018-08-10T20:02:01.133Z] 20:02:01     INFO -  1533931321128	Marionette	DEBUG	[22] Frame script registered
> [task 2018-08-10T20:02:01.161Z] 20:02:01     INFO -  A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down

So a compartment mismatch caused this crash.

Those are new crashes and I wonder if those could be related to bug 1482029?
Component: Firefox UI Tests → JavaScript Engine
Flags: needinfo?(bugs)
Product: Testing → Core
QA Contact: hskupin
Version: Version 3 → unspecified
Possibly not, but there has been other compartment handling changes recently.
How does one run that particular test locally?
Flags: needinfo?(bugs)
Or is there proper stack trace with symbols available somewhere?
See also bug 1481844.
Group: javascript-core-security
See Also: → 1481844
(In reply to Olli Pettay [:smaug] from comment #3)
> Possibly not, but there has been other compartment handling changes recently.
> How does one run that particular test locally?

Just use `mach test testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py` as for any other test.

We've not tracked this recently and the signature was a local address so it is hard to track. Closing as incomplete until this test case breaks again.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Group: javascript-core-security
You need to log in before you can comment on or make changes to this bug.