Closed Bug 540459 Opened 15 years ago Closed 15 years ago

[OOPP] Talos: Route error: message sent to unknown actor ID

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: benjamin, Unassigned)

References

Details

(Keywords: intermittent-failure)

Talos, windows Tp4: http://tinderbox.mozilla.org/showlog.cgi?log=Electrolysis/1263834030.1263835939.14921.gz

###!!! [Parent][SyncChannel] Error: Route error: message sent to unknown actor ID


###!!! [Parent][SyncChannel] Error: Route error: message sent to unknown actor ID

###!!! [RPCChannel][Parent][e:/builds/moz2_slave/electrolysis-win32/build/ipc/glue/RPCChannel.cpp:134] Assertion (mPending.empty()) failed.  other side should have been blocked (triggered by rpc)
  local RPC stack size: 2
  remote RPC stack guess: 1
  deferred stack size: 0
  Pending queue size: 1, front to back:
    [ rpcreply ]
###!!! ABORT: other side should have been blocked: file e:/builds/moz2_slave/electrolysis-win32/build/ipc/glue/RPCChannel.cpp, line 393

Followed by a crash:
15  xul.dll!mozilla::ipc::RPCChannel::DebugAbort(char const *,int,char const *,char const *,char const *,bool) [RPCChannel.cpp:f78daed09fdf : 393 + 0x16]
    eip = 0x60cbf0ca   esp = 0x0012c550   ebp = 0x062b0b80
    Found by: stack scanning
16  xul.dll!mozilla::ipc::RPCChannel::Call(IPC::Message *,IPC::Message *) [RPCChannel.cpp:f78daed09fdf : 134 + 0x23]
    eip = 0x60cbf96d   esp = 0x0012c578   ebp = 0x0012c5cc   ebx = 0x00000189
    Found by: call frame info with scanning
17  xul.dll!mozilla::plugins::PPluginScriptableObjectParent::Call__delete__(mozilla::plugins::PPluginScriptableObjectParent *) [PPluginScriptableObjectParent.cpp:f78daed09fdf : 90 + 0xc]
    eip = 0x60bd0fb2   esp = 0x0012c5d4   ebp = 0x0012c600
    Found by: call frame info
18  xul.dll!mozilla::plugins::PluginScriptableObjectParent::Unprotect() [PluginScriptableObjectParent.cpp:f78daed09fdf : 713 + 0x5]
    eip = 0x60bc2d05   esp = 0x0012c608   ebp = 0x0012c66c   ebx = 0x04ec1700
    Found by: call frame info
19  xul.dll!mozilla::plugins::PluginScriptableObjectParent::AnswerUnprotect() [PluginScriptableObjectParent.cpp:f78daed09fdf : 1282 + 0x4]
    eip = 0x60bc2e82   esp = 0x0012c610   ebp = 0x0012c66c
    Found by: call frame info
20  xul.dll!mozilla::plugins::PPluginScriptableObjectParent::OnCallReceived(IPC::Message const &,IPC::Message * &) [PPluginScriptableObjectParent.cpp:f78daed09fdf : 1547 + 0x7]
    eip = 0x60bd2147   esp = 0x0012c614   ebp = 0x0012c66c
    Found by: call frame info
21  xul.dll!mozilla::plugins::PPluginModuleParent::OnCallReceived(IPC::Message const &,IPC::Message * &) [PPluginModuleParent.cpp:f78daed09fdf : 421 + 0xa]
    eip = 0x60bca603   esp = 0x0012c674   ebp = 0x0012c69c   ebx = 0x0012c710
    Found by: call frame info
22  xul.dll!mozilla::ipc::RPCChannel::DispatchIncall(IPC::Message const &) [RPCChannel.cpp:f78daed09fdf : 347 + 0x14]
    eip = 0x60cbf228   esp = 0x0012c6a4   ebp = 0x0012c6d8   ebx = 0x0012c710
    Found by: call frame info
