Closed Bug 855793 Opened 13 years ago Closed 12 years ago

Intermittent test_npruntime_identifiers.html,browser_newtab_focus.js | application crashed [@ PL_DHashTableEnumerate] after Assertion failure: (*(uint32_t*)(table->entryStore + ((uint32_t)1 << (32 - (table)->hashShift)) * table->entrySize)) > 0

Categories

(Core :: Networking: HTTP, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: assertion, crash, intermittent-failure)

Crash Data

+++ This bug was initially created as a clone of Bug #855185 +++ https://tbpl.mozilla.org/php/getParsedLog.php?id=21212093&tree=Mozilla-Inbound Rev3 WINNT 5.1 mozilla-inbound debug test mochitest-3 on 2013-03-28 10:42:59 PDT for push 6ea012d36e73 slave: talos-r3-xp-002 10:48:05 INFO - 587 INFO TEST-PASS | /tests/dom/plugins/test/test_npruntime_identifiers.html | Property ['a'] 10:48:05 INFO - --DOMWINDOW == 42 (0A7A5228) [serial = 98] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_instance_unparent1.html] 10:48:05 INFO - --DOMWINDOW == 41 (0A55CF38) [serial = 97] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:05 INFO - --DOMWINDOW == 40 (07731980) [serial = 96] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_instance_re-parent.html] 10:48:05 INFO - --DOMWINDOW == 39 (0CF54A28) [serial = 93] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:05 INFO - --DOMWINDOW == 38 (074CC3F0) [serial = 92] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/crashing_subpage.html] 10:48:05 INFO - --DOMWINDOW == 37 (07279648) [serial = 89] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_hanging.html] 10:48:05 INFO - --DOMWINDOW == 36 (074CDD50) [serial = 99] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:05 INFO - --DOMWINDOW == 35 (0C9EB258) [serial = 53] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_bug771202.html] 10:48:05 INFO - --DOMWINDOW == 34 (0C280518) [serial = 112] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_npn_asynccall.html] 10:48:06 INFO - --DOMWINDOW == 33 (07ECF918) [serial = 111] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:06 INFO - --DOMWINDOW == 32 (0A21E0D8) [serial = 110] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_newstreamondestroy.html] 10:48:06 INFO - --DOMWINDOW == 31 (072CD7A8) [serial = 109] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:06 INFO - --DOMWINDOW == 30 (0D02C3D8) [serial = 108] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_multipleinstanceobjects.html] 10:48:06 INFO - --DOMWINDOW == 29 (09FC1DE0) [serial = 107] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:06 INFO - --DOMWINDOW == 28 (0725F070) [serial = 106] [outer = 00000000] [url = about:blank] 10:48:06 INFO - --DOMWINDOW == 27 (09EC94F8) [serial = 104] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_instantiation.html] 10:48:06 INFO - --DOMWINDOW == 26 (0D0B1098) [serial = 103] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:06 INFO - --DOMWINDOW == 25 (0A22BD88) [serial = 102] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_instance_unparent3.html] 10:48:06 INFO - --DOMWINDOW == 24 (0603AD88) [serial = 101] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:06 INFO - --DOMWINDOW == 23 (0A5EB098) [serial = 100] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_instance_unparent2.html] 10:48:06 INFO - --DOMWINDOW == 22 (0CEBAB08) [serial = 119] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:06 INFO - --DOMWINDOW == 21 (074884D8) [serial = 117] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:06 INFO - --DOMWINDOW == 20 (0731FD18) [serial = 116] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_npobject_getters.html] 10:48:06 INFO - --DOMWINDOW == 19 (074456E8) [serial = 115] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:06 INFO - --DOMWINDOW == 18 (077F6A80) [serial = 114] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_npn_timers.html] 10:48:06 INFO - --DOMWINDOW == 17 (07773918) [serial = 113] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:06 INFO - --DOMWINDOW == 16 (0736C800) [serial = 95] [outer = 00000000] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html] 10:48:06 INFO - --DOMWINDOW == 15 (0D30C948) [serial = 94] [outer = 00000000] [url = http://mochi.test:8888/tests/dom/plugins/test/test_instance_re-parent-windowed.html] 10:48:06 INFO - Assertion failure: (*(uint32_t*)(table->entryStore + ((uint32_t)1 << (32 - (table)->hashShift)) * table->entrySize)) > 0, at e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/obj-firefox/xpcom/build/pldhash.cpp:751 10:48:06 INFO - nsStringStats 10:48:06 INFO - => mAllocCount: 77414 10:48:06 INFO - => mReallocCount: 12771 10:48:06 INFO - => mFreeCount: 64666 -- LEAKED 12748 !!! 10:48:06 INFO - => mShareCount: 136639 10:48:06 INFO - => mAdoptCount: 6711 10:48:06 INFO - => mAdoptFreeCount: 6708 -- LEAKED 3 !!! 10:48:06 INFO - WARNING: shutting down early because of crash!: file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/dom/plugins/ipc/PluginModuleChild.cpp, line 701 10:48:06 INFO - WARNING: plugin process _exit()ing: file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/dom/plugins/ipc/PluginModuleChild.cpp, line 666 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_NewStream 10:48:06 INFO - NPP_StreamAsFile, file=C:\DOCUME~1\cltbld\LOCALS~1\Temp\plugtmp\plugin-loremipsum.txt 10:48:06 INFO - NPP_DestroyStream 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_NewStream 10:48:06 INFO - NPP_StreamAsFile, file=C:\DOCUME~1\cltbld\LOCALS~1\Temp\plugtmp\plugin-loremipsum.txt 10:48:06 INFO - NPP_DestroyStream 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - NPP_Destroy 10:48:06 INFO - nsStringStats 10:48:06 INFO - => mAllocCount: 412 10:48:06 INFO - => mReallocCount: 1 10:48:06 INFO - => mFreeCount: 338 -- LEAKED 74 !!! 10:48:06 INFO - => mShareCount: 450 10:48:06 INFO - => mAdoptCount: 0 10:48:06 INFO - => mAdoptFreeCount: 0 10:48:06 WARNING - TEST-UNEXPECTED-FAIL | /tests/dom/plugins/test/test_npruntime_identifiers.html | Exited with code -2147483645 during test run 10:48:06 INFO - INFO | automation.py | Application ran for: 0:01:09.078000 10:48:06 INFO - INFO | zombiecheck | Reading PID log: c:\docume~1\cltbld\locals~1\temp\tmpqe7fzcpidlog 10:48:06 INFO - ==> process 3212 launched child process 3616 10:48:06 INFO - ==> process 3212 launched child process 600 10:48:06 INFO - ==> process 3212 launched child process 3200 10:48:06 INFO - INFO | zombiecheck | Checking for orphan process with PID: 3616 10:48:06 INFO - INFO | zombiecheck | Checking for orphan process with PID: 600 10:48:06 INFO - INFO | zombiecheck | Checking for orphan process with PID: 3200 10:48:18 INFO - PROCESS-CRASH | /tests/dom/plugins/test/test_npruntime_identifiers.html | application crashed [@ PL_DHashTableEnumerate] 10:48:18 INFO - Crash dump filename: c:\docume~1\cltbld\locals~1\temp\tmp18rkhy\minidumps\37bbf572-77d8-4904-bd89-c17fb866dfbc.dmp 10:48:18 INFO - Operating system: Windows NT 10:48:18 INFO - 5.1.2600 Service Pack 2 10:48:18 INFO - CPU: x86 10:48:18 INFO - GenuineIntel family 6 model 23 stepping 10 10:48:18 INFO - 2 CPUs 10:48:18 INFO - Crash reason: EXCEPTION_BREAKPOINT 10:48:18 INFO - Crash address: 0x377bd7c 10:48:18 INFO - Thread 5 (crashed) 10:48:18 INFO - 0 xul.dll!PL_DHashTableEnumerate [pldhash.cpp:6ea012d36e73 : 751 + 0x56] 10:48:18 INFO - eip = 0x0377bd7c esp = 0x05eefdb8 ebp = 0x05eefdd4 ebx = 0x00000010 10:48:18 INFO - esi = 0x074f83ac edi = 0x10261440 eax = 0x00000000 ecx = 0x6ff3386f 10:48:18 INFO - edx = 0x10361f48 efl = 0x00000206 10:48:18 INFO - Found by: given as instruction pointer in context 10:48:18 INFO - 1 xul.dll!nsBaseHashtable<nsCStringHashKey,nsAutoPtr<nsHttpConnectionMgr::nsConnectionEntry>,nsHttpConnectionMgr::nsConnectionEntry *>::Enumerate(PLDHashOperator (*)(nsACString_internal const &,nsAutoPtr<nsHttpConnectionMgr::nsConnectionEntry> &,void *),void *) [nsBaseHashtable.h:6ea012d36e73 : 223 + 0xe] 10:48:18 INFO - eip = 0x02106dae esp = 0x05eefddc ebp = 0x05eefdf4 10:48:18 INFO - Found by: call frame info 10:48:18 INFO - 2 xul.dll!nsHttpConnectionMgr::OnMsgClosePersistentConnections(int,void *) [nsHttpConnectionMgr.cpp:6ea012d36e73 : 2171 + 0xd] 10:48:18 INFO - eip = 0x0210ba1b esp = 0x05eefdfc ebp = 0x05eefe14 10:48:18 INFO - Found by: call frame info 10:48:18 INFO - 3 xul.dll!nsHttpConnectionMgr::nsConnEvent::Run() [nsHttpConnectionMgr.h:6ea012d36e73 : 574 + 0xe] 10:48:18 INFO - eip = 0x021075c3 esp = 0x05eefe0c ebp = 0x05eefe14 10:48:18 INFO - Found by: call frame info 10:48:18 INFO - 4 xul.dll!nsThread::ProcessNextEvent(bool,bool *) [nsThread.cpp:6ea012d36e73 : 627 + 0xd] 10:48:18 INFO - eip = 0x037d54b0 esp = 0x05eefe1c ebp = 0x05eefe6c 10:48:18 INFO - Found by: call frame info 10:48:18 INFO - 5 xul.dll!NS_ProcessNextEvent(nsIThread *,bool) [nsThreadUtils.cpp:6ea012d36e73 : 238 + 0xc] 10:48:18 INFO - eip = 0x0377a532 esp = 0x05eefe74 ebp = 0x05eefe80 10:48:18 INFO - Found by: call frame info 10:48:18 INFO - 6 xul.dll!nsSocketTransportService::Run() [nsSocketTransportService2.cpp:6ea012d36e73 : 649 + 0x7] 10:48:18 INFO - eip = 0x0207c6d7 esp = 0x05eefe88 ebp = 0x05eefeb4 10:48:18 INFO - Found by: call frame info 10:48:18 INFO - 7 xul.dll!nsThread::ProcessNextEvent(bool,bool *) [nsThread.cpp:6ea012d36e73 : 627 + 0xd] 10:48:18 INFO - eip = 0x037d54b0 esp = 0x05eefebc ebp = 0x05eeff0c 10:48:18 INFO - Found by: call frame info
Summary: Intermittent test_npruntime_identifiers.html | application crashed [@ PL_DHashTableEnumerate] after Assertion failure: (*(uint32_t*)(table->entryStore + ((uint32_t)1 << (32 - (table)->hashShift)) * table->entrySize)) > 0 → Intermittent test_npruntime_identifiers.html,browser_newtab_focus.js | application crashed [@ PL_DHashTableEnumerate] after Assertion failure: (*(uint32_t*)(table->entryStore + ((uint32_t)1 << (32 - (table)->hashShift)) * table->entrySize)) > 0
Assignee: nobody → georg.fritzsche
Priority: -- → P2
I don't see any evidence so far that those problems with nsHttpConnectionMgr::mCT are a plugin-specific problem. However i don't see any obvious problems in nsHttpConnectionMgr and it seems to have full coverage for calls on the wrong threads. Bug 857303 and bug 855185 are likely to be the same issue: https://bugzilla.mozilla.org/buglist.cgi?f1=cf_crash_signature&list_id=6182111&o1=substring&resolution=---&resolution=DUPLICATE&query_format=advanced&v1=nsBaseHashtable%3CnsCStringHashKey%2CnsAutoPtr%3CnsHttpConnectionMgr%3A%3AnsConnectionEntry%3E%2CnsHttpConnectionMgr%3A%3AnsConnectionEntry%20*%3E%3A%3AEnumerate%28PLDHashOperator%20%28*%29%28nsACString_internal%20const%20%26%2CnsAutoPtr%3CnsHttpConnectionMgr%3A%3AnsConnectionEntry%3E%20%26%2Cvoid%20*%29%2Cvoid%20*%29 Next-best option i see is trying to get details from traces via try runs.
Assignee: georg.fritzsche → nobody
Component: Plug-ins → Networking: HTTP
Priority: P2 → --
(In reply to Georg Fritzsche [:gfritzsche] from comment #11) > As there is no evidence for those being plugin issues, moving this one over > to networking as well. > > (Note that pldhash assertions were made fatal on Mar 14) > this is why I haven't dropped everything to look at these in detail - though they are on my list. There is very unlikely to be a new issue here, just one that is being flagged fatal now.
Given the frequency with which we're hitting this, it would be appreciated if you could find some time to look into this. This series of bugs is one of our most frequent orange bugs at the moment.
Blocks: 864705
Calling this fixed by bug 855185.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
No longer blocks: 857540
You need to log in before you can comment on or make changes to this bug.