My favorites | Sign in
Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 7793: Chrome hangs if plugin invokes a JS callback that opens a dialog
6 people starred this issue and may be notified of changes. Back to list
 
Reported by tulr...@google.com, Feb 17, 2009
Chrome Version       : 1.0.154.48
URLs (if applicable) :
Other browsers tested: FF/IE/Safari
Add OK or FAIL after other browsers where you have tested this issue:
     Safari 3: OK
    Firefox 3: OK
         IE 7: OK

What steps will reproduce the problem?
1. open 
http://www.google.com/earth/plugin/examples/samples/#geplugin_browserok
1a. If the google earth plugin is not installed yet, install it.  You might 
need to open the page in FF or IE first.
2. find the "Fetch bad kml link" sample (approx 7th from the bottom in the 
lower-right column)
3. click "run"

What is the expected result?

Browser pops up an alert saying "bad or NULL kml"

What happens instead?

Chrome hangs.  Eventually it offers to kill the Earth plugin, which 
restores interactivity.

Please provide any additional information below. Attach a screenshot if 
possible.

* Chrome works correctly when running with --single-process

* It looks to me like there is code in chrome/plugin/npobject_proxy.cc to 
address this kind of problem.  However, the NPObjectProxy that is actually 
used to invoke the callback in this case has a NULL modal_dialog_event_ .


Comment 1 by api.roman.public, Feb 17, 2009
Repro'd in 2.0.162.0
Comment 2 by aocampo@chromium.org, Feb 18, 2009
(No comment was entered for this change.)
Status: Untriaged
Cc: anan...@chromium.org
Labels: -Area-Misc Area-Plugins GoogleEarth
Comment 3 by aocampo@chromium.org, Feb 18, 2009
The plugin fails to load on Vista with the latest Chrome. Here is the stacktrace. 
Please let me know if I need to file a separate bug.

Microsoft (R) Windows Debugger  Version 6.6.0003.5
Copyright (c) Microsoft Corporation. All rights reserved.

