Closed Bug 47938 Opened 26 years ago Closed 26 years ago

pressing the right arrow key in the big comment entry text field crashes mozilla

Categories

(Core :: Layout: Form Controls, defect, P2)

defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: termite, Assigned: mjudge)

References

()

Details

(Keywords: crash, Whiteboard: [nsbeta3+][p:2])

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; m18) Gecko/20000806 BuildID: 2000080608 in any bugzilla bug, clicking in the big comment entry box and pressing the right arrow key without entering any text first crashes mozilla. Reproducible: Always Steps to Reproduce: 1. go to a bugzilla bug page 2. click in the big comment entry box Actual Results: crash Expected Results: no crash
oops...step 3 in reproduction: press the right arrow key
Does that on Linux 2000080714-M18 also.
Keywords: crash
OS: Windows 95 → All
Hardware: PC → All
If it comes up empty, a right arrow will crash it. If you first type in it, then a right arrow does the right thing. Here is the stack trace: nsFrame::PeekOffset(nsFrame * const 0x029dffe4, nsIPresContext * 0x02edf870, nsPeekOffsetStruct * 0x0012ed28) line 2930 + 19 bytes BRFrame::PeekOffset(BRFrame * const 0x029dffe4, nsIPresContext * 0x02edf870, nsPeekOffsetStruct * 0x0012ed28) line 248 + 17 bytes nsSelection::MoveCaret(unsigned int 39, int 0, nsSelectionAmount eSelectCharacter) line 1436 + 41 bytes nsSelection::CharacterMove(nsSelection * const 0x034af820, int 1, int 0) line 1978 + 16 bytes nsTextInputSelectionImpl::CharacterMove(nsTextInputSelectionImpl * const 0x034aef08, int 1, int 0) line 747 + 34 bytes nsSelectionMoveCommands::DoCommand(nsSelectionMoveCommands * const 0x02e9a1a0, const unsigned short * 0x0012f184, nsISupports * 0x034afb50) line 319 + 39 bytes nsControllerCommandManager::DoCommand(nsControllerCommandManager * const 0x02e99300, const unsigned short * 0x0012f184, nsISupports * 0x034afb50) line 189 + 40 bytes nsEditorController::DoCommand(nsEditorController * const 0x03301ee0, const unsigned short * 0x0012f184) line 201 nsXBLEventHandler::ExecuteHandler(nsXBLEventHandler * const 0x022e9920, const nsString & {...}, nsIDOMEvent * 0x0352ecf4) line 636 nsXBLEventHandler::KeyPress(nsIDOMEvent * 0x0352ecf4) line 203 + 40 bytes nsEventListenerManager::HandleEvent(nsIPresContext * 0x02edf870, nsEvent * 0x0012f8a4, nsIDOMEvent * * 0x0012f5d0, nsIDOMEventTarget * 0x032ff2d4, unsigned int 7, nsEventStatus * 0x0012f810) line 1098 + 23 bytes nsGenericElement::HandleDOMEvent(nsIPresContext * 0x02edf870, nsEvent * 0x0012f8a4, nsIDOMEvent * * 0x0012f5d0, unsigned int 1, nsEventStatus * 0x0012f810) line 1385 nsHTMLTextAreaElement::HandleDOMEvent(nsHTMLTextAreaElement * const 0x0316b05c, nsIPresContext * 0x02edf870, nsEvent * 0x0012f8a4, nsIDOMEvent * * 0x00000000, unsigned int 1, nsEventStatus * 0x0012f810) line 535 PresShell::HandleEventInternal(nsEvent * 0x0012f8a4, nsIView * 0x031274e0, nsEventStatus * 0x0012f810) line 4012 + 45 bytes PresShell::HandleEvent(PresShell * const 0x030afd74, nsIView * 0x031274e0, nsGUIEvent * 0x0012f8a4, nsEventStatus * 0x0012f810, int & 1) line 3947 + 23 bytes nsView::HandleEvent(nsView * const 0x031274e0, nsGUIEvent * 0x0012f8a4, unsigned int 8, nsEventStatus * 0x0012f810, int & 1) line 782 nsView::HandleEvent(nsView * const 0x031242c0, nsGUIEvent * 0x0012f8a4, unsigned int 8, nsEventStatus * 0x0012f810, int & 1) line 755 nsView::HandleEvent(nsView * const 0x030ac500, nsGUIEvent * 0x0012f8a4, unsigned int 28, nsEventStatus * 0x0012f810, int & 1) line 755 nsViewManager2::DispatchEvent(nsViewManager2 * const 0x030ac6e0, nsGUIEvent * 0x0012f8a4, nsEventStatus * 0x0012f810) line 1389 HandleEvent(nsGUIEvent * 0x0012f8a4) line 69 nsWindow::DispatchEvent(nsWindow * const 0x03127bd4, nsGUIEvent * 0x0012f8a4, nsEventStatus & nsEventStatus_eIgnore) line 620 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012f8a4) line 641 nsWindow::DispatchKeyEvent(unsigned int 131, unsigned short 0, unsigned int 39) line 2221 + 15 bytes nsWindow::OnKeyDown(unsigned int 39, unsigned int 333) line 2288 nsWindow::ProcessMessage(unsigned int 256, unsigned int 39, long 21823489, long * 0x0012fc28) line 2850 + 32 bytes nsWindow::WindowProc(HWND__ * 0x006206b8, unsigned int 256, unsigned int 39, long 21823489) line 889 + 27 bytes U
Assignee: rods → beppe
yep, can repro on win98 using m18 build from 8/9 on win98 can repro easily if the comments text area is empty, set the focus within the textarea and just press the right arrow key a couple of times starting with jfrancis, if this should go to mjudge, please reassign
Assignee: beppe → jfrancis
Keywords: nsbeta3
Whiteboard: [nsbeta3+]
keyboard selection navigation is mr mike...
Assignee: jfrancis → mjudge
*** Bug 48326 has been marked as a duplicate of this bug. ***
forgot to add milestone
Priority: P3 → P2
Whiteboard: [nsbeta3+] → [nsbeta3+][p:2]
Target Milestone: --- → M18
hmm in my tree from the 9th i cant get a crash. I am pulling on the 14th to see if i can reproduce it.
Status: NEW → ASSIGNED
resolving as worksforme
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Marking VERIFIED FIXED on: - LinuxRH62 2000-09-07-08-M18 Commercial - Win98 2000-09-07-08-M18 Mozilla - MacOS86 2000-09-07-04-M18 Commercial
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.