Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java lang stack overflow error
23-12-2013, 00:25 (This post was last modified: 23-12-2013 00:27 by simoncn.)
Post: #21
RE: Java lang stack overflow error
(23-12-2013 00:01)jolivetj Wrote:  java.lang.UnsatisfiedLinkError: C:\Users\Jacques Jolivet\AppData\Roaming\MinimWatch\data\native\ohNet.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

This is the wrong stack trace. As I have said in two previous posts, please post the Java stack trace (not more than 200 lines) for the Java lang stack overflow error.
Find all posts by this user
Quote this message in a reply
23-12-2013, 01:26
Post: #22
RE: Java lang stack overflow error
(23-12-2013 00:01)jolivetj Wrote:  
(22-12-2013 23:43)simoncn Wrote:  
(22-12-2013 18:29)jolivetj Wrote:  Unfortunately, that does not work
Windows 8 requires both Java 32 and 64 bit versions to be installed to work properly.
When I load MinimWatch 32 bit, I get the Java lang stack overflow error message
When I load MinimWatch 64 bit, I get: 'java.lang.UnsatsfiedLinkError: C:\Users\Jacques Jolivet\AppData\Roaming\MinimWatch\data\native\ohNet.dll: Can't load IA 32-bit on a AMD 64-bit Platform

As I requested in a previous post, please post the Java stack trace for the Java lang stack overflow error. If this stack trace is very long, please post the last 200 lines.
MinimWatch crash dump, produced at 20131222-123622.398

java.lang.UnsatisfiedLinkError: C:\Users\Jacques Jolivet\AppData\Roaming\MinimWatch\data\native\ohNet.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

java.lang.UnsatisfiedLinkError: C:\Users\Jacques Jolivet\AppData\Roaming\MinimWatch\data\native\ohNet.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.jminim.lib.OhNetService.createLibrary(OhNetService.java:534)
at org.jminim.lib.OhNetService.createControlPointStack(OhNetService.java:496)
at org.jminim.lib.OhNetService.createDeviceListFactory(OhNetService.java:402)
at org.jminim.lib.OhNetService.access$1300(OhNetService.java:46)
at org.jminim.lib.OhNetService$Proxy.createDeviceListFactory(OhNetService.java:850)​
at org.jminim.lib.ObserverService.start(ObserverService.java:66)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:160)
at org.jminim.core.ContextImpl.start(ContextImpl.java:85)
at org.jminim.core.RootContextImpl.getService(RootContextImpl.java:154)
at org.jminim.core.RuntimeImpl.getService(RuntimeImpl.java:1202)
at org.jminim.core.ContextImpl.getService(ContextImpl.java:274)
at com.minimserver.watch.MinimWatch.doStart(MinimWatch.java:162)
at com.minimserver.watch.MinimWatch.start(MinimWatch.java:47)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:160)
at org.jminim.core.ContextImpl.start(ContextImpl.java:85)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:45)
at org.jminim.core.ContextImpl.start(ContextImpl.java:85)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1236)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:795)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:475)
at org.jminim.launch.Launcher.launch(Launcher.java:133)
at com.minimserver.watch.launch.LaunchWatch.main(LaunchWatch.java:28)

"TimerQueue" id=22 TIMED_WAITING
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@6e9cf32
at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos​(Unknown Source)
at javax.swing.TimerQueue.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Locked synchronizers:
- java.util.concurrent.locks.ReentrantLock$NonfairSync@40aca68a

"Thread-6" id=19 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.OhNetService$TimerThread@4b4b25c8
at org.jminim.lib.OhNetService$TimerThread.run(OhNetService.java:749)

"Thread-5" id=18 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.OhNetService$ActionThread@329d9416
at java.lang.Object.wait(Object.java:503)
at org.jminim.lib.OhNetService$ActionThread.run(OhNetService.java:704)

"Thread-3" id=16 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.core.RuntimeImpl$TimerThread@7654a50
at org.jminim.core.RuntimeImpl$TimerThread.run(RuntimeImpl.java:2406)

"Thread-2" id=15 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.core.RuntimeImpl$ActionThread@af1cdfb
at java.lang.Object.wait(Object.java:503)
at org.jminim.core.RuntimeImpl$ActionThread.run(RuntimeImpl.java:2360)

"Thread-1" id=14 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.launch.Launcher$ConsoleThread@90a1f5a
at java.lang.Object.wait(Object.java:503)
at org.jminim.launch.Launcher$ConsoleThread.run(Launcher.java:1094)

