Closed Bug 535730 Opened 16 years ago Closed 14 years ago

[OOPP] mochitest-ipcplugins: Sporadic crash during test_npruntime_npninvoke.html, with "WARNING: RPC in-calls have raced", "Bad address", "ASSERTION: Unregistering an object that was never added!", and 16 byte leak

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dholbert, Unassigned)

References

()

Details

(Keywords: assertion, intermittent-failure)

Attachments

(1 file)

No description provided.
Summary: Sporadic crash during mochitest-ipcplugins, with "WARNING: RPC in-calls have raced"Bad address", "ASSERTION: Unregistering an object that was never added!" and → Sporadic crash during mochitest-ipcplugins, with "WARNING: RPC in-calls have raced", "Bad address", and "ASSERTION: Unregistering an object that was never added!"
Summary: Sporadic crash during mochitest-ipcplugins, with "WARNING: RPC in-calls have raced", "Bad address", and "ASSERTION: Unregistering an object that was never added!" → mochitest-ipcplugins: Sporadic crash during test_npruntime_npninvoke.html, with "WARNING: RPC in-calls have raced", "Bad address", and "ASSERTION: Unregistering an object that was never added!"
Blocks: 438871
Keywords: assertion
Whiteboard: [orange]
Attached file snippet of error log —
Attaching what looks like the relevant snippet of the error log. The highlights (with giant list of URLs omitted): { 32 INFO Running /tests/modules/plugin/test/test_npruntime_npninvoke.html... [PluginModuleParent] NPP_SetWindow ++DOMWINDOW == 17 (0x9949f08) [serial = 17] [outer = 0x9adc9d0] For application/x-test found plugin libnptest.so [PluginModuleParent] NPP_New WARNING: RPC in-calls have raced!: file /builds/moz2_slave/mozilla-central-linux-debug/build/ipc/glue/RPCChannel.cpp, line 285 (child won, so we're deferring) WARNING: RPC in-calls have raced!: file /builds/moz2_slave/mozilla-central-linux-debug/build/ipc/glue/RPCChannel.cpp, line 285 (child won, so we're not deferring) (processing deferred in-call) [PluginInstanceParent] NPP_GetValue(NPPVpluginScriptableNPObject) [PluginModuleParent] NPP_New: got return value 0 [PluginInstanceParent] NPP_GetValue(NPPVpluginScriptableNPObject) WARNING: RPC in-calls have raced!: file /builds/moz2_slave/mozilla-central-linux-debug/build/ipc/glue/RPCChannel.cpp, line 285 (child won, so we're not deferring) WARNING: RPC in-calls have raced!: file /builds/moz2_slave/mozilla-central-linux-debug/build/ipc/glue/RPCChannel.cpp, line 285 (child won, so we're deferring) (processing deferred in-call) [PluginModuleParent] NPP_SetWindow WARNING: RPC in-calls have raced!: file /builds/moz2_slave/mozilla-central-linux-debug/build/ipc/glue/RPCChannel.cpp, line 285 (child won, so we're not deferring) WARNING: RPC in-calls have raced!: file /builds/moz2_slave/mozilla-central-linux-debug/build/ipc/glue/RPCChannel.cpp, line 285 (child won, so we're deferring) (processing deferred in-call) [PluginModuleParent] NPP_Destroy WARNING: RPC in-calls have raced!: file /builds/moz2_slave/mozilla-central-linux-debug/build/ipc/glue/RPCChannel.cpp, line 285 (child won, so we're not deferring) WARNING: RPC in-calls have raced!: file /builds/moz2_slave/mozilla-central-linux-debug/build/ipc/glue/RPCChannel.cpp, line 285 (child won, so we're deferring) (processing deferred in-call) Bad address Leaked URLs: file:///builds/slave/mozilla-central-linux-debug-unittest-everythingelse/build/firefox/ [-----------OMITTING GIANT LIST OF URLS-----------] http://localhost:8888/tests/SimpleTest/test.css nsStringStats => mAllocCount: 21259 => mReallocCount: 4164 => mFreeCount: 12052 -- LEAKED 9207 !!! => mShareCount: 16349 => mAdoptCount: 2310 => mAdoptFreeCount: 2307 -- LEAKED 3 !!! ###!!! ASSERTION: Unregistering an object that was never added!: 'mObjectMap.Get(aObject, nsnull)', file /builds/moz2_slave/mozilla-central-linux-debug/build/dom/plugins/PluginModuleChild.cpp, line 250 }
Forgot this part: > TEST-UNEXPECTED-FAIL | plugin process 27115 | automationutils.processLeakLog() | leaked 16 bytes during test execution > TEST-UNEXPECTED-FAIL | plugin process 27115 | automationutils.processLeakLog() | leaked 2 instances of ChildNPObject with size 8 bytes each (16 bytes total) > TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | missing output line for total leaks!
Summary: mochitest-ipcplugins: Sporadic crash during test_npruntime_npninvoke.html, with "WARNING: RPC in-calls have raced", "Bad address", and "ASSERTION: Unregistering an object that was never added!" → mochitest-ipcplugins: Sporadic crash during test_npruntime_npninvoke.html, with "WARNING: RPC in-calls have raced", "Bad address", "ASSERTION: Unregistering an object that was never added!", and 16 byte leak
Summary: mochitest-ipcplugins: Sporadic crash during test_npruntime_npninvoke.html, with "WARNING: RPC in-calls have raced", "Bad address", "ASSERTION: Unregistering an object that was never added!", and 16 byte leak → [OOPP] mochitest-ipcplugins: Sporadic crash during test_npruntime_npninvoke.html, with "WARNING: RPC in-calls have raced", "Bad address", "ASSERTION: Unregistering an object that was never added!", and 16 byte leak
Looks like the same thing except on the opt side. http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262403738.1262406307.9053.gz Linux mozilla-central opt test everythingelse on 2010/01/01 19:42:18 s: moz2-linux-slave18
A simple way to reproduce the "WARNING: RPC in-calls have raced!" is to load data:text/html,<embed%20width="98%"%20height="98%"%20type="application/x-test"%20wmode="window"> and make the window larger. Haven't see a crash with that, though.
Mass marking whiteboard:[orange] bugs WFM (to clean up TBPL bug suggestions) that: * Haven't changed in > 6months * Whose whiteboard contains none of the strings: {disabled,marked,random,fuzzy,todo,fails,failing,annotated,leave open,time-bomb} * Passed a (quick) manual inspection of bug summary/whiteboard to ensure they weren't a false positive. I've also gone through and searched for cases where the whiteboard wasn't labelled correctly after test disabling, by using attachment description & basic comment searches. However if the test for which this bug was about has in fact been disabled/annotated/..., please accept my apologies & reopen/mark the whiteboard appropriately so this doesn't get re-closed in the future (and please ping me via IRC or email so I can try to tweak the saved searches to avoid more edge cases). Sorry for the spam! Filter on: #FFA500
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: