Closed Bug 947778 Opened 6 years ago Closed 5 years ago

TEST-UNEXPECTED-FAIL | addon-sdk/tests/test-ui-sidebar-private-browsing.testDestroyEdgeCaseBugWithPrivateWindow | Test output exceeded timeout (300s).

Categories

(Add-on SDK Graveyard :: General, defect, P2)

x86
Linux
defect

Tracking

(firefox27 unaffected, firefox28 fixed, firefox29 fixed, firefox-esr24 unaffected)

RESOLVED WORKSFORME
Tracking Status
firefox27 --- unaffected
firefox28 --- fixed
firefox29 --- fixed
firefox-esr24 --- unaffected

People

(Reporter: philor, Assigned: smaug)

References

Details

(Keywords: assertion, intermittent-failure)

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=31657973&tree=Mozilla-Inbound
Ubuntu VM 12.04 mozilla-inbound debug test jetpack on 2013-12-08 17:11:36 PST for push f749a52bd4e6
slave: tst-linux32-ec2-051

TEST-PASS | tests/test-ui-sidebar-private-browsing.testDestroyEdgeCaseBugWithPrivateWindow | showing the sidebar
++DOMWINDOW == 502 (0x2d315ddc) [pid = 2194] [serial = 2525] [outer = 0x14c4968c]
--DOCSHELL 0x2af3ffa8 == 87 [pid = 2194] [id = 952]
--DOCSHELL 0x2c75c8c0 == 86 [pid = 2194] [id = 1009]
--DOCSHELL 0x2c613988 == 85 [pid = 2194] [id = 1008]
--DOCSHELL 0x2b01d8b0 == 84 [pid = 2194] [id = 1007]
--DOCSHELL 0x2ac10590 == 83 [pid = 2194] [id = 1006]
--DOCSHELL 0x2ca41170 == 82 [pid = 2194] [id = 1005]
--DOCSHELL 0x2c6bd8a0 == 81 [pid = 2194] [id = 1003]
--DOCSHELL 0x2c27be90 == 80 [pid = 2194] [id = 1002]
--DOCSHELL 0x2bfa6740 == 79 [pid = 2194] [id = 1001]
--DOCSHELL 0x26e97ee0 == 78 [pid = 2194] [id = 981]
--DOCSHELL 0x2bae2708 == 77 [pid = 2194] [id = 867]
--DOCSHELL 0x25e9a2b8 == 76 [pid = 2194] [id = 1000]
--DOCSHELL 0x2a248630 == 75 [pid = 2194] [id = 999]
--DOCSHELL 0x2ab68648 == 74 [pid = 2194] [id = 998]
--DOCSHELL 0x26e97870 == 73 [pid = 2194] [id = 995]
--DOCSHELL 0x2ca327c0 == 72 [pid = 2194] [id = 1004]
--DOCSHELL 0x27405718 == 71 [pid = 2194] [id = 988]
--DOCSHELL 0x2c1ca138 == 70 [pid = 2194] [id = 994]
--DOCSHELL 0x2b531108 == 69 [pid = 2194] [id = 997]
--DOCSHELL 0x29bb7378 == 68 [pid = 2194] [id = 918]
--DOCSHELL 0x2bd9f288 == 67 [pid = 2194] [id = 888]
--DOCSHELL 0x2569c960 == 66 [pid = 2194] [id = 987]
--DOCSHELL 0x28c4ff88 == 65 [pid = 2194] [id = 974]
--DOCSHELL 0x2ce12188 == 64 [pid = 2194] [id = 1014]
--DOCSHELL 0x29a28350 == 63 [pid = 2194] [id = 1013]
--DOCSHELL 0x288a9d60 == 62 [pid = 2194] [id = 1012]
--DOCSHELL 0x29771f30 == 61 [pid = 2194] [id = 1011]
--DOCSHELL 0x2b043b90 == 60 [pid = 2194] [id = 1010]
[2194] WARNING: NS_ENSURE_TRUE(mScriptGlobalObject) failed: file ../../../../../content/xul/document/src/XULDocument.cpp, line 3696
Assertion failure: aScopeObject || aHandler.HasEventHandler() (Must have one or the other!), at ../../../../content/events/src/nsEventListenerManager.cpp:584