*** wait with pending attach
Symbol search path is: 
srv*C:\symbolcache*\\filer\shares\googleclient\save\symbols*\\filer\shares\googleclie
nt\nightly\symbols*http://msdl.microsoft.com/download/symbols;SRV*\\trserver\symbols*
http://msdl.microsoft.com/download/symbols;SRV**\\trserver\symsrv;C:\chrome\
Executable search path is: 
ModLoad: 00400000 0104c000   C:\Program Files\Google\Google Earth Plugin\geplugin.exe
ModLoad: 77000000 77127000   C:\Windows\system32\ntdll.dll
ModLoad: 76410000 764eb000   C:\Windows\system32\kernel32.dll
ModLoad: 771d0000 7725d000   C:\Windows\system32\OLEAUT32.dll
ModLoad: 76270000 763b4000   C:\Windows\system32\ole32.dll
ModLoad: 75e30000 75eda000   C:\Windows\system32\msvcrt.dll
ModLoad: 763c0000 7640b000   C:\Windows\system32\GDI32.dll
ModLoad: 760d0000 7616d000   C:\Windows\system32\USER32.dll
ModLoad: 75d60000 75e26000   C:\Windows\system32\ADVAPI32.dll
ModLoad: 761a0000 76262000   C:\Windows\system32\RPCRT4.dll
ModLoad: 76170000 7619d000   C:\Windows\system32\WS2_32.dll
ModLoad: 75a60000 75a66000   C:\Windows\system32\NSI.dll
ModLoad: 727a0000 727a5000   C:\Windows\system32\SHFOLDER.dll
ModLoad: 764f0000 77000000   C:\Windows\system32\SHELL32.dll
ModLoad: 75ac0000 75b18000   C:\Windows\system32\SHLWAPI.dll
ModLoad: 75020000 75028000   C:\Windows\system32\VERSION.dll
ModLoad: 6c5d0000 6c69b000   C:\Windows\system32\OPENGL32.dll
ModLoad: 6de20000 6de43000   C:\Windows\system32\GLU32.dll
ModLoad: 6cc70000 6cd55000   C:\Windows\system32\DDRAW.dll
ModLoad: 749a0000 749a6000   C:\Windows\system32\DCIMAN32.dll
ModLoad: 75880000 75a0a000   C:\Windows\system32\SETUPAPI.dll
ModLoad: 73520000 7352c000   C:\Windows\system32\dwmapi.dll
ModLoad: 73610000 73617000   C:\Windows\system32\WSOCK32.dll
ModLoad: 75fb0000 76080000   C:\Windows\system32\WININET.dll
ModLoad: 77140000 77143000   C:\Windows\system32\Normaliz.dll
ModLoad: 75a10000 75a55000   C:\Windows\system32\iertutil.dll
ModLoad: 75ba0000 75cc9000   C:\Windows\system32\urlmon.dll
ModLoad: 6dbe0000 6dc67000   
C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1434_none_d08b600
2442c891f\MSVCP80.dll
ModLoad: 6df90000 6e02b000   
C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1434_none_d08b600
2442c891f\MSVCR80.dll
ModLoad: 75180000 75271000   C:\Windows\system32\CRYPT32.dll
ModLoad: 752e0000 752f2000   C:\Windows\system32\MSASN1.dll
ModLoad: 756e0000 756fe000   C:\Windows\system32\USERENV.dll
ModLoad: 75730000 75744000   C:\Windows\system32\Secur32.dll
ModLoad: 74080000 740ad000   C:\Windows\system32\WINTRUST.dll
ModLoad: 76080000 760a9000   C:\Windows\system32\imagehlp.dll
ModLoad: 77150000 771c3000   C:\Windows\system32\comdlg32.dll
ModLoad: 732d0000 73355000   C:\Windows\WinSxS\x86_microsoft.windows.common-
controls_6595b64144ccf1df_5.82.6001.18000_none_886786f450a74a05\COMCTL32.dll
ModLoad: 75870000 75877000   C:\Windows\system32\PSAPI.DLL
ModLoad: 10000000 10026000   C:\Program Files\Google\Google Earth 
Plugin\libexpatw.dll
ModLoad: 75b20000 75b9d000   C:\Windows\system32\USP10.dll
ModLoad: 71ca0000 71ce2000   C:\Windows\system32\WINSPOOL.DRV
ModLoad: 760b0000 760ce000   C:\Windows\system32\IMM32.dll
ModLoad: 75ee0000 75fa8000   C:\Windows\system32\MSCTF.dll
ModLoad: 74450000 74482000   C:\Windows\system32\WINMM.dll
ModLoad: 74410000 74449000   C:\Windows\system32\OLEACC.dll
ModLoad: 77130000 77139000   C:\Windows\system32\LPK.DLL
ModLoad: 74510000 746ae000   C:\Windows\WinSxS\x86_microsoft.windows.common-
controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc\comctl32.dll
ModLoad: 744d0000 7450f000   C:\Windows\system32\uxtheme.dll
ModLoad: 74c30000 74c6b000   C:\Windows\system32\rsaenh.dll
ModLoad: 748b0000 748fa000   C:\Windows\system32\RASAPI32.dll
ModLoad: 74a80000 74a94000   C:\Windows\system32\rasman.dll
ModLoad: 75540000 755b5000   C:\Windows\system32\NETAPI32.dll
ModLoad: 74490000 744c1000   C:\Windows\system32\TAPI32.dll
ModLoad: 74b50000 74b5c000   C:\Windows\system32\rtutils.dll
ModLoad: 71320000 71326000   C:\Windows\system32\sensapi.dll
ModLoad: 74070000 7407f000   C:\Windows\system32\NLAapi.dll
ModLoad: 750e0000 750f9000   C:\Windows\system32\IPHLPAPI.DLL
ModLoad: 750a0000 750d5000   C:\Windows\system32\dhcpcsvc.DLL
ModLoad: 75320000 7534c000   C:\Windows\system32\DNSAPI.dll
ModLoad: 75090000 75097000   C:\Windows\system32\WINNSI.DLL
ModLoad: 75060000 75081000   C:\Windows\system32\dhcpcsvc6.DLL
ModLoad: 75030000 75037000   C:\Windows\system32\credssp.dll
ModLoad: 74ca0000 74ce4000   C:\Windows\system32\schannel.dll
ModLoad: 71e00000 71e06000   C:\Windows\system32\rasadhlp.dll
ModLoad: 74e70000 74eab000   C:\Windows\system32\mswsock.dll
ModLoad: 74b60000 74b65000   C:\Windows\System32\wshtcpip.dll
ModLoad: 75010000 75015000   C:\Windows\System32\wship6.dll
ModLoad: 72690000 7269f000   C:\Windows\system32\napinsp.dll
ModLoad: 71920000 71932000   C:\Windows\system32\pnrpnsp.dll
ModLoad: 71c40000 71c48000   C:\Windows\System32\winrnr.dll
ModLoad: 75a70000 75aba000   C:\Windows\system32\WLDAP32.dll
ModLoad: 16080000 160a5000   C:\Program Files\Bonjour\mdnsNSP.dll
ModLoad: 6ffb0000 7016a000   C:\Windows\system32\D3D9.DLL
ModLoad: 73ca0000 73ca6000   C:\Windows\system32\d3d8thk.dll
ModLoad: 73790000 7386c000   C:\Windows\system32\dbghelp.dll
ModLoad: 73ee0000 73f0f000   C:\Windows\system32\wdmaud.drv
ModLoad: 743d0000 743d4000   C:\Windows\system32\ksuser.dll
ModLoad: 74360000 74387000   C:\Windows\system32\MMDevAPI.DLL
ModLoad: 743e0000 743e7000   C:\Windows\system32\AVRT.dll
ModLoad: 73eb0000 73ed1000   C:\Windows\system32\AUDIOSES.DLL
ModLoad: 73a00000 73a66000   C:\Windows\system32\audioeng.dll
ModLoad: 73c90000 73c99000   C:\Windows\system32\msacm32.drv
ModLoad: 739e0000 739f4000   C:\Windows\system32\MSACM32.dll
ModLoad: 73c80000 73c87000   C:\Windows\system32\midimap.dll
ModLoad: 75cd0000 75d54000   C:\Windows\system32\CLBCatQ.DLL
(1474.1044): Access violation - code c0000005 (!!! second chance !!!)
eax=028cf518 ebx=03878f28 ecx=00000000 edx=00000001 esi=00000000 edi=00000000
eip=005ba6fc esp=0012d388 ebp=0012d3c0 iopl=0         nv up ei ng nz ac po cy
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010297
*** WARNING: Unable to verify checksum for C:\Program Files\Google\Google Earth 
Plugin\geplugin.exe
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for 
C:\Program Files\Google\Google Earth Plugin\geplugin.exe - 
geplugin!evll_GoogleEarthGetInfo+0x3293b:
005ba6fc 8b11             mov     edx,[ecx]         ds:0023:00000000=????????

