Updates:
        Cc: [email protected] [email protected] [email protected]
        Labels: -Area-Misc Area-Extensions Mstone-4 ReleaseBlock-Beta

Comment #11 on issue 27834 by [email protected]: Crash -  
NotificationService::Notify(NotificationType,NotificationSource const  
&,NotificationDetails const &)
http://code.google.com/p/chromium/issues/detail?id=27834

 From the comments in the code:

void ExtensionMessageService::ProfileDestroyed() {
   profile_ = NULL;

   // We remove notifications here because our destructor might be called on
   // a non-UI thread.
   registrar_.RemoveAll();
}

It indicates that the destructor of ExtensionMessageService might be called  
from
another non-UI thread? Will ExtensionMessageService::ProfileDestroyed  
always get
called before destructor? If not then registrar_.RemoveAll() in destructor  
removes
ExtensionMessageService from the notification service of that thread, not  
the UI
thread. This will lead to crash.

ExtensionProcessManager is also an observer of RENDERER_PROCESS_TERMINATED,  
does it
have the similar multi-threading issue?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to