Closed Bug 1268901 Opened 8 years ago Closed 6 years ago

Assertion when opening addon manager: mParent->mChildren[idx]->mIndexInParent == static_cast<int32_t>(idx)

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: benjamin, Unassigned)

Details

I have an assertion triggering reliably in a self/debug build:

STR:
Launch build with a clean profile
Use the Firefox menu to open the addons manager
From the "Get Add-Ons" tab, click one of the featured addons:

Actual:
Assertion failure: mParent->mChildren[idx]->mIndexInParent == static_cast<int32_t>(idx) (Wrong index
 detected), at c:/Users/benja/hg-mozilla/accessible/base/EventTree.cpp:150
#01: mozilla::a11y::DocAccessible::CacheChildrenInSubtree (c:\users\benja\hg-mozilla\accessible\gene
ric\docaccessible.cpp:2168)
#02: mozilla::a11y::DocAccessible::CacheChildrenInSubtree (c:\users\benja\hg-mozilla\accessible\gene
ric\docaccessible.cpp:2165)
#03: mozilla::a11y::DocAccessible::CacheChildrenInSubtree (c:\users\benja\hg-mozilla\accessible\gene
ric\docaccessible.cpp:2165)
#04: mozilla::a11y::DocAccessible::CreateSubtree (c:\users\benja\hg-mozilla\accessible\generic\docac
cessible-inl.h:175)
#05: mozilla::a11y::DocAccessible::ProcessContentInserted (c:\users\benja\hg-mozilla\accessible\gene
ric\docaccessible.cpp:1798)
#06: mozilla::a11y::NotificationController::WillRefresh (c:\users\benja\hg-mozilla\accessible\base\n
otificationcontroller.cpp:234)
#07: nsRefreshDriver::Tick (c:\users\benja\hg-mozilla\layout\base\nsrefreshdriver.cpp:1700)
#08: mozilla::RefreshDriverTimer::TickDriver (c:\users\benja\hg-mozilla\layout\base\nsrefreshdriver.
cpp:275)
#09: mozilla::RefreshDriverTimer::TickRefreshDrivers (c:\users\benja\hg-mozilla\layout\base\nsrefres
hdriver.cpp:246)
#10: mozilla::RefreshDriverTimer::Tick (c:\users\benja\hg-mozilla\layout\base\nsrefreshdriver.cpp:26
5)
#11: mozilla::VsyncRefreshDriverTimer::RunRefreshDrivers (c:\users\benja\hg-mozilla\layout\base\nsre
freshdriver.cpp:589)
#12: mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver (c:\users\benja
\hg-mozilla\layout\base\nsrefreshdriver.cpp:510)
#13: nsRunnableMethodImpl<void (__thiscall mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObser
ver::*)(mozilla::TimeStamp),1,mozilla::TimeStamp>::Run (c:\users\benja\hg-mozilla\obj-ff-debug\dist\
include\nsthreadutils.h:712)
#14: nsThread::ProcessNextEvent (c:\users\benja\hg-mozilla\xpcom\threads\nsthread.cpp:989)
#15: NS_ProcessNextEvent (c:\users\benja\hg-mozilla\xpcom\glue\nsthreadutils.cpp:290)
#16: mozilla::ipc::MessagePump::Run (c:\users\benja\hg-mozilla\ipc\glue\messagepump.cpp:98)
#17: MessageLoop::RunInternal (c:\users\benja\hg-mozilla\ipc\chromium\src\base\message_loop.cc:233)
#18: MessageLoop::RunHandler (c:\users\benja\hg-mozilla\ipc\chromium\src\base\message_loop.cc:227)
#19: MessageLoop::Run (c:\users\benja\hg-mozilla\ipc\chromium\src\base\message_loop.cc:207)
#20: nsBaseAppShell::Run (c:\users\benja\hg-mozilla\widget\nsbaseappshell.cpp:158)
#21: nsAppShell::Run (c:\users\benja\hg-mozilla\widget\windows\nsappshell.cpp:264)
#22: nsAppStartup::Run (c:\users\benja\hg-mozilla\toolkit\components\startup\nsappstartup.cpp:285)
#23: XREMain::XRE_mainRun (c:\users\benja\hg-mozilla\toolkit\xre\nsapprunner.cpp:4347)
#24: XREMain::XRE_main (c:\users\benja\hg-mozilla\toolkit\xre\nsapprunner.cpp:4451)
#25: XRE_main (c:\users\benja\hg-mozilla\toolkit\xre\nsapprunner.cpp:4559)
#26: do_main (c:\users\benja\hg-mozilla\browser\app\nsbrowserapp.cpp:220)
#27: NS_internal_main (c:\users\benja\hg-mozilla\browser\app\nsbrowserapp.cpp:360)
#28: wmain (c:\users\benja\hg-mozilla\toolkit\xre\nswindowswmain.cpp:138)
#29: __scrt_common_main_seh (f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264)
#30: BaseThreadInitThunk[C:\WINDOWS\SYSTEM32\KERNEL32.DLL +0x138f4]
#31: RtlUnicodeStringToInteger[C:\WINDOWS\SYSTEM32\ntdll.dll +0x65de3]
#32: RtlUnicodeStringToInteger[C:\WINDOWS\SYSTEM32\ntdll.dll +0x65dae]
Surkov, is this bug 1268677?
Flags: needinfo?(surkov.alexander)
(In reply to Marco Zehe (:MarcoZ) from comment #1)
> Surkov, is this bug 1268677?

it's quite plausible, let's see if it goes away when that bug is landed
Flags: needinfo?(surkov.alexander)
I don't longer see the assertion, when repeating the steps. I see however bug 1332588. Closing as wfm.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.