Open Bug 1587247 Opened 6 years ago Updated 3 years ago

Assertion in CreateDocOrRootAccessible

Categories

(Core :: Disability Access APIs, defect, P2)

x86_64
Linux
defect

Tracking

()

People

(Reporter: pbone, Unassigned)

Details

Attachments

(1 file)

Attached file log.txt

When I run ./mach mochitest I get the following crash:

0:14.88 GECKO(85525) ^G[85525, Main Thread] ###!!! ASSERTION: Can't create an accessible for the document!: 'parentDocAcc', file /mnt/dev/moz/fission/accessible/base/DocManager.cpp, line 453

It appears to be after skippin the first few accessability tests, but happen in-between tests.

0:36.19 GECKO(85774) #01: mozilla::a11y::DocManager::HandleDOMDocumentLoad(mozi
lla::dom::Document*, unsigned int) (/mnt/dev/moz/fission/accessible/base/DocMana
ger.cpp:377)
0:36.19 GECKO(85774) #02: mozilla::a11y::DocManager::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, nsresult) (/mnt/dev/moz/fission/accessible/base/DocManager.cpp:248)
0:36.20 GECKO(85774) #03: nsDocLoader::DoFireOnStateChange(nsIWebProgress*, nsIRequest*, int&, nsresult) (/mnt/dev/moz/fission/uriloader/base/nsDocLoader.cpp:1352)
0:36.20 GECKO(85774) #04: nsDocLoader::doStopDocumentLoad(nsIRequest*, nsresult) (/mnt/dev/moz/fission/uriloader/base/nsDocLoader.cpp:910)
0:36.21 GECKO(85774) #05: nsDocLoader::DocLoaderIsEmpty(bool) (/mnt/dev/moz/fission/objdir-test/dist/include/mozilla/RefPtr.h:278)
0:36.21 GECKO(85774) #06: nsDocLoader::OnStopRequest(nsIRequest*, nsresult) (/mnt/dev/moz/fission/uriloader/base/nsDocLoader.cpp:619)
0:36.59 GECKO(85774) #07: non-virtual thunk to nsDocLoader::OnStopRequest(nsIRequest*, nsresult) (Unified_cpp_uriloader_base0.cpp:?)
0:36.61 GECKO(85774) #08: mozilla::net::nsLoadGroup::RemoveRequest(nsIRequest*, nsISupports*, nsresult) (/mnt/dev/moz/fission/netwerk/base/nsLoadGroup.cpp:568)
0:36.62 GECKO(85774) #09: mozilla::net::nsLoadGroup::Cancel(nsresult) (/mnt/dev/moz/fission/netwerk/base/nsLoadGroup.cpp:224)
0:36.62 GECKO(85774) #10: nsDocLoader::Stop() (/mnt/dev/moz/fission/uriloader/base/nsDocLoader.cpp:237)
0:36.67 GECKO(85774) #11: nsDocShell::Stop(unsigned int) (/mnt/dev/moz/fission/docshell/base/nsDocShell.cpp:4682)

Weird. We shouldn't be able to get events from a document for which we can't create an accessible for the parent doc. I wonder why this doesn't show up in automation?

Priority: -- → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: