I have exactly the same issue at work.

Using Windows 7 64bit, jdk 6 update 26, gwt 2.3 and eclipse indigo
3.7.
Same deadlock happens when using different versions of java jdk, gwt
and eclipse.

On 15 aug, 20:02, otth2oskier <[email protected]> wrote:
> Added -XdisableUpdateCheck to command line and it no longer hangs.
>
> On Aug 15, 1:53 pm, otth2oskier <[email protected]> wrote:
>
>
>
> > There appears to be a deadlock:
>
> > Microsoft Windows XP [Version 5.1.2600]
> > (C) Copyright 1985-2001 Microsoft Corp.
>
> > C:\Documents and Settings\xxxxxx>jstack 1220
> > 2011-08-15 13:50:55
> > Full thread dump Java HotSpot(TM) Client VM (17.1-b03 mixed mode,
> > sharing):
>
> > "GWT Update Checker" daemon prio=6 tid=0x03131400 nid=0x15e0 waiting
> > for monitor entry [0x0327d000]
> >    java.lang.Thread.State: BLOCKED (on object monitor)
> >         at
> > sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:188)
> >         - waiting to lock <0x1d434438> (a sun.misc.Launcher
> > $AppClassLoader)
> >         at sun.security.jca.ProviderList.getProvider(ProviderList.java:
> > 215)
> >         at sun.security.jca.ProviderList.getService(ProviderList.java:
> > 313)
> >         at sun.security.jca.GetInstance.getInstance(GetInstance.java:
> > 140)
> >         at
> > java.security.cert.CertificateFactory.getInstance(CertificateFactory.java:
> > 148)
> >         at sun.security.pkcs.PKCS7.parseSignedData(PKCS7.java:244)
> >         at sun.security.pkcs.PKCS7.parse(PKCS7.java:141)
> >         at sun.security.pkcs.PKCS7.parse(PKCS7.java:110)
> >         at sun.security.pkcs.PKCS7.<init>(PKCS7.java:92)
> >         at
> > sun.security.util.SignatureFileVerifier.<init>(SignatureFileVerifier.java:
> > 80)
> >         at java.util.jar.JarVerifier.processEntry(JarVerifier.java:
> > 267)
> >         at java.util.jar.JarVerifier.update(JarVerifier.java:199)
> >         at java.util.jar.JarFile.initializeVerifier(JarFile.java:323)
> >         at java.util.jar.JarFile.getInputStream(JarFile.java:388)
> >         - locked <0x12c07c58> (a java.util.jar.JarFile)
> >         at sun.misc.JarIndex.getJarIndex(JarIndex.java:120)
> >         at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:
> > 608)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at sun.misc.URLClassPath
> > $JarLoader.ensureOpen(URLClassPath.java:599)
> >         at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:
> > 583)
> >         at sun.misc.URLClassPath$3.run(URLClassPath.java:333)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at sun.misc.URLClassPath.getLoader(URLClassPath.java:322)
> >         at sun.misc.URLClassPath.getLoader(URLClassPath.java:299)
> >         - locked <0x1d434500> (a sun.misc.URLClassPath)
> >         at sun.misc.URLClassPath.access$000(URLClassPath.java:60)
> >         at sun.misc.URLClassPath$1.next(URLClassPath.java:195)
> >         at sun.misc.URLClassPath$1.hasMoreElements(URLClassPath.java:
> > 206)
> >         at java.net.URLClassLoader$3$1.run(URLClassLoader.java:416)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader$3.next(URLClassLoader.java:413)
> >         at java.net.URLClassLoader
> > $3.hasMoreElements(URLClassLoader.java:438)
> >         at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:
> > 27)
> >         at
> > sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:
> > 36)
> >         at sun.misc.Service$LazyIterator.hasNext(Service.java:255)
> >         at java.util.prefs.Preferences.factory1(Preferences.java:263)
> >         at java.util.prefs.Preferences.access$000(Preferences.java:
> > 208)
> >         at java.util.prefs.Preferences$2.run(Preferences.java:255)
> >         at java.util.prefs.Preferences$2.run(Preferences.java:253)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.util.prefs.Preferences.factory(Preferences.java:252)
> >         at java.util.prefs.Preferences.<clinit>(Preferences.java:210)
> >         at
> > com.google.gwt.dev.shell.CheckForUpdates.check(CheckForUpdates.java:
> > 263)
> >         at com.google.gwt.dev.shell.CheckForUpdates
> > $1.call(CheckForUpdates.java:124)
> >         at com.google.gwt.dev.shell.CheckForUpdates
> > $1.call(CheckForUpdates.java:120)
> >         at java.util.concurrent.FutureTask
> > $Sync.innerRun(FutureTask.java:303)
> >         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> >         at java.lang.Thread.run(Thread.java:662)
>
> > "Low Memory Detector" daemon prio=6 tid=0x00a4bc00 nid=0x16c0 runnable
> > [0x00000000]
> >    java.lang.Thread.State: RUNNABLE
>
> > "CompilerThread0" daemon prio=10 tid=0x00a49000 nid=0x79c waiting on
> > condition [0x00000000]
> >    java.lang.Thread.State: RUNNABLE
>
> > "Attach Listener" daemon prio=10 tid=0x00a44400 nid=0x177c waiting on
> > condition [0x00000000]
> >    java.lang.Thread.State: RUNNABLE
>
> > "Signal Dispatcher" daemon prio=10 tid=0x00a43000 nid=0x17bc runnable
> > [0x00000000]
> >    java.lang.Thread.State: RUNNABLE
>
> > "Finalizer" daemon prio=8 tid=0x00a3e000 nid=0x92c in Object.wait()
> > [0x02e9f000]
> >    java.lang.Thread.State: WAITING (on object monitor)
> >         at java.lang.Object.wait(Native Method)
> >         - waiting on <0x1d4343a0> (a java.lang.ref.ReferenceQueue
> > $Lock)
> >         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:
> > 118)
> >         - locked <0x1d4343a0> (a java.lang.ref.ReferenceQueue$Lock)
> >         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:
> > 134)
> >         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:
> > 159)
>
> > "Reference Handler" daemon prio=10 tid=0x00a39400 nid=0x1678 in
> > Object.wait() [0x02e4f000]
> >    java.lang.Thread.State: WAITING (on object monitor)
> >         at java.lang.Object.wait(Native Method)
> >         - waiting on <0x1d434430> (a java.lang.ref.Reference$Lock)
> >         at java.lang.Object.wait(Object.java:485)
> >         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:
> > 116)
> >         - locked <0x1d434430> (a java.lang.ref.Reference$Lock)
>
> > "main" prio=6 tid=0x00a1ac00 nid=0x1548 waiting for monitor entry
> > [0x00a0e000]
> >    java.lang.Thread.State: BLOCKED (on object monitor)
> >         at sun.misc.URLClassPath.getLoader(URLClassPath.java:279)
> >         - waiting to lock <0x1d434500> (a sun.misc.URLClassPath)
> >         at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> >         - locked <0x1d434438> (a sun.misc.Launcher$AppClassLoader)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
> > 301)
> >         - locked <0x1d434438> (a sun.misc.Launcher$AppClassLoader)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> >         at
> > com.google.gwt.dev.cfg.ModuleDefLoader.<clinit>(ModuleDefLoader.java:
> > 74)
> >         at com.google.gwt.dev.Compiler.run(Compiler.java:185)
> >         at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
> >         at
> > com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
> >         at
> > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRu­nner.java:
> > 81)
> >         at com.google.gwt.dev.Compiler.main(Compiler.java:166)
>
> > "VM Thread" prio=10 tid=0x00a37c00 nid=0x1dc runnable
>
> > "VM Periodic Task Thread" prio=10 tid=0x00a5ec00 nid=0xc88 waiting on
> > condition
>
> > JNI global references: 1208
>
> > Found one Java-level deadlock:
> > =============================
> > "GWT Update Checker":
> >   waiting to lock monitor 0x00a3d0bc (object 0x1d434438, a
> > sun.misc.Launcher$AppClassLoader),
> >   which is held by "main"
> > "main":
> >   waiting to lock monitor 0x00a3d054 (object 0x1d434500, a
> > sun.misc.URLClassPath),
> >   which is held by "GWT Update Checker"
>
> > Java stack information for the threads listed above:
> > ===================================================
> > "GWT Update Checker":
> >         at
> > sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:188)
> >         - waiting to lock <0x1d434438> (a sun.misc.Launcher
> > $AppClassLoader)
> >         at sun.security.jca.ProviderList.getProvider(ProviderList.java:
> > 215)
> >         at sun.security.jca.ProviderList.getService(ProviderList.java:
> > 313)
> >         at sun.security.jca.GetInstance.getInstance(GetInstance.java:
> > 140)
> >         at
> > java.security.cert.CertificateFactory.getInstance(CertificateFactory.java:
> > 148)
> >         at sun.security.pkcs.PKCS7.parseSignedData(PKCS7.java:244)
> >         at sun.security.pkcs.PKCS7.parse(PKCS7.java:141)
> >         at sun.security.pkcs.PKCS7.parse(PKCS7.java:110)
> >         at sun.security.pkcs.PKCS7.<init>(PKCS7.java:92)
> >         at
> > sun.security.util.SignatureFileVerifier.<init>(SignatureFileVerifier.java:
> > 80)
> >         at java.util.jar.JarVerifier.processEntry(JarVerifier.java:
> > 267)
> >         at java.util.jar.JarVerifier.update(JarVerifier.java:199)
> >         at java.util.jar.JarFile.initializeVerifier(JarFile.java:323)
> >         at java.util.jar.JarFile.getInputStream(JarFile.java:388)
> >         - locked <0x12c07c58> (a java.util.jar.JarFile)
> >         at sun.misc.JarIndex.getJarIndex(JarIndex.java:120)
> >         at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:
> > 608)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at sun.misc.URLClassPath
> > $JarLoader.ensureOpen(URLClassPath.java:599)
> >         at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:
> > 583)
> >      
>
> ...
>
> meer lezen »

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to