Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Minim Server keeps crashing on QNAP NAS
26-12-2020, 22:15
Post: #1
Minim Server keeps crashing on QNAP NAS
Hi Simon

In the last week I have updated Minim Server running on my QNAP NAS to the latest version (2.0.12 update 178). Now it will run for a few days and then stops appearing as an available server (on both Marantz streamer and HiFi Cast on Android).

Checking the MinimServer status page (on my laptop) shows the following

MinimServer 2.0.12 update 178, Copyright © 2012-2020 Simon Nash. All rights reserved.

Your license type is Starter. For more information, select the License tab.

Media server status for MinimServer[QNAP NAS]: Error

This page was last updated at 21:02:19 on 26 Dec 2020

Exception while processing action request: java.util.ConcurrentModificationException


A rescan does clear the error status until the next time.

Any ideas?

Thanks

Allan
Find all posts by this user
Quote this message in a reply
26-12-2020, 23:37
Post: #2
RE: Minim Server keeps crashing on QNAP NAS
Thanks for letting me know about this. Please post the full stack trace for this exception message. You can find this after the exception message in the minimserver.log file (before restarting MinimServer) or in a minimserver-crash log file. These files are in the MinimServer shared folder of your QNAP NAS.
Find all posts by this user
Quote this message in a reply
27-12-2020, 12:03 (This post was last modified: 27-12-2020 13:31 by AllanM.)
Post: #3
RE: Minim Server keeps crashing on QNAP NAS
(26-12-2020 23:37)simoncn Wrote:  Thanks for letting me know about this. Please post the full stack trace for this exception message. You can find this after the exception message in the minimserver.log file (before restarting MinimServer) or in a minimserver-crash log file. These files are in the MinimServer shared folder of your QNAP NAS.


Thanks for the very prompt response, especially at Christmas. Hope you and yours are keeping well.

--- EDIT - config settings now fixed by installing 30 day license, original issue persists ---

Don't know if this may have any bearing, but I previously had some customisations in the config file, eg album title under an artists were sorted in 'Year' order, also has some custom categories showing (Album/Single, Live/Studio, etc). All of the above has disappeared just the basic default headings are showing (Artist, Album, Genre, Composer etc). Do I need to manually reset all these up in the config file or can they be imported from previous.

All this probably unrelated to problem in hand, here is the error log.

Thanks again Simon.


MinimServer crash dump, produced at 20201226-194232.820

MinimServer: exception while processing action request: java.util.ConcurrentModificationException

java.util.ConcurrentModificationException
at java.util.ArrayList.sort(ArrayList.java:1462)
at java.util.Collections.sort(Collections.java:141)
at com.minimserver.Server$AlbumList.sortAlbums(Server.java:15277)
at com.minimserver.Server$AlbumListView.init(Server.java:23247)
at com.minimserver.Server$AlbumListView.<init>(Server.java:23184)
at com.minimserver.Server$AlbumListContainer.populate(Server.java:23367)
at com.minimserver.Server.populateContainer(Server.java:9490)
at com.minimserver.Server.access$33600(Server.java:152)
at com.minimserver.Server$ContentDirectoryProvider.doBrowse(Server.java:25860)
at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:25804)
at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)

"Thread-91" id=106 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:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:200)
at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​63)
at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:129)

"Thread-90" id=105 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.HTTPConnection@43ccf47b
at java.lang.Object.wait(Object.java:502)
at org.jminim.lib.HTTPConnection.getRequest(HTTPConnection.java:110)
at org.jminim.lib.HTTPConnection.access$1700(HTTPConnection.java:18)
at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​45)
at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:430)

"Thread-29" id=42 RUNNABLE (in native)

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

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

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

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

"Thread-14" id=25 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:448)
at org.jminim.core.LogImpl.writeCrashDump(LogImpl.java:1223)
at org.jminim.core.LogImpl.printStackTraceSync(LogImpl.java:1148)
- locked org.jminim.core.LogImpl@20922f09
at org.jminim.core.LogImpl.errorEx(LogImpl.java:241)
at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:25826)
at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)

"Thread-7" id=17 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:367)
at org.jminim.lib.HTTPService.access$200(HTTPService.java:31)
at org.jminim.lib.HTTPService$1.run(HTTPService.java:352)

"Thread-6" id=16 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.HTTPService$SocketThread@5a7c877a
at java.lang.Object.wait(Object.java:502)
at org.jminim.lib.HTTPService$SocketThread.run(HTTPService.java:423)

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

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

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