Comment 4 by mal.chromium, Feb 19, 2009
Ananta, please have a look.
Status: Assigned
Owner: ana...@chromium.org
Cc: j...@chromium.org a...@chromium.org
Labels: Mstone-2.0
Comment 5 by jam@chromium.org, Feb 19, 2009
I think I know what the problem is
Owner: j...@chromium.org
Comment 6 by aocampo@chromium.org, Feb 19, 2009
My comment #3 is being tracked under GoogleEarth component, in b/1659728
Comment 7 by john.abdelmalek, Feb 19, 2009
yes file a separate bug.  although, I'm on Vista right now and it's loading...
Comment 8 by bugdroid1@chromium.org, Feb 21, 2009
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=10145 

------------------------------------------------------------------------
r10145 | jam@chromium.org | 2009-02-21 00:10:29 -0800 (Sat, 21 Feb 2009) | 6 lines
Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/plugin/npobject_proxy.cc?r1=10145&r2=10144
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/plugin/npobject_stub.cc?r1=10145&r2=10144
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/plugin/npobject_stub.h?r1=10145&r2=10144
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/plugin/npobject_util.cc?r1=10145&r2=10144
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/plugin/npobject_util.h?r1=10145&r2=10144
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/plugin/webplugin_delegate_stub.cc?r1=10145&r2=10144
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/plugin/webplugin_proxy.h?r1=10145&r2=10144
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/renderer/webplugin_delegate_proxy.cc?r1=10145&r2=10144

