Closed Bug 26854 Opened 25 years ago Closed 25 years ago

Crash in nsXULKeyListenerImpl::DoKey

Categories

(Core :: XUL, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: bratell, Assigned: saari)

References

Details

(Keywords: crash, Whiteboard: [PDT+])

I tried to fill in the dpi field in preferences when it crashed with an illegal 
memory access. I got the following stack trace. I didn't see if what I wrote got 
entered (not mozilla's fault) so I pressed a lot of numbers.

This was with a CVS build from 2000-02-07

nsXULKeyListenerImpl::DoKey(nsIDOMEvent * 0x042db524, eEventType eKeyPress) line 
495 + 48 bytes
nsXULKeyListenerImpl::KeyPress(nsIDOMEvent * 0x042db524) line 463
nsEventListenerManager::HandleEvent(nsIPresContext * 0x040e80b8, nsEvent * 
0x0012d244, nsIDOMEvent * * 0x0012d16c, unsigned int 2, nsEventStatus * 
0x0012d288) line 996 + 17 bytes
nsXULDocument::HandleDOMEvent(nsXULDocument * const 0x03e94db8, nsIPresContext * 
0x040e80b8, nsEvent * 0x0012d244, nsIDOMEvent * * 0x0012d16c, unsigned int 2, 
nsEventStatus * 0x0012d288) line 1916
nsXULElement::HandleDOMEvent(nsXULElement * const 0x03f28ad8, nsIPresContext * 
0x040e80b8, nsEvent * 0x0012d244, nsIDOMEvent * * 0x0012d16c, unsigned int 2, 
nsEventStatus * 0x0012d288) line 2956 + 39 bytes
nsXULElement::HandleDOMEvent(nsXULElement * const 0x03e19f70, nsIPresContext * 
0x040e80b8, nsEvent * 0x0012d244, nsIDOMEvent * * 0x0012d16c, unsigned int 2, 
nsEventStatus * 0x0012d288) line 2950 + 39 bytes
nsGenericElement::HandleDOMEvent(nsIPresContext * 0x040e80b8, nsEvent * 
0x0012d244, nsIDOMEvent * * 0x0012d16c, unsigned int 2, nsEventStatus * 
0x0012d288) line 811 + 39 bytes
nsHTMLIFrameElement::HandleDOMEvent(nsHTMLIFrameElement * const 0x03e1a2bc, 
nsIPresContext * 0x040e80b8, nsEvent * 0x0012d244, nsIDOMEvent * * 0x0012d16c, 
unsigned int 2, nsEventStatus * 0x0012d288) line 316
nsHTMLIFrameElement::HandleChromeEvent(nsHTMLIFrameElement * const 0x03e1a2c0, 
nsIPresContext * 0x040e80b8, nsEvent * 0x0012d244, nsIDOMEvent * * 0x0012d16c, 
unsigned int 2, nsEventStatus * 0x0012d288) line 334
GlobalWindowImpl::HandleDOMEvent(GlobalWindowImpl * const 0x03f37544, 
nsIPresContext * 0x040e80b8, nsEvent * 0x0012d244, nsIDOMEvent * * 0x0012d16c, 
unsigned int 2, nsEventStatus * 0x0012d288) line 3337
nsXULDocument::HandleDOMEvent(nsXULDocument * const 0x0426ad38, nsIPresContext * 
0x040e80b8, nsEvent * 0x0012d244, nsIDOMEvent * * 0x0012d16c, unsigned int 2, 
nsEventStatus * 0x0012d288) line 1920
nsXULElement::HandleDOMEvent(nsXULElement * const 0x0426ac38, nsIPresContext * 
0x040e80b8, nsEvent * 0x0012d244, nsIDOMEvent * * 0x0012d16c, unsigned int 2, 
nsEventStatus * 0x0012d288) line 2956 + 39 bytes
nsGenericElement::HandleDOMEvent(nsIPresContext * 0x040e80b8, nsEvent * 
0x0012d244, nsIDOMEvent * * 0x0012d16c, unsigned int 2, nsEventStatus * 
0x0012d288) line 811 + 39 bytes
nsHTMLFieldSetElement::HandleDOMEvent(nsHTMLFieldSetElement * const 0x04238014, 
nsIPresContext * 0x040e80b8, nsEvent * 0x0012d244, nsIDOMEvent * * 0x0012d16c, 
unsigned int 2, nsEventStatus * 0x0012d288) line 285
nsXULElement::HandleDOMEvent(nsXULElement * const 0x041066a0, nsIPresContext * 
0x040e80b8, nsEvent * 0x0012d244, nsIDOMEvent * * 0x0012d16c, unsigned int 2, 
nsEventStatus * 0x0012d288) line 2950 + 39 bytes
nsGenericElement::HandleDOMEvent(nsIPresContext * 0x040e80b8, nsEvent * 
0x0012d244, nsIDOMEvent * * 0x0012d16c, unsigned int 1, nsEventStatus * 
0x0012d288) line 811 + 39 bytes
nsHTMLInputElement::HandleDOMEvent(nsHTMLInputElement * const 0x04106be8, 
nsIPresContext * 0x040e80b8, nsEvent * 0x0012d244, nsIDOMEvent * * 0x00000000, 
unsigned int 1, nsEventStatus * 0x0012d288) line 741 + 31 bytes
nsEnderEventListener::KeyPress(nsIDOMEvent * 0x042d623c) line 3547 + 62 bytes
nsEventListenerManager::HandleEvent(nsIPresContext * 0x04282f08, nsEvent * 
0x0012d774, nsIDOMEvent * * 0x0012d4d8, unsigned int 2, nsEventStatus * 
0x0012d6dc) line 996 + 17 bytes
nsDocument::HandleDOMEvent(nsDocument * const 0x04282828, nsIPresContext * 
0x04282f08, nsEvent * 0x0012d774, nsIDOMEvent * * 0x0012d4d8, unsigned int 2, 
nsEventStatus * 0x0012d6dc) line 2472
nsHTMLHtmlElement::HandleDOMEvent(nsHTMLHtmlElement * const 0x04282c5c, 
nsIPresContext * 0x04282f08, nsEvent * 0x0012d774, nsIDOMEvent * * 0x0012d4d8, 
unsigned int 2, nsEventStatus * 0x0012d6dc) line 192 + 41 bytes
nsGenericElement::HandleDOMEvent(nsIPresContext * 0x04282f08, nsEvent * 
0x0012d774, nsIDOMEvent * * 0x0012d4d8, unsigned int 2, nsEventStatus * 
0x0012d6dc) line 811 + 39 bytes
nsHTMLBodyElement::HandleDOMEvent(nsHTMLBodyElement * const 0x04282d4c, 
nsIPresContext * 0x04282f08, nsEvent * 0x0012d774, nsIDOMEvent * * 0x0012d4d8, 
unsigned int 2, nsEventStatus * 0x0012d6dc) line 715
nsGenericDOMDataNode::HandleDOMEvent(nsIPresContext * 0x04282f08, nsEvent * 
0x0012d774, nsIDOMEvent * * 0x0012d4d8, unsigned int 1, nsEventStatus * 
0x0012d6dc) line 799 + 39 bytes
nsTextNode::HandleDOMEvent(nsTextNode * const 0x042d58f4, nsIPresContext * 
0x04282f08, nsEvent * 0x0012d774, nsIDOMEvent * * 0x00000000, unsigned int 1, 
nsEventStatus * 0x0012d6dc) line 234
PresShell::HandleEvent(PresShell * const 0x042ada34, nsIView * 0x042d0138, 
nsGUIEvent * 0x0012d774, nsEventStatus * 0x0012d6dc) line 2850 + 39 bytes
nsView::HandleEvent(nsView * const 0x042d0138, nsGUIEvent * 0x0012d774, unsigned 
int 8, nsEventStatus * 0x0012d6dc, int & 0) line 799
nsView::HandleEvent(nsView * const 0x042cf9e8, nsGUIEvent * 0x0012d774, unsigned 
int 8, nsEventStatus * 0x0012d6dc, int & 0) line 784
nsView::HandleEvent(nsView * const 0x042ad720, nsGUIEvent * 0x0012d774, unsigned 
int 28, nsEventStatus * 0x0012d6dc, int & 0) line 784
nsViewManager::DispatchEvent(nsViewManager * const 0x042b60b8, nsGUIEvent * 
0x0012d774, nsEventStatus * 0x0012d6dc) line 1705
HandleEvent(nsGUIEvent * 0x0012d774) line 69
nsWindow::DispatchEvent(nsWindow * const 0x042cfaa4, nsGUIEvent * 0x0012d774, 
nsEventStatus & nsEventStatus_eIgnore) line 498 + 10 bytes
nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012d774) line 519
nsWindow::DispatchKeyEvent(unsigned int 131, unsigned short 0, unsigned int 13) 
line 1889 + 15 bytes
nsWindow::OnChar(unsigned int 13, unsigned int 13, unsigned char 1) line 2095
nsWindow::ProcessMessage(unsigned int 258, unsigned int 13, long 1835009, long * 
0x0012da0c) line 2229 + 51 bytes
nsWindow::WindowProc(HWND__ * 0x00030ca4, unsigned int 258, unsigned int 13, 
long 1835009) line 678 + 27 bytes
USER32! 77e13eb0()
USER32! 77e1401a()
USER32! 77e192da()
nsWebShellWindow::ShowModalInternal(nsWebShellWindow * const 0x03f630e0) line 
1458
nsWebShellWindow::ShowModal(nsWebShellWindow * const 0x03f630e0) line 1418 + 9 
bytes
nsWebShellWindow::ShowModally(nsWebShellWindow * const 0x03f63118, int 0) line 
1494 + 16 bytes
GlobalWindowImpl::OpenInternal(JSContext * 0x02e3bbf0, long * 0x035d1988, 
unsigned int 4, int 1, nsIDOMWindow * * 0x0012de94) line 2608
GlobalWindowImpl::OpenDialog(GlobalWindowImpl * const 0x02f04248, JSContext * 
0x02e3bbf0, long * 0x035d1988, unsigned int 4, nsIDOMWindow * * 0x0012de94) line 
2449
WindowOpenDialog(JSContext * 0x02e3bbf0, JSObject * 0x028a6c70, unsigned int 4, 
long * 0x035d1988, long * 0x0012df54) line 2421 + 31 bytes
js_Invoke(JSContext * 0x02e3bbf0, unsigned int 4, unsigned int 0) line 665 + 26 
bytes
js_Interpret(JSContext * 0x02e3bbf0, long * 0x0012e7e0) line 2273 + 15 bytes
js_Invoke(JSContext * 0x02e3bbf0, unsigned int 2, unsigned int 0) line 681 + 13 
bytes
js_Interpret(JSContext * 0x02e3bbf0, long * 0x0012f028) line 2273 + 15 bytes
js_Invoke(JSContext * 0x02e3bbf0, unsigned int 1, unsigned int 2) line 681 + 13 
bytes
js_InternalInvoke(JSContext * 0x02e3bbf0, JSObject * 0x037e0920, long 58591528, 
unsigned int 0, unsigned int 1, long * 0x0012f1b4, long * 0x0012f160) line 754 + 
19 bytes
JS_CallFunctionValue(JSContext * 0x02e3bbf0, JSObject * 0x037e0920, long 
58591528, unsigned int 1, long * 0x0012f1b4, long * 0x0012f160) line 2772 + 31 
bytes
nsJSContext::CallEventHandler(nsJSContext * const 0x02f21c90, void * 0x037e0920, 
void * 0x037e0928, unsigned int 1, void * 0x0012f1b4, int * 0x0012f1b0) line 562 
+ 33 bytes
nsJSEventListener::HandleEvent(nsIDOMEvent * 0x03ed0774) line 128 + 57 bytes
nsEventListenerManager::HandleEventSubType(nsListenerStruct * 0x036a4c18, 
nsIDOMEvent * 0x03ed0774, unsigned int 8) line 677 + 19 bytes
nsEventListenerManager::HandleEvent(nsIPresContext * 0x03591f88, nsEvent * 
0x0012f6e0, nsIDOMEvent * * 0x0012f6ac, unsigned int 7, nsEventStatus * 
0x0012f724) line 1436 + 31 bytes
nsXULElement::HandleDOMEvent(nsXULElement * const 0x036a4a98, nsIPresContext * 
0x03591f88, nsEvent * 0x0012f6e0, nsIDOMEvent * * 0x0012f6ac, unsigned int 1, 
nsEventStatus * 0x0012f724) line 2931
nsMenuFrame::Execute() line 1102
nsMenuFrame::HandleEvent(nsMenuFrame * const 0x040463e0, nsIPresContext * 
0x03591f88, nsGUIEvent * 0x0012fa84, nsEventStatus * 0x0012f990) line 285
PresShell::HandleEvent(PresShell * const 0x03584264, nsIView * 0x03d45928, 
nsGUIEvent * 0x0012fa84, nsEventStatus * 0x0012f990) line 2859 + 38 bytes
nsView::HandleEvent(nsView * const 0x03d45928, nsGUIEvent * 0x0012fa84, unsigned 
int 8, nsEventStatus * 0x0012f990, int & 0) line 799
nsView::HandleEvent(nsView * const 0x02f50510, nsGUIEvent * 0x0012fa84, unsigned 
int 28, nsEventStatus * 0x0012f990, int & 0) line 784
nsViewManager::DispatchEvent(nsViewManager * const 0x02cb04a0, nsGUIEvent * 
0x0012fa84, nsEventStatus * 0x0012f990) line 1705
HandleEvent(nsGUIEvent * 0x0012fa84) line 69
nsWindow::DispatchEvent(nsWindow * const 0x03fe590c, nsGUIEvent * 0x0012fa84, 
nsEventStatus & nsEventStatus_eIgnore) line 498 + 10 bytes
nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012fa84) line 519
nsWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 3040 + 
21 bytes
ChildWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 
3258
nsWindow::ProcessMessage(unsigned int 514, unsigned int 0, long 19005501, long * 
0x0012fd10) line 2336 + 24 bytes
nsWindow::WindowProc(HWND__ * 0x00230b3a, unsigned int 514, unsigned int 0, long 
19005501) line 678 + 27 bytes
USER32! 77e13eb0()
USER32! 77e1401a()
USER32! 77e192da()
nsAppShellService::Run(nsAppShellService * const 0x00d033c8) line 404
main1(int 1, char * * 0x00b670c0, nsISplashScreen * 0x00000000) line 689 + 32 
bytes
main(int 1, char * * 0x00b670c0) line 789 + 17 bytes
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 77e87903()
Saari, do you own this func?
Assignee: joki → saari
Putting crash in the keyword field.
Keywords: crash
Ergh, beta1
Status: NEW → ASSIGNED
Keywords: beta1
Target Milestone: M14
[PDT+] to just get rid of the crash, or diable the pref to get rid of the crash
Whiteboard: [PDT+]
Severity: normal → critical
Did someone remove the DPI test case? I cannot reproduce this crash anywhere
else, so I'm marking this worksforme unless someone gives back the DPI test
case, or gets another test case
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Blocks: 25824
The font dpi pref is back in the panels, but I cannot duplicate this crash 
with 2000030709 opt comm bits on linux (rh6.0), mac (8.6) or win98. Verifying
as WORKSFORME, but please reopen if you notice this again, 
bratell@lysator.liu.se. Thanks. 
Status: RESOLVED → VERIFIED
Component: Event Handling → XP Toolkit/Widgets
QA Contact: janc → jrgm
You need to log in before you can comment on or make changes to this bug.