version 15.8.2 crashes after 5-10 minutes
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Re: version 15.8.2 crashes after 5-10 minutes
@dm34989 It would help to see logs. see the red section above.
Like I mentioned it may be due to changes in the binaries and a clean install might fix it. Backup your configuration files first.
I have not heard back yet if this works so I cannot be sure if this is the cause. If it does work then I can feed this back to the Devs as the update installer script may need changing.
Like I mentioned it may be due to changes in the binaries and a clean install might fix it. Backup your configuration files first.
I have not heard back yet if this works so I cannot be sure if this is the cause. If it does work then I can feed this back to the Devs as the update installer script may need changing.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
15.8.2 abends when scanning files
After starting and when it's scanning media files, it oonly gets so far and then just exist.
Does that 2 or 3 times and then finally seems to finish
Restarted Win 10 PC and no difference
Attached debug file is after it seems to complete
Does that 2 or 3 times and then finally seems to finish
Restarted Win 10 PC and no difference
Attached debug file is after it seems to complete
- Attachments
-
debug.log- (464.77 KiB) Downloaded 2 times
Re: version 15.8.2 crashes after 5-10 minutes
I merged this topic as it is probably the same thing.
There was an issue on Github that was smilier and I think we found the problem
It appears my suspicion about the change to Java 25 is part of the reason.
The lucene search engine was added and that uses something in JDK25 but will work in JDK17 if those modules are enabled as part of the launch command line.
With the devs working on V16 using JDK25 they must have missed that these options need adding. I know a PR was made to fix this.
I don't know exactly how to add those options to UMS when auto-starting in Windows but you should be able to edit UMS.bat (or other startup script in Linux) to add them there and start UMS by running that.
Another option is to download JRE25 and extract it to the UMS folder then edit your script to set the path for JAVA_HOME to that folder.
This is part of my build script that I had to change to use java 25, I assume it will be the same if running UMS from a script.
You could also get the updated startup script from the PR here
There was an issue on Github that was smilier and I think we found the problem
It appears my suspicion about the change to Java 25 is part of the reason.
The lucene search engine was added and that uses something in JDK25 but will work in JDK17 if those modules are enabled as part of the launch command line.
so it should look something like--add-modules=jdk.incubator.vector activates an optimized lucene search engine indexing. Without it won't use it.
--enable-native-access=ALL-UNNAMED is required for native system access. Especially Lucenes native memory optimization classes need this parameter. If not set, it those classes will not be used.
Code: Select all
javaw --add-modules=jdk.incubator.vector --add-opens java.base/sun.nio.ch=ALL-UNNAMED -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -classpath update.jar;ums.jar net.pms.PMSI don't know exactly how to add those options to UMS when auto-starting in Windows but you should be able to edit UMS.bat (or other startup script in Linux) to add them there and start UMS by running that.
Another option is to download JRE25 and extract it to the UMS folder then edit your script to set the path for JAVA_HOME to that folder.
This is part of my build script that I had to change to use java 25, I assume it will be the same if running UMS from a script.
Code: Select all
SET JAVA_HOME=%CD%\jdk-25.0.4.1Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