"Thread-0" id=8 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.core.RuntimeImpl$ActionThread@77baa5a6
at java.lang.Object.wait(Object.java:502)
at org.jminim.core.RuntimeImpl$ActionThread.run(RuntimeImpl.java:4231)

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@60ea7e82
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@593d420f
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

"main" id=1 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@dcfcb3f
at java.lang.Object.wait(Object.java:502)
at org.jminim.core.RuntimeImpl.waitForRequest(RuntimeImpl.java:4139)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:2632)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1302)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:124)
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:498)
at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:525)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:150)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:90)
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:498)
at org.jminim.launch.Launcher.launch(Launcher.java:88)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:38)

- - - - - - - - - - - - - - - -
Find all posts by this user
Quote this message in a reply
27-12-2020, 12:46
Post: #4
RE: Minim Server keeps crashing on QNAP NAS
After further reading I have installed a 30 day trial licence and my previous config customisations have now appeared and are working (eg sort by year, Album/Single etc).

However with a couple of minutes browsing the server crashed again with a very similar or identical stack trace, see below log file.

Unfortunately this is making the system virtually unusable at the moment.

Thanks In Advance

Allan



MinimServer crash dump, produced at 20201227-113526.591

MinimServer: exception while processing action request: java.util.ConcurrentModificationException

java.util.ConcurrentModificationException
at java.util.ArrayList.sort(ArrayList.java:1462)
at java.util.Collections.sort(Collections.java:141)
at com.minimserver.Server$AlbumList.sortAlbums(Server.java:15277)
at com.minimserver.Server$AlbumListView.init(Server.java:23247)
at com.minimserver.Server$AlbumListView.<init>(Server.java:23184)
at com.minimserver.Server$AlbumListContainer.populate(Server.java:23367)
at com.minimserver.Server.populateContainer(Server.java:9490)
at com.minimserver.Server.access$33600(Server.java:152)
at com.minimserver.Server$ContentDirectoryProvider.doBrowse(Server.java:25860)
at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:25804)
at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)

"Thread-13" id=23 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:448)
at org.jminim.core.LogImpl.writeCrashDump(LogImpl.java:1223)
at org.jminim.core.LogImpl.printStackTraceSync(LogImpl.java:1148)
- locked org.jminim.core.LogImpl@45d0bc97
at org.jminim.core.LogImpl.errorEx(LogImpl.java:241)
at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:25826)
at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)

"Thread-10" id=20 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:367)
at org.jminim.lib.HTTPService.access$200(HTTPService.java:31)
at org.jminim.lib.HTTPService$1.run(HTTPService.java:352)

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

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

"Thread-7" id=17 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.lib.HTTPService$SocketThread@326e95a0
at java.lang.Object.wait(Object.java:502)
at org.jminim.lib.HTTPService$SocketThread.run(HTTPService.java:423)

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

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

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

"Thread-1" id=9 TIMED_WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.core.RuntimeImpl$TimerThread@32b1d572
at org.jminim.core.RuntimeImpl$TimerThread.run(RuntimeImpl.java:4277)

"Thread-0" id=8 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.core.RuntimeImpl$ActionThread@74349511
at java.lang.Object.wait(Object.java:502)
at org.jminim.core.RuntimeImpl$ActionThread.run(RuntimeImpl.java:4231)

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@66298a68
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@3becbd27
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

"main" id=1 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@7cae56d
at java.lang.Object.wait(Object.java:502)
at org.jminim.core.RuntimeImpl.waitForRequest(RuntimeImpl.java:4139)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:2632)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1302)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:124)
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:498)
at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:525)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:150)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:90)
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:498)
at org.jminim.launch.Launcher.launch(Launcher.java:88)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:38)

- - - - - - - - - - - - - - - -
Find all posts by this user
Quote this message in a reply
27-12-2020, 17:37
Post: #5
RE: Minim Server keeps crashing on QNAP NAS
Thanks for this. The problem should be fixed in the next MinimServer update. I have sent you a PM with details of how you can install a preview version of this update for testing.
Find all posts by this user
Quote this message in a reply
27-12-2020, 22:57
Post: #6
RE: Minim Server keeps crashing on QNAP NAS
(27-12-2020 17:37)simoncn Wrote:  Thanks for this. The problem should be fixed in the next MinimServer update. I have sent you a PM with details of how you can install a preview version of this update for testing.

Thanks very much Simon, have installed update now. Will do some testing tomorrow and see how it performs. Cheers for quick response and fix.
Find all posts by this user
Quote this message in a reply
29-12-2020, 12:10
Post: #7
RE: Minim Server keeps crashing on QNAP NAS
I have tested this out and all is now working correctly. Thanks very much Simon for quick response and fix.

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


Forum Jump:


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