Post Reply 
Minimserver crashes with error: RandomFileInputStream read error
21-12-2016, 22:19
Post: #1
Minimserver crashes with error: RandomFileInputStream read error
Hi
I have a Qnap TS251+. Firmware version 4.2.2.
I've been using Minimserver for a few months on this server and several years on my Synology server. I just added a number of records to my library and tried a rescan. Then after a while the serverer crashes with the errormessage: RandomFileInputStream read error.
Anyone knows how to deal with this??
Regards,
Ole Petter

The crash-log looks like this:

MinimServer crash dump, produced at 20161221-204128.923

RandomFileInputStream read error; pos=12160781 bufPos=3853 len=12160781 offset=0

org.jminim.LogErrorException: RandomFileInputStream read error
at com.minimserver.RandomFileInputStream.getData(RandomFileInputStream.java:92)
at com.minimserver.RandomFileInputStream.read(RandomFileInputStream.java:41)
at java.io.DataInputStream.readInt(DataInputStream.java:387)
at com.minimserver.Server$Playlist.resolveFiles(Server.java:11235)
at com.minimserver.Server.doStart(Server.java:2439)
at com.minimserver.Server.start(Server.java:503)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:153)
at org.jminim.core.ContextImpl.start(ContextImpl.java:78)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1403)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1124)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:677)
at org.jminim.launch.Launcher.launch(Launcher.java:210)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:34)

"Thread-52" id=61 RUNNABLE (in native)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
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-51" id=60 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.HTTPConnection@1265bee
at java.lang.Object.wait(Object.java:502)
at org.jminim.lib.HTTPConnection.getRequest(HTTPConnection.java:108)
at org.jminim.lib.HTTPConnection.access$1600(HTTPConnection.java:18)
at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​33)
at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:418)

"Thread-32" id=41 RUNNABLE (in native)

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

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

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

"Thread-13" id=22 RUNNABLE (in native)

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

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

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

"Thread-9" id=18 RUNNABLE (in native)
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
at java.net.ServerSocket.implAccept(ServerSocket.java:545)
at java.net.ServerSocket.accept(ServerSocket.java:513)
at org.jminim.lib.HTTPService.runServerThread(HTTPService.java:332)
at org.jminim.lib.HTTPService.access$200(HTTPService.java:30)
at org.jminim.lib.HTTPService$1.run(HTTPService.java:317)

"Thread-8" id=17 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.HTTPService$SocketThread@857e8f
at java.lang.Object.wait(Object.java:502)
at org.jminim.lib.HTTPService$SocketThread.run(HTTPService.java:387)

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

"Thread-6" id=15 TIMED_WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.OhNetService$TimerThread@28589
at org.jminim.lib.OhNetService$TimerThread.run(OhNetService.java:946)

"Thread-5" id=14 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.OhNetService$ActionThread@f6ecab
at java.lang.Object.wait(Object.java:502)
at org.jminim.lib.OhNetService$ActionThread.run(OhNetService.java:901)

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

"Thread-1" id=9 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.core.RuntimeImpl$ActionThread@1c91cd
at java.lang.Object.wait(Object.java:502)
at org.jminim.core.RuntimeImpl$ActionThread.run(RuntimeImpl.java:2865)

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@1e8b711
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

"Reference Handler" id=2 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@4a3867
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)

"main" id=1 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:440)
at org.jminim.core.LogImpl.writeCrashDump(LogImpl.java:1178)
at org.jminim.core.LogImpl.printStackTraceSync(LogImpl.java:1103)
- locked org.jminim.core.LogImpl@199df7a
at org.jminim.core.LogImpl.reportErrorEx(LogImpl.java:237)
at com.minimserver.RandomFileInputStream.getData(RandomFileInputStream.java:93)
at com.minimserver.RandomFileInputStream.read(RandomFileInputStream.java:41)
at java.io.DataInputStream.readInt(DataInputStream.java:387)
at com.minimserver.Server$Playlist.resolveFiles(Server.java:11235)
- locked java.lang.Object@1aacb6
at com.minimserver.Server.doStart(Server.java:2439)
at com.minimserver.Server.start(Server.java:503)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:153)
at org.jminim.core.ContextImpl.start(ContextImpl.java:78)
- locked java.lang.Object@19dc62f
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1403)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1124)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:677)
at org.jminim.launch.Launcher.launch(Launcher.java:210)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:34)

- - - - - - - - - - - - - - - -
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Minimserver crashes with error: RandomFileInputStream read error - opd - 21-12-2016 22:19

Forum Jump:


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