Closed
Bug 746990
Opened 13 years ago
Closed 13 years ago
crash in nsXULTreeAccessible::Value
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
VERIFIED
FIXED
mozilla15
People
(Reporter: MarcoZ, Assigned: capella)
References
()
Details
(Keywords: crash, Whiteboard: [good first bug][mentor=trev.saunders@gmail.com][lang=c++][gs][gssolved])
Crash Data
Attachments
(1 file)
809 bytes,
patch
|
surkov
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-c7d007a9-42bd-48eb-96a7-0695d2120419 .
=============================================================
I did the following:
1. Opened Thunderbird.
2. Opened the IM module and logged on to a few IRC channels.
3. Right-clicked one of the IRC channels and selected "Close this conversation".
Note that I had right-clicked the "Nickserv" message conversation before and closed it without incident, so this may not be reproducible at will.
![]() |
||
Comment 1•13 years ago
|
||
It looks like the accessible is alive (probably in doc cache) but has been shutdown, leaving mTreeView nulled out. Meanwhile NVDA is asking for a value and kaboom.
Comment 2•13 years ago
|
||
(In reply to David Bolter [:davidb] from comment #1)
> It looks like the accessible is alive (probably in doc cache) but has been
> shutdown,
nope
> leaving mTreeView nulled out.
yes
![]() |
||
Comment 3•13 years ago
|
||
How is mTreeView nulled out?
Comment 4•13 years ago
|
||
(In reply to David Bolter [:davidb] from comment #3)
> How is mTreeView nulled out?
TreViewChanged(), I think the right fix here is just adding a null check.
![]() |
||
Comment 5•13 years ago
|
||
If the tree view changes, shouldn't we destroy the accessible and create a new one?
![]() |
||
Comment 6•13 years ago
|
||
When do tree views change?
Comment 7•13 years ago
|
||
(In reply to David Bolter [:davidb] from comment #5)
> If the tree view changes, shouldn't we destroy the accessible and create a
> new one?
tree accessible? nope, 'cause treeview is responsible for data, i.e rows
(In reply to David Bolter [:davidb] from comment #6)
> When do tree views change?
when the author changes the tree view.
Comment 8•13 years ago
|
||
per comment #4, add a mTreeView null check into Value() method
Whiteboard: [good first bug][mentor=trev.saunders@gmail.com][lang=c++]
Target Milestone: --- → mozilla14
Version: Trunk → Other Branch
Updated•13 years ago
|
Target Milestone: mozilla14 → ---
![]() |
||
Comment 9•13 years ago
|
||
(In reply to alexander :surkov from comment #7)
> (In reply to David Bolter [:davidb] from comment #6)
> > When do tree views change?
>
> when the author changes the tree view.
Heh, I was wondering more about when and how often. I suspect this happens more in tbird.
OK I think I know where this bugs going :)
Comment 10•13 years ago
|
||
(In reply to David Bolter [:davidb] from comment #9)
> Heh, I was wondering more about when and how often. I suspect this happens
> more in tbird.
sort of strange question because that depends on the author (application) completely. Basically when the tree gets into no-data state then I think the author nulls out the treeview.
I would suspect that too because tbird UI uses XUL trees a lot.
> OK I think I know where this bugs going :)
where? :)
Assignee | ||
Comment 11•13 years ago
|
||
Quick fix for a "red" bug ... built and tested locally ...
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Attachment #618877 -
Flags: review?(trev.saunders)
Assignee | ||
Updated•13 years ago
|
Attachment #618877 -
Flags: review?(trev.saunders) → review?(surkov.alexander)
Comment 12•13 years ago
|
||
Comment on attachment 618877 [details] [diff] [review]
Patch (v1)
thanks for doing this
Attachment #618877 -
Flags: review?(surkov.alexander) → review+
Comment 13•13 years ago
|
||
Target Milestone: --- → mozilla15
Comment 14•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Comment 15•13 years ago
|
||
reporter in https://getsatisfaction.com/mozilla_messaging/tags/bug_746990 indicates crash is fixed for thunderbird 15
Status: RESOLVED → VERIFIED
Whiteboard: [good first bug][mentor=trev.saunders@gmail.com][lang=c++] → [good first bug][mentor=trev.saunders@gmail.com][lang=c++][gs][gssolved]
You need to log in
before you can comment on or make changes to this bug.
Description
•