MASTER: Firefox Crash [@nsFormFillController::OnTextEntered] [@nsAutoCompleteController::EnterMatch] ... [@nsAutoCompleteController::HandleTab at #7]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Fix Released
|
Critical
|
|||
firefox (Ubuntu) |
Fix Released
|
High
|
Mozilla Bugs |
Bug Description
Binary package hint: firefox
I was on my Outlook OWA 2003 webmail - typed in my username, then hit tab and then it froze and after about 15 seconds the browser closed by itself. The page runs under SSL and the product is Micrsofot Outlook Web Access 2003.
I am on Feisty with all updates current.
ProblemType: Crash
Architecture: i386
Date: Sun Mar 18 17:24:20 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/lib/
Package: firefox 2.0.0.2+1-0ubuntu1
PackageArchitec
ProcCmdline: /usr/lib/
ProcCwd: /home/ron
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_CA.UTF-8
Signal: 11
SourcePackage: firefox
StacktraceTop:
?? () from /lib/ld-linux.so.2
raise () from /lib/tls/
?? ()
?? ()
?? ()
Uname: Linux ron-laptop 2.6.20-11-generic #2 SMP Thu Mar 15 08:03:07 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video
Extract from the retraced stacktrace:
...
#3 <signal handler called>
#4 nsFormFillContr
#5 nsAutoCompleteC
#6 nsAutoCompleteC
#7 nsAutoCompleteC
#8 nsFormFillContr
#9 nsEventListener
#10 nsXULElement:
#11 nsXULElement:
...
Changed in firefox: | |
assignee: | nobody → mozilla-bugs |
status: | Unconfirmed → Needs Info |
Changed in firefox: | |
status: | Needs Info → Confirmed |
Changed in firefox: | |
importance: | Undecided → High |
description: | updated |
Changed in firefox: | |
status: | Unknown → Fix Released |
Changed in firefox: | |
status: | Confirmed → In Progress |
Changed in firefox: | |
importance: | Unknown → Critical |
Created attachment 241703
possible patch
Bryner, since ::OnTextEntered is mainly you code, could you review.
This should fix the possible crash when ownerDocument is null or when mFocusedInput is null (if that is possible).
Other change is to set the return value to something. lxr.mozilla. org/seamonkey/ source/ toolkit/ components/ autocomplete/ public/ nsIAutoComplete Input.idl# 149 lxr.mozilla. org/seamonkey/ source/ toolkit/ components/ autocomplete/ src/nsAutoCompl eteController. cpp#1123
That is based on this comment:
http://
but it shouldn't actually change the functionality because the return value isn't actually handled: http://