MinimServer Forum

Full Version: MinimServer crash on QNAP NAS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Bonjour Simon,

MinimServer has crashed. This is the message in the MinimWatch lo:

MinimWatch 0.8.1 update 11, Copyright © 2012-2014 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)
Platform default charset is windows-1252
Startup complete

The following is the MinimServer crash message on the NAS:

MinimServer crash dump, produced at 20140112-182909.974

ohNet fatal error: Unhandled exception AssertionFailed at OpenHome/Queue.cpp:179 in thread DS 2

"Thread-217" id=226 RUNNABLE (in native)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:192)
at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​55)
at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:126)

"Thread-216" id=225 RUNNABLE (in native)
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
- locked java.io.BufferedOutputStream@16785ea
at com.minimserver.FileResource.writeData(FileResource.java:76)
at com.minimserver.ServerRequestHandler.processRequest(ServerRequestHandler.java:44​2)
at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​51)
at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:411)

"Timer-3" id=136 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.util.TaskQueue@18901dd
at java.lang.Object.wait(Object.java:503)
at java.util.TimerThread.mainLoop(Timer.java:526)
at java.util.TimerThread.run(Timer.java:505)

"Thread-18" id=27 RUNNABLE (in native)

"Thread-17" id=26 RUNNABLE (in native)

"Thread-16" id=25 RUNNABLE (in native)

"Thread-15" id=24 RUNNABLE (in native)

"Thread-14" id=23 RUNNABLE (in native)

"Thread-12" id=21 RUNNABLE (in native)

"Thread-11" id=20 RUNNABLE (in native)

"Thread-9" id=18 RUNNABLE (in native)
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
at java.net.ServerSocket.implAccept(ServerSocket.java:530)
at java.net.ServerSocket.accept(ServerSocket.java:498)
at org.jminim.lib.HTTPService.runServerThread(HTTPService.java:326)
at org.jminim.lib.HTTPService.access$200(HTTPService.java:28)
at org.jminim.lib.HTTPService$1.run(HTTPService.java:311)

"Thread-10" id=19 RUNNABLE (in native)

"Thread-8" id=17 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.HTTPService$SocketThread@1d9852b
at java.lang.Object.wait(Object.java:503)
at org.jminim.lib.HTTPService$SocketThread.run(HTTPService.java:363)

"Thread-7" id=16 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:440)
at org.jminim.core.LogImpl.writeCrashDump(LogImpl.java:1033)
at org.jminim.core.LogImpl.fatalError(LogImpl.java:238)
- locked org.jminim.core.LogImpl@1b5d855
at org.jminim.lib.OhNetService$FatalErrorHandler.message(OhNetService.java:671)
- locked org.jminim.lib.OhNetService$FatalErrorHandler@18de89e

"Thread-6" id=15 RUNNABLE (in native)

"Thread-5" id=14 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.OhNetService$TimerThread@1a2dfeb
at org.jminim.lib.OhNetService$TimerThread.run(OhNetService.java:749)

"Thread-4" id=13 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.OhNetService$ActionThread@1ad1a1
at java.lang.Object.wait(Object.java:503)
at org.jminim.lib.OhNetService$ActionThread.run(OhNetService.java:704)

"Thread-2" id=9 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.core.RuntimeImpl$TimerThread@b8bcc7
at org.jminim.core.RuntimeImpl$TimerThread.run(RuntimeImpl.java:2415)

"Thread-1" id=8 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.core.RuntimeImpl$ActionThread@71ba85
at java.lang.Object.wait(Object.java:503)
at org.jminim.core.RuntimeImpl$ActionThread.run(RuntimeImpl.java:2369)

"Thread-0" id=7 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.launch.Launcher$ConsoleThread@8c9e19
at java.lang.Object.wait(Object.java:503)
at org.jminim.launch.Launcher$ConsoleThread.run(Launcher.java:1094)

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@1df9e77
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)

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

"main" id=1 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@115a35f
at java.lang.Object.wait(Object.java:503)
at org.jminim.core.RuntimeImpl.waitForRequest(RuntimeImpl.java:2286)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1224)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:796)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:475)
at org.jminim.launch.Launcher.launch(Launcher.java:133)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:28)

- - - - - - - - - - - - - - - -
(12-01-2014 22:12)jolivetj Wrote: [ -> ]Bonjour Simon,

MinimServer has crashed. This is the message in the MinimWatch lo:

MinimWatch 0.8.1 update 11, Copyright © 2012-2014 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)
Platform default charset is windows-1252
Startup complete

The following is the MinimServer crash message on the NAS:

MinimServer crash dump, produced at 20140112-182909.974

ohNet fatal error: Unhandled exception AssertionFailed at OpenHome/Queue.cpp:179 in thread DS 2

Thanks for reporting this problem. I have reported it to the ohNet developers. What was happening immediately before the crash occurred?
(13-01-2014 09:06)simoncn Wrote: [ -> ]
(12-01-2014 22:12)jolivetj Wrote: [ -> ]Bonjour Simon,

MinimServer has crashed. This is the message in the MinimWatch lo:

MinimWatch 0.8.1 update 11, Copyright © 2012-2014 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)
Platform default charset is windows-1252
Startup complete

The following is the MinimServer crash message on the NAS:

MinimServer crash dump, produced at 20140112-182909.974

ohNet fatal error: Unhandled exception AssertionFailed at OpenHome/Queue.cpp:179 in thread DS 2

Thanks for reporting this problem. I have reported it to the ohNet developers. What was happening immediately before the crash occurred?
I was ripping and editing records on DBpoweramp and MP3 tag editor and looking at my data base on Kinsky.
(13-01-2014 14:08)jolivetj Wrote: [ -> ]I was ripping and editing records on DBpoweramp and MP3 tag editor and looking at my data base on Kinsky.

Thanks for this information. To debug the problem, it would be necessary to see an ohNet debug log. You can enable this logging by doing the following:

1) Set the ohnet.debug property to All-Timer
2) Change the MinimServer logging level to Debug
3) Close the MinimServer log window
4) The ohNet debug log information will be written to the minimserver.log file in the Public share of the QNAP. It won't appear in the log window.
5) After the crash, copy the minimserver.log file to minimserver1.log so it doesn't get overwritten when you restart MinimServer
6) Upload the minimserver1.log file to my FTP server. It will be a very large file.

Many thanks for your help with this!
(13-01-2014 17:22)simoncn Wrote: [ -> ]Thanks for this information. To debug the problem, it would be necessary to see an ohNet debug log. You can enable this logging by doing the following:

1) Set the ohnet.debug property to All-Timer
2) Change the MinimServer logging level to Debug
3) Close the MinimServer log window
4) The ohNet debug log information will be written to the minimserver.log file in the Public share of the QNAP. It won't appear in the log window.
5) After the crash, copy the minimserver.log file to minimserver1.log so it doesn't get overwritten when you restart MinimServer
6) Upload the minimserver1.log file to my FTP server. It will be a very large file.

Many thanks for your help with this!

If you find the minimserver.log file is getting too large with the above settings, you could change the ohnet.debug property to Default and leave the MinimServer logging level as Debug.
Reference URL's