Closed
Bug 429642
Opened 16 years ago
Closed 12 years ago
Crash [@ nsAccessibleWrap::get_accKeyboardShortcut(tagVARIANT, unsigned short**) ]
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla7
People
(Reporter: MarcoZ, Assigned: tbsaunde)
References
Details
(Keywords: access, crash)
Crash Data
Attachments
(1 file, 1 obsolete file)
1.61 KB,
patch
|
Details | Diff | Splinter Review |
Reports both from 3.0b5 as well as 3.0pre. http://crash-stats.mozilla.com/report/list?range_unit=weeks&query_search=signature&query_type=contains&product=Firefox&platform=windows%2Cmac%2Clinux&version=Firefox%3A3.0b5%2CFirefox%3A3.0pre&branch=1.9&signature=nsAccessibleWrap%3A%3Aget_accKeyboardShortcut(tagVARIANT%2C+unsigned+short**)&query=Access&range_value=1 Frames seem to indicate the line calling GetXPAccessibleFor: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/accessible/src/msaa/nsAccessibleWrap.cpp&rev=1.117&mark=571#571
Flags: blocking1.9?
Comment 1•16 years ago
|
||
Again, not a significant number of crashes to block. Marco, do we have any idea of how many beta testers are using accessibility?
Flags: blocking1.9? → blocking1.9-
Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #1) > Again, not a significant number of crashes to block. Marco, do we have any > idea of how many beta testers are using accessibility? Unfortunately not. This one, along with some of the others, looks like someone was experimenting with calling our APIs and giving us wrong parameters, and we're not protecting properly against those cases. Alexander Surkov filed bug 429990 to deal with all these in one big sweep, but I am not sure we want to try and take this for 1.9 or wait until Firefox 3 ships.
Comment 4•14 years ago
|
||
Is this bug stale?
Comment 5•14 years ago
|
||
almost non-existent, but still there http://crash-stats.mozilla.com/query/query?product=Firefox&version=ALL%3AALL&date=&range_value=4&range_unit=weeks&query_search=signature&query_type=exact&query=nsAccessibleWrap%3A%3Aget_accKeyboardShortcut%28tagVARIANT%2C+unsigned+short**%29&do_query=1
Severity: major → critical
Comment 6•13 years ago
|
||
Still valid - https://crash-stats.mozilla.com/report/index/2a16219f-c666-4e17-9a29-b90642110306
Updated•13 years ago
|
Target Milestone: mozilla1.9 → ---
Comment 7•13 years ago
|
||
I get essentially the same stack from Visual C++, although the nsTArray frame is not there. Either the stack is corrupted, or some memory is corrupted and we're calling something we shouldn't be.
Updated•13 years ago
|
Crash Signature: [@ nsAccessibleWrap::get_accKeyboardShortcut(tagVARIANT, unsigned short**) ]
Assignee | ||
Comment 8•13 years ago
|
||
I think we want these checks any way and hopefully it'll fix the crashes.
Attachment #541899 -
Flags: review?(surkov.alexander)
Comment 9•12 years ago
|
||
Comment on attachment 541899 [details] [diff] [review] patch Review of attachment 541899 [details] [diff] [review]: ----------------------------------------------------------------- r=me since the patch makes sense ::: accessible/src/msaa/nsAccessibleWrap.cpp @@ +494,5 @@ > > + nsAutoString shortcut; > + nsresult rv = xpAccessible->GetKeyboardShortcut(shortcut); > + if (NS_FAILED(rv)) > + return E_FAIL; return GetHRESULT(rv);
Attachment #541899 -
Flags: review?(surkov.alexander) → review+
Updated•12 years ago
|
Assignee: nobody → trev.saunders
Assignee | ||
Comment 10•12 years ago
|
||
fix return value
Attachment #541899 -
Attachment is obsolete: true
Assignee | ||
Comment 11•12 years ago
|
||
landed http://hg.mozilla.org/mozilla-central/rev/1d351cc0e8c1
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → mozilla7
You need to log in
before you can comment on or make changes to this bug.
Description
•