Issue 4270: Chrome: Crash Report - Stack Signature: NPN_GetValue-20D8B3
http://code.google.com/p/chromium/issues/detail?id=4270

Comment #4 by [EMAIL PROTECTED]:
This obscure sequence of events causes this:
1. Renderer calls into plugin.
2. Plugin calls back into renderer, and shows a modal dialog.
3. Renderer destroys the plugin instance somehow (maybe it navigates  
away?).  This
causes the plugin to post a delayed task to delete the plugin instance.
4. While plugin waits for renderer's response, it's running a modal loop  
and pumping
messages (since a modal dialog was displayed).  The delayed task from #3 is  
run here,
instead of when we return to the main message loop.
5. Plugin finally returns from modal dialog call, and accesses the plugin  
instance,
which is now destroyed.

The fix is easy: use PostNonNestableTask instead.



-- 
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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to chromium-bugs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to