Program firefox/firefox-bin (pid = 2194) received signal 11.
Stack:
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x02433842]
UNKNOWN 0xb77a240c
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x011db511]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x010b9886]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x013bc5ba]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x013bd9a9]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x013bdb21]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x0139f570]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x013a6852]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x013a7160]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x013b9be7]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x0048067e]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x00418b11]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x006b0667]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x0069c41c]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x0069c442]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x00daade9]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x01a78add]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x01a1f804]
UNKNOWN [/builds/slave/test/build/firefox/libxul.so +0x01a2254d]
XRE_main+0x000000a7 [/builds/slave/test/build/firefox/libxul.so +0x01a22787]
UNKNOWN [firefox/firefox-bin +0x000033af]
UNKNOWN [firefox/firefox-bin +0x0000352d]
Sleeping for 300 seconds.
Type 'gdb firefox/firefox-bin 2194' to attach your debugger to this thread.
Done sleeping...
TEST-UNEXPECTED-FAIL | tests/test-ui-sidebar-private-browsing.testDestroyEdgeCaseBugWithPrivateWindow | Test output exceeded timeout (300s).
Traceback (most recent call last):
  File "jetpack/bin/cfx", line 33, in <module>
    cuddlefish.run()
  File "/builds/slave/test/build/jetpack/python-lib/cuddlefish/__init__.py", line 612, in run
    test_all_packages(env_root, defaults=options.__dict__)
  File "/builds/slave/test/build/jetpack/python-lib/cuddlefish/__init__.py", line 494, in test_all_packages
    env_root=env_root)
  File "/builds/slave/test/build/jetpack/python-lib/cuddlefish/__init__.py", line 945, in run
    pkgdir=options.pkgdir)
  File "/builds/slave/test/build/jetpack/python-lib/cuddlefish/runner.py", line 742, in run_app
    OUTPUT_TIMEOUT, test_name, parseable)
Exception: Test output exceeded timeout (300s).
Flags: needinfo?(bugs)
Logs aren't useful here :/ No proper stack traces.
I think it is a case when we're setting onfoo attribute on an (XUL) document which window doesn't
have global js object anymore or yet.
Flags: needinfo?(bugs)
Attachment #8354998 - Flags: review?(Ms2ger)
Comment on attachment 8354998 [details] [diff] [review]
elm_assert.diff

Review of attachment 8354998 [details] [diff] [review]:
-----------------------------------------------------------------

Sorry, I really don't feel confident reviewing this.
Attachment #8354998 - Flags: review?(Ms2ger)
Attachment #8354998 - Flags: review?(bzbarsky)
Comment on attachment 8354998 [details] [diff] [review]
elm_assert.diff

r=me
Attachment #8354998 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/1b021e8fc5cc
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Can we please nominate this for uplift as well?
Assignee: nobody → bugs
Flags: needinfo?(bugs)
Target Milestone: --- → mozilla29
Comment on attachment 8354998 [details] [diff] [review]
elm_assert.diff

[Approval Request Comment]
Bug caused by (feature/regressing bug #):
Not clear. Some change in the tests or change to lifetime management of global js object
User impact if declined: Shouldn't affect to opt builds
Testing completed (on m-c, etc.): landed to m-c today
Risk to taking this patch (and alternatives if risky):  
String or IDL/UUID changes made by this patch: NA
Attachment #8354998 - Flags: approval-mozilla-aurora?
Flags: needinfo?(bugs)
(In reply to Olli Pettay [:smaug] from comment #78)
> User impact if declined: Shouldn't affect to opt builds
...since we shouldn't run those event handlers anyway, if there isn't the global.
Attachment #8354998 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: Intermittent test-ui-sidebar-private-browsing.testDestroyEdgeCaseBugWithPrivateWindow | Test output exceeded timeout (300s) after Assertion failure: aScopeObject || aHandler.HasEventHandler() (Must have one or the other!) → TEST-UNEXPECTED-FAIL | addon-sdk/tests/test-ui-sidebar-private-browsing.testDestroyEdgeCaseBugWithPrivateWindow | Test output exceeded timeout (300s).
Target Milestone: mozilla29 → ---
Inactive; closing (see bug 1180138).
Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.