"AWT-EventQueue-0" id=13 RUNNABLE
at sun.misc.Unsafe.compareAndSwapInt(Native Method)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.compareAndSetState(Unknown​ Source)
at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(Unknown Source)
at java.util.concurrent.locks.ReentrantLock.lock(Unknown Source)
at sun.awt.SunToolkit.flushPendingEvents(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.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-Windows" id=11 RUNNABLE (in native)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

"AWT-Shutdown" id=10 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@240e4cbb
at java.lang.Object.wait(Object.java:503)
at sun.awt.AWTAutoShutdown.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

"Java2D Disposer" id=9 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@26cf9b7b
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at sun.java2d.Disposer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

"Attach Listener" id=5 RUNNABLE

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@7e8bc25
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

"Reference Handler" id=2 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@40982531
at java.lang.Object.wait(Object.java:503)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

"main" id=1 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.getThreadInfo(Unknown Source)
at org.jminim.core.LogImpl.writeCrashDump(LogImpl.java:1033)
at org.jminim.core.LogImpl.printStackTraceSync(LogImpl.java:958)
- locked org.jminim.core.LogImpl@44b1d518
at org.jminim.core.LogImpl.fatalEx(LogImpl.java:231)
at com.minimserver.watch.MinimWatch.start(MinimWatch.java:56)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:160)
at org.jminim.core.ContextImpl.start(ContextImpl.java:85)
- locked java.lang.Object@3df9b42c
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:45)
at org.jminim.core.ContextImpl.start(ContextImpl.java:85)
- locked java.lang.Object@54a3d47d
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1236)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:795)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:475)
at org.jminim.launch.Launcher.launch(Launcher.java:133)
at com.minimserver.watch.launch.LaunchWatch.main(LaunchWatch.java:28)
The following is the only message I get for the overflow error:
MinimWatch 0.8.1, Copyright © 2012, 2013 Simon Nash. All rights reserved.
Java™ SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot™ 64-Bit Server VM (build 24.45-b08, mixed mode)
Startup complete
Find all posts by this user
Quote this message in a reply
23-12-2013, 08:21
Post: #23
RE: Java lang stack overflow error
(23-12-2013 01:26)jolivetj Wrote:  The following is the only message I get for the overflow error:
MinimWatch 0.8.1, Copyright © 2012, 2013 Simon Nash. All rights reserved.
Java™ SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot™ 64-Bit Server VM (build 24.45-b08, mixed mode)
Startup complete

This looks like MinimWatch startup has completed successfully. Please answer all the following questions:

Do you get the overflow error while you are using MinimWatch?

Where is the overflow error displayed?

Can you post a screenshot showing the overflow error?
Find all posts by this user
Quote this message in a reply
23-12-2013, 14:19
Post: #24
RE: Java lang stack overflow error
           
(23-12-2013 08:21)simoncn Wrote:  
(23-12-2013 01:26)jolivetj Wrote:  The following is the only message I get for the overflow error:
MinimWatch 0.8.1, Copyright © 2012, 2013 Simon Nash. All rights reserved.
Java™ SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot™ 64-Bit Server VM (build 24.45-b08, mixed mode)
Startup complete

This looks like MinimWatch startup has completed successfully. Please answer all the following questions:

Do you get the overflow error while you are using MinimWatch?
After first upgrading to 8.1, MinimServer worked until I first restarted it. I then got the red box. It then gives me a red box, when I reload it, a yellow box followed by a red box when I restart

Where is the overflow error displayed?
From the red MinimWatch box

Can you post a screenshot showing the overflow error?
Find all posts by this user
Quote this message in a reply
23-12-2013, 19:34
Post: #25
RE: Java lang stack overflow error
Thanks for posting these screenshots. They show that MinimWatch is working correctly and the StackOverflowException is coming from MinimServer. This means the information that I need to see to debug this problem is in a crash log file named

minimserver-crash-yyyymmdd-hhmmss.log

where yyyymmdd-hhmmss is a timestamp. If you are running MinimServer on a QNAP NAS, you can find this file in the Public share of the QNAP. Please attach this crash log file to a post here.
Find all posts by this user
Quote this message in a reply
23-12-2013, 23:31
Post: #26
RE: Java lang stack overflow error

.log  minimserver-crash-20131223-132714.log (Size: 41.39 KB / Downloads: 5)
(23-12-2013 19:34)simoncn Wrote:  Thanks for posting these screenshots. They show that MinimWatch is working correctly and the StackOverflowException is coming from MinimServer. This means the information that I need to see to debug this problem is in a crash log file named

minimserver-crash-yyyymmdd-hhmmss.log

where yyyymmdd-hhmmss is a timestamp. If you are running MinimServer on a QNAP NAS, you can find this file in the Public share of the QNAP. Please attach this crash log file to a post here.
Find all posts by this user
Quote this message in a reply
29-12-2013, 04:30
Post: #27
RE: Java lang stack overflow error
(23-12-2013 23:31)jolivetj Wrote:  
(23-12-2013 19:34)simoncn Wrote:  Thanks for posting these screenshots. They show that MinimWatch is working correctly and the StackOverflowException is coming from MinimServer. This means the information that I need to see to debug this problem is in a crash log file named

minimserver-crash-yyyymmdd-hhmmss.log

where yyyymmdd-hhmmss is a timestamp. If you are running MinimServer on a QNAP NAS, you can find this file in the Public share of the QNAP. Please attach this crash log file to a post here.

Bonjour Simon,

I have solved my problem by reloading Oracle's Java SE for Embedded using the current version (ejre-7u45-fcs-b15-linux-arm-sflt-headless-26_sep_2013.tar) after deleting the version used when I first loaded MinimServer in 2012 (ejre-7u6-fcs-b24-linux-arm-sflt-headless-10_aug_2012.tar).

Thank you for improved group identification in the error log dialog.

Joyeuses FĂȘtes!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)