Looking for saved searches? click on "Search Bugs" above.

crash on executing window.open javascript popup [@ nsTextControlFrame::SetValue]

RESOLVED DUPLICATE of bug 386254

Status

()

Core
Layout: Form Controls
--
critical
RESOLVED DUPLICATE of bug 386254
11 years ago
7 years ago

People

(Reporter: Jerome Borsboom, Assigned: smaug)

Tracking

(4 keywords)

1.8 Branch
x86
Linux
crash, qawanted, regression, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: regression from 368501?, crash signature, URL)

Attachments

(2 attachments)

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5pre) Gecko/20070603 BonEcho/2.0.0.5pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5pre) Gecko/20070603 BonEcho/2.0.0.5pre

Firefox intermittently crashes with a SIGSEGV on opening a popup window with window.open javascript code.

Reproducible: Sometimes

Steps to Reproduce:
1. clicking the 'tekstlink' link in the middle of the given URL
2.
3.
Actual Results:  
a crash with SIGSEGV

Expected Results:  
appearance of a new popup window

Have tried a clean install and a new profile, but this does not resolve the issue.

The same crash can be intermittently evoked when clicking 'Internetbankieren' in the blue bar on the page http://www.rabobank.nl/particulieren/

OS:
Linux nb_knorkaan 2.6.20.11 #1 SMP PREEMPT Thu May 3 20:52:41 CEST 2007 i686 GNU/Linux
(Reporter)

Comment 1

11 years ago
Created attachment 267134 [details]
stack backtrace
(Reporter)

Comment 2

11 years ago
A critical element in the crash seems to be GetFormControlFrame in nsHTMLInputElement::SetValueInternal returning a non-NULL value when clicking the link described above. In that case, the crash happens. When GetFormControlFrame returns NULL, the window pops up as expected.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5pre) Gecko/20070604 BonEcho/2.0.0.5pre
WFM.
(Reporter)

Updated

11 years ago
Version: unspecified → 2.0 Branch

Updated

11 years ago
Keywords: crash

Comment 4

11 years ago
Stack is similar to the one in bug 301270. It would be great if you could attach a minimized testcase including steps on what to do to crash.
Component: General → Layout: Form Controls
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout.form-controls
Summary: crash on executing window.open javascript popup @nsTextControlFrame::SetValue → crash on executing window.open javascript popup [@ nsTextControlFrame::SetValue]
Version: 2.0 Branch → 1.8 Branch
(Reporter)

Comment 5

11 years ago
Created attachment 267169 [details]
testcase using window.open

this minimal testcase crashes my firefox when repeatedly clicking the link and closing the popup window
(Reporter)

Comment 6

11 years ago
bug 357030 also has a similar stack trace

Comment 7

11 years ago
Works for me,  Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/2007051502 Firefox/2.0.0.4

It does seem odd that timer routines are in the stack frame.. Maybe some extension is to blame...
(Reporter)

Comment 8

11 years ago
a method that seems to trigger the bug in 100% of the cases for me:

* run firefox in gdb
* set a breakpoint on nsAppShell::Spindown
* run the test testcase which should trigger the breakpoint
* continue execution which leads to a SIGSEGV with the same stack backtrace


I have no idea why, but this bug seems to be introduced by the commit from bug 368501. When I undo this commit in the current cvs 1.8 branch, the testcase above does not crash firefox anymore.
Blocks: 368501
Flags: blocking1.8.1.5?
Keywords: regression
(Assignee)

Comment 9

11 years ago
Works for me, 1.8 branch/Linux (x86/Fedora7 and x86_64/Fedora5)

Comment 10

11 years ago
At ubuntu's bug tracker we have received 6 crashes with this stacktrace [1]. Btw I cannot reproduce the test case proposed in comment #5.

[1] https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/89090 
I added a testcase (with enhanced privileges) in bug 373586 that crashes with this stacktrace.
How would a bug that was post-1.8 branch be relevant to this bug? or to flip it around, why isn't that test case here rather than added to a fixed bug?
Assignee: nobody → Olli.Pettay
Keywords: qawanted
Whiteboard: regression from 368501?
Don't see how we can block on an unconfirmed bug. Renominate if there's more progress here.
Flags: blocking1.8.1.5?

Comment 14

11 years ago
we still see dupes coming in from 2.0.0.4/1.5.0.12 ... so confirming as a first step.
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 15

11 years ago
note: the attached testcase doesn't crash for me.
A patch was checked in in bug 386254, that fixed a crash with a similar stacktrace.
This was checked in on the 1.8.1.5 and 1.8.0.13 branch, so hopefully that fixes it.

Updated

10 years ago
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 386254

Updated

7 years ago
Crash Signature: [@ nsTextControlFrame::SetValue]
You need to log in before you can comment on or make changes to this bug.