Fix plugin hang that Earth team found.

Normally an NPObjectProxy uses the modal dialog event to figure out when it needs to pump window messages in an invoke.  However, an NPObjectProxy created by an NPObjectStub never got access to this event, which led to this hang.

BUG=7793
Review URL: http://codereview.chromium.org/20515
------------------------------------------------------------------------

Comment 9 by jam@chromium.org, Feb 21, 2009
(No comment was entered for this change.)
Status: Fixed
Comment 10 by r.mcgrother, Feb 22, 2009
I think I am suffering from this, as I have reinstalled the plugin about 10 times 
now, and it still hangs after a few mins of trying. I'm sorry I don't have any of the 
technical knowledge that you obviously all do, but is there anything I can do to use 
the plugin and Chrome?
Comment 11 by thatcher.ulrich, Feb 22, 2009
Hi -- can you explain very specifically what behavior you are seeing?  I.e. what URL 
you load, and what happens on the page.  Also, please let us know if you have tried 
restarting Chrome (closing all Chrome windows, then try to open a plugin page)?  If 
not, let us know if that helped.


Comment 12 by r.mcgrother, Feb 22, 2009
Ok - I started by attempting to access the "explore google 3D model map" from within 
the 3D warehouse - http://sketchup.google.com/3dwarehouse/modelcycle?
scoring=d&view=ge.

I use Chrome, and Windows XP, if that helps.

I discovered the plugin had been updated for Chrome so I downloaded that and 
restarted my computer. The above page opened fine, but the google earth applictation 
just froze for a while with a timer type icon. Evenetually it stopped trying and gave 
me a message that 

"There was some problem with the Google Earth Plugin. Try reloading the page.
If that doesn't help, you can re-install the Google Earth Plugin using this link." Th

I have also tried the script in the Google Earth API Developer's Guide for embedding 
Google earth in your site. I used my API key, copied from the Map page I created, 
which worked fine, but the same issue arose - when I tried to preview my test page 
using the script provided by http://code.google.com/apis/earth/documentation/ with my 
key, the same message was received after a few minutes of trying.

Really appreciate any help as I am obviously no expert, but really nee to get this 
off the ground.

I have tried to reload the plugin four or five times now insanely expecting a 
different outcome each time.

I tried my dads laptop on the same wireless network, but he uses Firefox, and the 
plugin worked ok.

I use Chrome, and Windows XP, if that helps.
Comment 13 by venkataramana@chromium.org, Feb 25, 2009
In build: 2.0.166.1 (Official Build 10303)
Status: Verified
Comment 14 by turankeser2, Sep 09, 2009
turankeser@superonline.com
Comment 15 by naveen.249092, Sep 10, 2009
Please help me out to start this application by fixing this problem
gogle earth unable to locate component.xls
574 KB   Download
Comment 16 by mal.chromium, Dec 18 (5 days ago)
(No comment was entered for this change.)
Labels: -Area-Plugins Area-Internals Internals-Plugins
Comment 17 by miodragzarubica5678, Today (8 hours ago)
I am trying to give some suggestions for corrections at the map, but I can not find 
any contact address, even mailing address or fax number. If anyone could help I 
would be grateful.   
Sign in to add a comment