Closed
Bug 857334
Opened 13 years ago
Closed 13 years ago
crash in mozilla::a11y::XULTextFieldAccessible::FrameSelection
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: wsmwk, Assigned: birunthan)
Details
(Keywords: crash, Whiteboard: [good first bug][mentor=trev.saunders@gmail.com][lang=c++][tbird crash])
Crash Data
Attachments
(1 file)
|
1.10 KB,
patch
|
tbsaunde
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-ed693f70-c819-46a2-a97a-d64872130328 .
=============================================================
0 xul.dll mozilla::a11y::XULTextFieldAccessible::FrameSelection accessible/src/xul/XULFormControlAccessible.cpp:847
1 xul.dll HyperTextAccessible::GetCaretOffset accessible/src/generic/HyperTextAccessible.cpp:1587
2 xul.dll nsCaretAccessible::NormalSelectionChanged accessible/src/base/nsCaretAccessible.cpp:235
3 xul.dll nsCaretAccessible::ProcessSelectionChanged accessible/src/base/nsCaretAccessible.cpp:211
4 xul.dll NotificationController::HandleNotification<nsCaretAccessible,nsISelection> accessible/src/base/NotificationController.h:143
5 xul.dll nsCaretAccessible::NotifySelectionChanged accessible/src/base/nsCaretAccessible.cpp:196
6 xul.dll mozilla::Selection::NotifySelectionListeners layout/generic/nsSelection.cpp:5413
7 xul.dll nsFrameSelection::NotifySelectionListeners layout/generic/nsSelection.cpp:2037
8 xul.dll nsFrameSelection::SetMouseDownState layout/generic/nsSelection.cpp:1697
9 xul.dll nsFrame::HandleRelease layout/generic/nsFrame.cpp:3146
10 xul.dll nsFrame::HandleEvent layout/generic/nsFrame.cpp:2378
11 xul.dll nsPresShellEventCB::HandleEvent layout/base/nsPresShell.cpp:505
12 xul.dll nsEventTargetChainItem::HandleEventTargetChain content/events/src/nsEventDispatcher.cpp:363
Updated•13 years ago
|
Component: Disability Access → Disability Access APIs
Product: Thunderbird → Core
Version: 20 → unspecified
Comment 1•13 years ago
|
||
My guess is that GetInput() is returning null for some reason but I have no idea why
Updated•13 years ago
|
OS: Windows NT → Windows 7
Comment 2•13 years ago
|
||
(In reply to Trevor Saunders (:tbsaunde) from comment #1)
> My guess is that GetInput() is returning null for some reason but I have no
> idea why
same, null check + assertion = hoping we will catch it one day
Whiteboard: [good first bug][mentor=trev.saunders@gmail.com][lang=c++]
| Reporter | ||
Updated•13 years ago
|
Whiteboard: [good first bug][mentor=trev.saunders@gmail.com][lang=c++] → [good first bug][mentor=trev.saunders@gmail.com][lang=c++][tbird crash]
Hi I am interested in working on this bug,but it's my first time to work on with debug,can anybody guide me on how to get started with it?Thanks a lot.
| Reporter | ||
Comment 4•13 years ago
|
||
(In reply to MikeLing from comment #3)
> Hi I am interested in working on this bug,but it's my first time to work on
> with debug,can anybody guide me on how to get started with it?Thanks a lot.
Flags: needinfo?(trev.saunders)
Comment 5•13 years ago
|
||
Hi tbsaunde,
I would like to know more about this bug and how can I go about fixing it. Can you get me started here?
Comment 6•13 years ago
|
||
(In reply to Anand Soni from comment #5)
> Hi tbsaunde,
>
> I would like to know more about this bug and how can I go about fixing it.
> Can you get me started here?
In XULTextFieldAccessible::FrameSelection() you need to check if GetInput() returned null and return null before getting the frame if it did.
Flags: needinfo?(trev.saunders)
Attachment #766247 -
Flags: review?(trev.saunders)
(In reply to Trevor Saunders (:tbsaunde) from comment #6)
> In XULTextFieldAccessible::FrameSelection() you need to check if GetInput()
> returned null and return null before getting the frame if it did.
Hi. I attached a patch to do exactly this. I also added an assertion as per comment #2.
Updated•13 years ago
|
Attachment #766247 -
Flags: review?(trev.saunders) → review+
Updated•13 years ago
|
Keywords: checkin-needed
Comment 9•13 years ago
|
||
Pushed to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/df3ad1eb9ebb
Thanks for the patch!
Comment 10•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•