Tropic Euro
Launch Tropic Euro
Facebook
Twitter
RSS

Login hangs

If you have an issue launching the game or logging in to the server, post it here.

Login hangs

Postby bargle » Thu Nov 14, 2013 12:58 am

When I try to login, the login window greys out and just hangs indefinitely. It's like the problem described here.

I am using the latest version of the game that is available on this site with Java 7 Update 45 on Windows 8.1. I have tried removing the game and reinstalling it but that doesn't help. I also tried removing the registry entries which also did not help. Here is a thread stack dump from when the login window is hanging:

Code: Select all
Dump thread stack ...
----------------------------------------------------
2013-11-13 17:52:30
Full thread dump Java HotSpot(TM) Client VM (24.45-b08 mixed mode, sharing):

"pool-1-thread-1" prio=6 tid=0x0542c000 nid=0xaef8 waiting on condition [0x0631f000]
   java.lang.Thread.State: WAITING (parking)
   at sun.misc.Unsafe.park(Native Method)
   - parking to wait for  <0x2b182f80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
   at java.util.concurrent.locks.LockSupport.park(Unknown Source)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
   at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
   at C.A.A.A.A.D(Unknown Source)
   at C.A.A.A.C.invoke(Unknown Source)
   at com.sun.proxy.$Proxy0.I(Unknown Source)
   at B.B.A.B$1.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

"Thread-12" daemon prio=6 tid=0x0542e000 nid=0xb270 in Object.wait() [0x066ff000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x2a6dd910> (a B.B.B.E)
   at B.B.B.E.run(Unknown Source)
   - locked <0x2a6dd910> (a B.B.B.E)
   at java.lang.Thread.run(Unknown Source)

"TimerQueue" daemon prio=6 tid=0x0542b400 nid=0xb350 waiting on condition [0x0598f000]
   java.lang.Thread.State: WAITING (parking)
   at sun.misc.Unsafe.park(Native Method)
   - parking to wait for  <0x2a54a500> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
   at java.util.concurrent.locks.LockSupport.park(Unknown Source)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
   at java.util.concurrent.DelayQueue.take(Unknown Source)
   at javax.swing.TimerQueue.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

"AWT-EventQueue-2" prio=6 tid=0x0542f800 nid=0xb25c waiting on condition [0x064ce000]
   java.lang.Thread.State: WAITING (parking)
   at sun.misc.Unsafe.park(Native Method)
   - parking to wait for  <0x2a4b5218> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
   at java.util.concurrent.locks.LockSupport.park(Unknown Source)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
   at java.awt.EventQueue.getNextEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.WaitDispatchSupport$2.run(Unknown Source)
   at java.awt.WaitDispatchSupport$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.WaitDispatchSupport.enter(Unknown Source)
   at java.awt.Dialog.show(Unknown Source)
   at java.awt.Component.show(Unknown Source)
   at java.awt.Component.setVisible(Unknown Source)
   at java.awt.Window.setVisible(Unknown Source)
   at java.awt.Dialog.setVisible(Unknown Source)
   at B.B.B.D.A.W(Unknown Source)
   at tropiceuro.MainClass$1$1.actionPerformed(Unknown Source)
   at B.B.B.B$_A.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)

"AWT-EventQueue-1" prio=6 tid=0x0542d000 nid=0xb75c waiting on condition [0x0643e000]
   java.lang.Thread.State: RUNNABLE
   at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllStacksImpl(Native Method)
   at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllStacks(Unknown Source)
   at com.sun.deploy.uitoolkit.impl.awt.ui.SwingConsoleWindow$3.actionPerformed(Unknown Source)
   at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
   at javax.swing.SwingUtilities.notifyAction(Unknown Source)
   at javax.swing.JComponent.processKeyBinding(Unknown Source)
   at javax.swing.KeyboardManager.fireBinding(Unknown Source)
   at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
   at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
   at javax.swing.JComponent.processKeyBindings(Unknown Source)
   at javax.swing.JComponent.processKeyEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)

