Closed Bug 121368 Opened 23 years ago Closed 23 years ago

Crash when loading a page containing search results M098 [@ nsTypedSelection::EndBatchChanges][@ nsContainerFrame::FinishReflowChild]

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: vitrac, Assigned: alexsavulov)

References

()

Details

(Keywords: crash, testcase, topcrash)

Crash Data

Attachments

(5 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.7) Gecko/20011226 BuildID: 2001122614 On the Compaq support site, there is a search field where you can enter search terms and validate with the "Go" button. If I enter any search term and press "Go", the page starts to load, but nothing is displayed and then the browser coredumps. Reproducible: Always Steps to Reproduce: 1. Load http://www.compaq.com/support/ 2. Enter search term in the search box on the left 3. Press Go. Actual Results: The browser crashes and dumps a core. Expected Results: The browser should have loaded and displayed the search results. This is a local build of the Mozilla 0.9.7 source code, on a Solaris 7 system. It was compiled with gcc 2.95.3, using the following options in configure : --disable-xprint --disable-tests --disable-debug --enable-crypto --enable-ultrasparc --enable-optimize="-O3" --without-jpeg --without-zlib --without-png
This contains a backtrace of the core and the full list of loaded libraries.
Also crashes on Linux 2002012121
This is also tru on w2k build ID 2002011703. TalkbackID= TB2003770G. Reporter you can change OS => ALL and platform to ALL.
Keywords: crash
OS: Solaris → All
Hardware: Sun → All
my win2k stack is a little bit different. The SunOS stack is -> Layout, my win2k stack is -> selection (?) Marc Attinasi/petersen@netscape.com : Please help :-)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Changing QA Contact
QA Contact: petersen → moied
Crashes using 2002012203 build on WINXP
Target Milestone: --- → mozilla1.0
*** Bug 121511 has been marked as a duplicate of this bug. ***
Talkback ID's on Windows 98, 0.9.7, Build ID: 2002012304: TB2038294G, TB2038385X, and TB2038487G.
When I use the repro steps listed (on Win2K, Trunk build 2002012309) I get a different stack. (attached). Note: Stacks for incidents in comment #9 match the stack in comment #4.
Just tried the steps using build 2002012506 to reproduce my earlier crash. But it didn't crash. Could this be due to jst's checkin in nsContainerFrame.cpp on 1/24 ?
Summary: Crash when loading a page containing search results → Crash when loading a page containing search results [@ nsTypedSelection::EndBatchChanges][@ nsContainerFrame::FinishReflowChild]
Worksforme now, Windows 98, 0.9.7, Build ID: 2002012503. Resolving as worksforme on that basis and the previous comment, which also reported it working.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
*** Bug 122562 has been marked as a duplicate of this bug. ***
verified WFM with Build ID 20020131
Status: RESOLVED → VERIFIED
*** Bug 123255 has been marked as a duplicate of this bug. ***
This one is back as a topcrasher in M098. I can reproduce the crash every time with reporter's steps. Go to www.compaq.com, enter text in the search form and click 'Go' -> crash. This one needs to get fixed. Nominating.
Status: VERIFIED → REOPENED
Keywords: testcase, topcrash
Resolution: WORKSFORME → ---
Summary: Crash when loading a page containing search results [@ nsTypedSelection::EndBatchChanges][@ nsContainerFrame::FinishReflowChild] → Crash when loading a page containing search results M098 [@ nsTypedSelection::EndBatchChanges][@ nsContainerFrame::FinishReflowChild]
Whiteboard: nsbeta
Whiteboard: nsbeta
Marking nsbeta1+
Keywords: nsbeta1+
*** Bug 125699 has been marked as a duplicate of this bug. ***
Just tried repro steps listed above with build ID 20020214 on win2k and Linux, can’t able to reproduce the crash.
Priority: -- → P2
*** Bug 125786 has been marked as a duplicate of this bug. ***
*** Bug 126597 has been marked as a duplicate of this bug. ***
This is the HTML code generated by Compaq's site, with the minimum code required to crash Mozilla. This error is caused by a NOBR tag not being closed, with some Javascript code nested in the "open" NOBR tag. I experienced this crash on build 20020204 under Win2k and build 20011226 under Linux.
taking
Assignee: attinasi → alexsavulov
Status: REOPENED → NEW
this is the first patch that comes in my mind that fixes the crash. maybe i can refine it a little bit and make it a little bit more tolerant
Attachment #72175 - Attachment is patch: true
i will create another patch to also repair the crash @nsTypedSelection::EndBatchChanges (proper refcounting for a member pointer solves that)
2 things: 1. i will open another bug for the nsTypedSelection problem and 2. I had a talk with Marc Attinasi and decided not to try make this patch more tolerant since the method ReframeConatainingBlock is supposed to be remioved in the future by a better implementation
This may solve the crash, but is it a temporary fix? How is the reframe going to occur?
Comment on attachment 72175 [details] [diff] [review] proposed patch V1.0 - prevents nsCSSFrameConstructor::ReframeContainingBlock execute during reflow sr=attinasi
Attachment #72175 - Flags: superreview+
Attachment #72175 - Flags: review+
r= comes from Chris Karnaze
Attachment #72175 - Attachment description: proposed patch V1.0 → proposed patch V1.0 - prevents nsCSSFrameConstructor::ReframeContainingBlock execute during reflow
Comment on attachment 72175 [details] [diff] [review] proposed patch V1.0 - prevents nsCSSFrameConstructor::ReframeContainingBlock execute during reflow a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #72175 - Flags: approval+
fixed on trunk
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
*** Bug 129989 has been marked as a duplicate of this bug. ***
*** Bug 130548 has been marked as a duplicate of this bug. ***
Yes, 0.9.9 on FreeBSD solves the problems I had. Thanks.
Not seeing this one in M099 or Trunk talkback data. VERIFIED.
Status: RESOLVED → VERIFIED
Fixed for me on Linux in 0.9.9...
I think the nsTypedSelection bug is filed at http://bugzilla.mozilla.org/show_bug.cgi?id=117695
kin: attachment 66095 [details] indicates that this is a crash caused by editor creating content during reflow. So, if we ever _do_ fix the text control so that they can create frames during creation, we can back out this fix. (Should we file a bug on that?)
Crash Signature: [@ nsTypedSelection::EndBatchChanges] [@ nsContainerFrame::FinishReflowChild]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: