Closed
Bug 612565
Opened 14 years ago
Closed 14 years ago
Unresponsive script when loading EtherPad document (or pages which use the ACE editor)
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
mozilla2.0b8
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta8+ |
People
(Reporter: automatedtester, Assigned: ehsan.akhgari)
References
()
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
2.85 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
When Accessing http://etherpad.mozilla.com:9000/mozauto-101119 I am suddenly getting an unresponsive script.
This is working fine in Fx4b7. This has been replicated by Dave Hunt in Test automation too.
Reporter | ||
Updated•14 years ago
|
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
Comment 1•14 years ago
|
||
For me, unresponsive script occurs in build:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b8pre) Gecko/20101115 Firefox/4.0b8pre
Reporter | ||
Comment 2•14 years ago
|
||
About:BuildConfig details
about:buildconfig
Source
Built from http://hg.mozilla.org/mozilla-central/rev/edf41ff32f08
Build platform
target
i386-apple-darwin10.2.0
Build tools
Compiler Version Compiler flags
gcc-4.2 -arch i386 gcc version 4.2.1 (Apple Inc. build 5646) (dot 1) -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -gdwarf-2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNO_X11 -DNDEBUG -DTRIMMED -gdwarf-2 -O3 -fomit-frame-pointer
g++-4.2 -arch i386 gcc version 4.2.1 (Apple Inc. build 5646) (dot 1) -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -gdwarf-2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fno-strict-aliasing -fpascal-strings -fno-common -fshort-wchar -pthread -DNO_X11 -DNDEBUG -DTRIMMED -gdwarf-2 -O3 -fomit-frame-pointer
Configure arguments
--target=i386-apple-darwin10.2.0 --with-macos-sdk=/Developer/SDKs/MacOSX10.5.sdk --enable-application=browser --enable-update-channel=nightly --enable-update-packaging --enable-tests --enable-codesighs --disable-install-strip --enable-debug-symbols=-gdwarf-2
Source
Built from http://hg.mozilla.org/mozilla-central/rev/edf41ff32f08
Build platform
target
x86_64-apple-darwin10.2.0
Build tools
Compiler Version Compiler flags
gcc-4.2 -arch x86_64 gcc version 4.2.1 (Apple Inc. build 5646) (dot 1) -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -gdwarf-2 -isysroot /Developer/SDKs/MacOSX10.6.sdk -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNO_X11 -DNDEBUG -DTRIMMED -gdwarf-2 -O3 -fomit-frame-pointer
g++-4.2 -arch x86_64 gcc version 4.2.1 (Apple Inc. build 5646) (dot 1) -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -gdwarf-2 -isysroot /Developer/SDKs/MacOSX10.6.sdk -fno-strict-aliasing -fpascal-strings -fno-common -fshort-wchar -pthread -DNO_X11 -DNDEBUG -DTRIMMED -gdwarf-2 -O3 -fomit-frame-pointer
Configure arguments
--target=x86_64-apple-darwin10.2.0 --with-macos-sdk=/Developer/SDKs/MacOSX10.6.sdk --enable-application=browser --enable-update-channel=nightly --enable-update-packaging --enable-tests --enable-codesighs --disable-install-strip --enable-debug-symbols=-gdwarf-2
Comment 3•14 years ago
|
||
Are you guys willing to hunt down a regression range?
Comment 4•14 years ago
|
||
As given by Dave on IRC the range is:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=674f2ed15cea&tochange=edf41ff32f08
Could the patches for content editable elements be the cause of it? I will start a hg bisect.
Updated•14 years ago
|
Keywords: regression
Comment 5•14 years ago
|
||
Bisecting is not possible in this time range because of all that broken patches. I will manually cherry-pick changesets.
Updated•14 years ago
|
Summary: Unresponsive Script from EtherPad in Minefield build but works in Fx4b7 → Unresponsive script when loading EtherPad document
Comment 6•14 years ago
|
||
Why can't you bisect with broken patches? Just |bisect -s| the broken changesets, no?
Comment 8•14 years ago
|
||
As is turned out my local tree was broken since the last bisecting. Have to do a clobber and start over. Will take a bit longer now.
Comment 9•14 years ago
|
||
The first bad revision is:
changeset: 57481:54d00e3411ab
user: Ehsan Akhgari <ehsan@mozilla.com>
date: Thu Nov 11 16:40:52 2010 -0500
summary: Bug 611182 - Part 3: Handle dynamic changes to the editable documents and create/remove the bogus node if needed; r=bzbarsky a=blocking-beta8+
Blocks: 611182
Updated•14 years ago
|
blocking2.0: --- → ?
Updated•14 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Updated•14 years ago
|
Assignee: general → nobody
blocking2.0: ? → beta8+
Component: JavaScript Engine → Editor
QA Contact: general → editor
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → ehsan
Comment 11•14 years ago
|
||
I had this same problem, handed it off to Sayre yesterday, and it seems to be fixed in TraceMonkey nightly build from today.
Note that I never saw the "slow script" dialog, it just made my browser hang. I don't think I have ticked the "don't ask me again" on the slow script dialog.
Comment 12•14 years ago
|
||
Some clarifications:
- I did indeed have the "unresponsive script" set to "don't ask again", but I might have found some buggy behavior there. Will put that in a separate bug.
- By "handing off", I meant that I got Sayre to reproduce the bug on his setup, and he took it from there. In any case, it seems fixed on TraceMonkey nightlies.
Comment 13•14 years ago
|
||
Alexander, this bug is a recent m-c regression; the patch that caused it hasn't landed on tracemonkey yet.
Assignee | ||
Comment 14•14 years ago
|
||
The fix. I will also attach an automated testcase as soon as I can write one.
Attachment #490945 -
Flags: review?(roc)
Attachment #490945 -
Flags: review?(roc) → review+
Comment 15•14 years ago
|
||
Ah, I see. It wasn't fixed on TM, rather it just wasn't yet occuring.
Assignee | ||
Comment 16•14 years ago
|
||
Reading Etherpad's source code, I managed to come up with a test case as well.
Attachment #490945 -
Attachment is obsolete: true
Attachment #490955 -
Flags: review?(roc)
Attachment #490955 -
Flags: review?(roc) → review+
Assignee | ||
Comment 17•14 years ago
|
||
This is actually a problem with all of the pages which use the ACE editor framework, since the code which triggers this bug is in ACE. Resummarizing.
Summary: Unresponsive script when loading EtherPad document → Unresponsive script when loading EtherPad document (or pages which use the ACE editor)
Assignee | ||
Comment 18•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Comment 19•14 years ago
|
||
Verified with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b8pre) Gecko/20101117 Firefox/4.0b8pre ID:20101117030837
Status: RESOLVED → VERIFIED
Flags: in-litmus-
You need to log in
before you can comment on or make changes to this bug.
Description
•