23  xul.dll!mozilla::ipc::RPCChannel::Incall(IPC::Message const &,unsigned int) [RPCChannel.cpp:f78daed09fdf : 332 + 0xa]
    eip = 0x60cbf487   esp = 0x0012c6e0   ebp = 0x60f04da8
    Found by: call frame info
24  xul.dll!mozilla::ipc::RPCChannel::Call(IPC::Message *,IPC::Message *) [RPCChannel.cpp:f78daed09fdf : 180 + 0xf]
    eip = 0x60cbf9b4   esp = 0x0012c6f8   ebp = 0x0012c73c   ebx = 0x60f04d48
    Found by: call frame info
25  xul.dll!mozilla::plugins::PPluginModuleParent::CallPPluginInstanceConstructor(mozilla::plugins::PPluginInstanceParent *,nsCString const &,unsigned short const &,nsTArray<nsCString> const &,nsTArray<nsCString> const &,short *) [PPluginModuleParent.cpp:f78daed09fdf : 149 + 0xd]
    eip = 0x60bca991   esp = 0x0012c744   ebp = 0x0012c774
    Found by: call frame info
26  xul.dll!mozilla::plugins::PluginModuleParent::NPP_New(char *,_NPP *,unsigned short,short,char * * const,char * * const,_NPSavedData *,short *) [PluginModuleParent.cpp:f78daed09fdf : 652 + 0x2d]
    eip = 0x60bbca38   esp = 0x0012c77c   ebp = 0x0012c7d0   ebx = 0x034842c8
    Found by: call frame info
27  xul.dll!nsNPAPIPluginInstance::InitializePlugin() [nsNPAPIPluginInstance.cpp:f78daed09fdf : 1210 + 0x23]
    eip = 0x60abfa98   esp = 0x0012c7d8   ebp = 0x0012c868
    Found by: call frame info
28  xul.dll!nsNPAPIPluginInstance::Initialize(nsIPluginInstanceOwner *,char const *) [nsNPAPIPluginInstance.cpp:f78daed09fdf : 955 + 0x6]
    eip = 0x60ac0b68   esp = 0x0012c870   ebp = 0x0012c874
    Found by: call frame info
Nothing incisive to add, but
 - this is likely related to bug 538239; both can be explained in a hand-wavy way by *Channel code unblocking at unexpected times.  I suspect we'll need record/replay to sort 538239, but maybe after that this bug will be an obvious corollary.
 - another (less likely, IMHO) hypothesis is that this is a manifestation of a known bug in RPC race resolution, in this case wrt to dtors, hinted at by 533002 comment 4
I'm seeing this on mochitest-chrome now also, on Windows:

7026 INFO Running chrome://mochikit/content/chrome/modules/plugin/test/test_npapi_timers.xul...
*** registerContentHandler(application/vnd.mozilla.maybe.feed,http://localhost:8888/tests/toolkit/components/places/tests/chrome/demohandler.html?feedurl=%s,Demo handler)

###!!! [Parent][RPCChannel] Error: Channel error: cannot send/recv
###!!! [Parent][SyncChannel] Error: Route error: message sent to unknown actor ID

This eventually leads to TEST-UNEXPECTED-FAIL | automation.py | Exited with code -1073741819 during test run

Which blocks on-by-default.
Blocks: 531142
http://tinderbox.mozilla.org/showlog.cgi?log=Electrolysis/1264016568.1264018610.9804.gz (Windows Talos)

It does appear that this has only been reproduced on Windows so far.
Same as in the wild, bent and jimm have repro'd on win7 and XP.
I fixed bug 521929 and added code that ought to fix the symptoms of bug 538239 so as to eliminate possible causes of this bug.
We had three straight windows tp4 crashes due to this on e10s.  After I landed bug 538239, we've had two straight green runs.
woohoo, resolving for now, we can reopen later if new problems arise
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Blocks: 438871
Whiteboard: [orange]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.