Closed
Bug 324562
Opened 20 years ago
Closed 20 years ago
JS Alert(), onFocus and FF crash [@ nsEventStateManager::PreHandleEvent()]
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 281139
People
(Reporter: mozilla, Unassigned)
References
()
Details
(Keywords: crash)
Crash Data
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
If you open that link, click in that INPUT, it shows alert, when you click ok, it shows that alert again (onfocus again), that's ok. but when alert is showed and you change focus to main firefox window and click on Close (X) nothing happed. (first bug)
then, when you click on OK button in alert window, FF crash. (second bug)
Reproducible: Always
| Reporter | ||
Comment 1•20 years ago
|
||
sorry update:
you must click to input, then click OK in Alert dialog, then change focus to main window (by mouse click into page), hit ENTER (submit form), then click close(X), click into main window and click on OK button in Alert dialog
Comment 2•20 years ago
|
||
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
>but when alert is showed
>and you change focus to main firefox window and click on Close (X) nothing
>happed. (first bug)
The alert window is modal preventing you from focusing any part of the window but the dialog. You can remove focus from it, but you can't truly focus the parent window or close it traditionally.
>then, when you click on OK button in alert window, FF crash. (second bug)
No crash here using the build above. Could you please install Talkback (http://kb.mozillazine.org/Talkback) and paste the ID here?
| Reporter | ||
Comment 3•20 years ago
|
||
TB14373135M
TB14373146G
TB14373305K
| Reporter | ||
Comment 4•20 years ago
|
||
i'm using ff 1.5, and fluxbox(0.9.14-gentoo-r1) on linux
Updated•20 years ago
|
Keywords: talkbackid
Comment 5•20 years ago
|
||
Dupe of/related to bug 281139 and/or bug 267286?
Summary: JS Alert(), onFocus and FF crash → JS Alert(), onFocus and FF crash [@ nsEventStateManager::PreHandleEvent()]
| Reporter | ||
Comment 6•20 years ago
|
||
i think bug 281139 is similar to my
Comment 7•20 years ago
|
||
Incident ID: 14373135
Stack Signature nsEventStateManager::PreHandleEvent() 5df4d679
Product ID Firefox15
Build ID 2005111116
Trigger Time 2006-01-24 13:50:21.0
Platform LinuxIntel
Operating System Linux 2.6.14
Module firefox-bin + (0031ae3d)
URL visited
User Comments
Since Last Crash 0 sec
Total Uptime 55 sec
Trigger Reason SIGSEGV: Segmentation Fault: (signal 11)
Source File, Line No. /builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/events/src/nsEventStateManager.cpp, line 243
Stack Trace
nsEventStateManager::PreHandleEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/content/events/src/nsEventStateManager.cpp, line 243]
PresShell::HandleEventInternal() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/base/nsPresShell.cpp, line 6361]
PresShell::HandleEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/base/nsPresShell.cpp, line 6202]
nsViewManager::HandleEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/view/src/nsViewManager.cpp, line 848]
nsViewManager::DispatchEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/view/src/nsViewManager.cpp, line 2246]
HandleEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/view/src/nsView.cpp, line 251]
nsCommonWidget::DispatchEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsCommonWidget.cpp, line 219]
nsCommonWidget::DispatchActivateEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsCommonWidget.cpp, line 182]
nsWindow::DispatchActivateEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsWindow.cpp, line 4296]
nsWindow::SetFocus() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsWindow.cpp, line 730]
nsGlobalWindow::Focus() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/dom/src/base/nsGlobalWindow.cpp, line 848]
nsWebShellWindow::HandleEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp, line 501]
nsCommonWidget::DispatchEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsCommonWidget.cpp, line 219]
nsCommonWidget::DispatchGotFocusEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsCommonWidget.cpp, line 166]
nsWindow::OnContainerFocusInEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsWindow.cpp, line 1618]
focus_in_event_cb() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsWindow.cpp, line 3735]
*** This bug has been marked as a duplicate of 281139 ***
Comment 8•20 years ago
|
||
I'm not sure this is a dup of bug 281139.
That one should be fixed now on trunk builds, but is this one too?
I haven't been able to reproduce this bug, so could someone else test?
The stack attached to this bug looks a bit different comparing to 281139.
Comment 9•20 years ago
|
||
Hmm, or is this bug branch only?
| Assignee | ||
Updated•15 years ago
|
Crash Signature: [@ nsEventStateManager::PreHandleEvent()]
You need to log in
before you can comment on or make changes to this bug.
Description
•