"AWT-Shutdown" prio=6 tid=0x0542f400 nid=0xb36c in Object.wait() [0x063af000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x2a2a48a0> (a java.lang.Object)
   at java.lang.Object.wait(Object.java:503)
   at sun.awt.AWTAutoShutdown.run(Unknown Source)
   - locked <0x2a2a48a0> (a java.lang.Object)
   at java.lang.Thread.run(Unknown Source)

"TimerQueue" daemon prio=6 tid=0x0542ec00 nid=0xad60 waiting on condition [0x06abf000]
   java.lang.Thread.State: WAITING (parking)
   at sun.misc.Unsafe.park(Native Method)
   - parking to wait for  <0x2a360518> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
   at java.util.concurrent.locks.LockSupport.park(Unknown Source)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
   at java.util.concurrent.DelayQueue.take(Unknown Source)
   at javax.swing.TimerQueue.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

"ConsoleTraceListener" daemon prio=6 tid=0x0542bc00 nid=0xa5c0 in Object.wait() [0x06a2f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x2a3605f8> (a com.sun.deploy.uitoolkit.ui.ConsoleTraceListener$BoundedStringBuffer)
   at java.lang.Object.wait(Object.java:503)
   at com.sun.deploy.uitoolkit.ui.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
   - locked <0x2a3605f8> (a com.sun.deploy.uitoolkit.ui.ConsoleTraceListener$BoundedStringBuffer)

"DestroyJavaVM" prio=6 tid=0x0542b000 nid=0xa118 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Javaws Secure Thread" daemon prio=6 tid=0x029bc800 nid=0xa0ec in Object.wait() [0x05a9f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x2a360798> (a java.lang.Object)
   at java.lang.Object.wait(Object.java:503)
   at com.sun.javaws.ui.JavawsSysRun$SecureThread.run(Unknown Source)
   - locked <0x2a360798> (a java.lang.Object)

"AWT-Windows" daemon prio=6 tid=0x029bc400 nid=0xb148 runnable [0x0280f000]
   java.lang.Thread.State: RUNNABLE
   at sun.awt.windows.WToolkit.eventLoop(Native Method)
   at sun.awt.windows.WToolkit.run(Unknown Source)

"Java2D Disposer" daemon prio=10 tid=0x029bb400 nid=0xb2d8 in Object.wait() [0x058ef000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x2a360870> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(Unknown Source)
   - locked <0x2a360870> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(Unknown Source)
   at sun.java2d.Disposer.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

"CacheCleanUpThread" daemon prio=6 tid=0x029b9800 nid=0xa8f8 in Object.wait() [0x0576f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x2a360898> (a com.sun.deploy.cache.CleanupThread)
   at java.lang.Object.wait(Object.java:503)
   at com.sun.deploy.cache.CleanupThread.run(Unknown Source)
   - locked <0x2a360898> (a com.sun.deploy.cache.CleanupThread)

"CacheMemoryCleanUpThread" daemon prio=6 tid=0x029b9000 nid=0xab38 in Object.wait() [0x056df000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x2a360988> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(Unknown Source)
   - locked <0x2a360988> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(Unknown Source)
   at com.sun.deploy.cache.MemoryCache$LoadedResourceCleanupThread.run(Unknown Source)

"MemoryCache-DelayedCleanup" daemon prio=6 tid=0x029ba800 nid=0xae10 in Object.wait() [0x0564f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x2a360a18> (a java.util.TaskQueue)
   at java.lang.Object.wait(Object.java:503)
   at java.util.TimerThread.mainLoop(Unknown Source)
   - locked <0x2a360a18> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Unknown Source)

"traceMsgQueueThread" daemon prio=6 tid=0x029b9c00 nid=0xafa0 runnable [0x050af000]
   java.lang.Thread.State: RUNNABLE
   at java.io.WinNTFileSystem.getLength(Native Method)
   at java.io.File.length(Unknown Source)
   at com.sun.deploy.trace.FileTraceListener.print(Unknown Source)
   at com.sun.deploy.trace.Trace.firePrintlnEvent(Unknown Source)
   at com.sun.deploy.trace.Trace.access$200(Unknown Source)
   at com.sun.deploy.trace.Trace$TraceMsgQueueChecker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

"Service Thread" daemon prio=6 tid=0x02979400 nid=0xb0d0 runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"C1 CompilerThread0" daemon prio=10 tid=0x02974000 nid=0xb114 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x02971c00 nid=0xb368 runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x0296fc00 nid=0xa9fc runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x02906c00 nid=0xb3c4 in Object.wait() [0x04d4f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x2a360cb8> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(Unknown Source)
   - locked <0x2a360cb8> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(Unknown Source)
   at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

"Reference Handler" daemon prio=10 tid=0x02901c00 nid=0xa0b4 in Object.wait() [0x04cbf000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x2a360d40> (a java.lang.ref.Reference$Lock)
   at java.lang.Object.wait(Object.java:503)
   at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
   - locked <0x2a360d40> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x02900000 nid=0xb424 runnable

"VM Periodic Task Thread" prio=10 tid=0x02989000 nid=0xb2f8 waiting on condition

ReferenceHandler.run(Unknown Source)
   - locked <0x2a360d40> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x02900000 nid=0xb424 runnable

"VM Periodic Task Thread" prio=10 tid=0x02989000 nid=0xb2f8 waiting on condition


----------------------------------------------------
Done.
bargle
 
Posts: 2
Joined: Mon Nov 11, 2013 12:56 am
Country: United States (US)

Re: Login hangs

Postby eqlipt » Thu Nov 14, 2013 8:46 am

I confirm the same bahaviour
User avatar
eqlipt
 
Posts: 13
Joined: Tue Oct 09, 2012 11:18 am
Country: Russia (RU)

Re: Login hangs

Postby Cucumber » Thu Nov 14, 2013 9:06 am

the same (
Cucumber
 
Posts: 3
Joined: Tue Oct 09, 2012 12:50 pm
Country: Russia (RU)

Re: Login hangs

Postby ChrisGibbs » Thu Nov 14, 2013 10:16 am

Apologies, the server is now up and running again.

Don't worry it's not an issue with the client - it's a server issue that seems to involve "screen" hanging indefinitely, although the issue only seems to come up every 6-12 months or so, bizarre...

For the techies amongst you - has anyone reading this ever had issues with "screen" in Linux?
Chris Gibbs
Programmer/Musician at Inner Version Ltd
Image
User avatar
ChrisGibbs
Site Admin
Site Admin
 
Posts: 115
Joined: Fri Jun 29, 2012 10:54 am
Location: Bath, UK
Country: United Kingdom (GB)

Re: Login hangs

Postby bargle » Thu Nov 14, 2013 7:37 pm

I haven't had this kind of issue with screen but I don't use it for running services. You might try using nohup instead of screen for a simple solution. If you want to check the output you can "tail -f nohup.out". Even better would be to implement one of the many process supervisor solutions that would automatically restart the service if it crashed. For example, if you are using Ubuntu, you could use an Upstart job with the respawn option to start the service. If Upstart detects that the service has crashed, it will attempt to start it again. Here is an example:

Code: Select all
# /etc/init/tropiceuro.conf

description    "Tropic Euro server"

start on filesystem
stop on runlevel [!2345]

respawn

env TROPIC_EURO_DIR=/path/to/tropiceuro
env USER=user_to_run_the_serivce_goes_here
env JAVA_HOME=/usr/lib/jvm/java-6-openjdk
env JVM_OPTIONS="-Xms64m -Xmx256m"
env LOGFILE=/var/log/tropiceuro.log

script
  exec su -c "$JAVA_HOME/bin/java $JVM_OPTIONS \
    -jar $TROPIC_EURO_DIR/tropiceuro.jar > $LOGFILE 2>&1" $USER
end script


Of course you will need to modify this to match your environment but it should be a good start.
bargle
 
Posts: 2
Joined: Mon Nov 11, 2013 12:56 am
Country: United States (US)

Re: Login hangs

Postby ChrisGibbs » Mon Nov 18, 2013 10:31 am

Excellent thanks, will look into nohup / upstart.
Chris Gibbs
Programmer/Musician at Inner Version Ltd
Image
User avatar
ChrisGibbs
Site Admin
Site Admin
 
Posts: 115
Joined: Fri Jun 29, 2012 10:54 am
Location: Bath, UK
Country: United Kingdom (GB)

Re: Login hangs

Postby eqlipt » Tue Mar 07, 2017 8:34 am

Is the server down again? Can't login for the past 24 hours.
User avatar
eqlipt
 
Posts: 13
Joined: Tue Oct 09, 2012 11:18 am
Country: Russia (RU)

Re: Login hangs

Postby ChrisGibbs » Thu Mar 09, 2017 10:03 am

Apologies - the server seemed to have stopped responding so I rebooted it, logins should be working again.
Chris Gibbs
Programmer/Musician at Inner Version Ltd
Image
User avatar
ChrisGibbs
Site Admin
Site Admin
 
Posts: 115
Joined: Fri Jun 29, 2012 10:54 am
Location: Bath, UK
Country: United Kingdom (GB)


Return to Installation / Login Issues

Who is online

Users browsing this forum: No registered users and 3 guests

cron
Copyright © 2015 Inner Version Ltd | Latest News | Contact Us | Music by Inner Version | Hosted by IT Support Bristol