FAQ  •  Register  •  Login

Serviio on Synology STOPPED since last DSM Update

<<

thatfellow

Serviio newbie

Posts: 4

Joined: Sat Mar 23, 2013 11:51 am

Post Fri Aug 10, 2018 6:38 pm

Re: Serviio on Synology STOPPED since last DSM Update

patters wrote:This is strange because my DS214play is running that same DSM version with no problems. The issue for you guys seems to be that the Java executable will no longer start. I wonder if this is a 32/64bit issue – perhaps the Synology developers have made a change that is preventing the 32bit Java Embedded from running. The CPU in my NAS is unique in that it’s a 32bit only chip (so maybe that’s why it still works), whereas pretty much every single other Intel Syno runs a 64bit build of Linux. I will update the Java package with a 32/64bit selection for Intel x64 capable CPUs. Let’s see if that fixes it.

If it's Java that won't start, even with the Synology-published Java package, then it should be supported by Synology since that's a first party package. Test this by removing my Java Embedded package, installing the Syno one and then running "java -version" in an SSH session. If it fails to run then that is most certainly something Synology should be supporting.


Thanks for your time. On my DS1817+, the Synology published Java package seems to be installed and recognised by the system.

  Code:
admin@DISKSTATION:/$ java -version
openjdk version "1.8.0_161"
OpenJDK Runtime Environment (IcedTea 3.7.0) (linux-gnu build 1.8.0_161-b12)
OpenJDK 64-Bit Server VM (build 25.161-b12, mixed mode)


Anything else you want tested or logged?
<<

Charles Francis H.

Streaming enthusiast

Posts: 24

Joined: Tue Mar 15, 2016 4:17 pm

Post Mon Aug 13, 2018 9:52 pm

Re: Serviio on Synology STOPPED since last DSM Update

Hello patters,

thank you for your support!!!!

patters wrote:The issue for you guys seems to be that the Java executable will no longer start.

I have installed your Java version 1.8.0_171-0047 and when typing "java -version" in telnet console I get
  Code:
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# An error report file with more information is saved as:
# /volume2/homes/Charly/hs_err_pid14170.log


Here's what the metioned log contains:
  Code:
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# Possible reasons:
#   The system is out of physical RAM or swap space
#   In 32 bit mode, the process size limit was hit
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Use 64 bit Java on a 64 bit OS
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (gcTaskThread.cpp:48), pid=14170, tid=0xf75a4700
#
# JRE version:  (8.0_171-b11) (build )
# Java VM: Java HotSpot(TM) Embedded Server VM (25.171-b11 mixed mode linux-x86 )
# Core dump written. Default location: /volume2/homes/Charly/core or core.14170
#

---------------  T H R E A D  ---------------

Current thread (0x084a0400):  JavaThread "Unknown thread" [_thread_in_vm, id=14170, stack(0xfff4b000,0xfff9b000)]

Stack: [0xfff4b000,0xfff9b000],  sp=0xfff94d50,  free space=295k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x7de85f]
V  [libjvm.so+0x2e47d5]
V  [libjvm.so+0x3ba0ab]
V  [libjvm.so+0x3b901c]
V  [libjvm.so+0x684514]
V  [libjvm.so+0x7a9eed]
V  [libjvm.so+0x7aa383]
V  [libjvm.so+0x40ea37]
V  [libjvm.so+0x79227b]
V  [libjvm.so+0x4565ac]  JNI_CreateJavaVM+0x5c
C  [libjli.so+0x7058]
C  [libjli.so+0xb1ce]
C  [libjli.so+0x6496]
C  [libjli.so+0xb0cb]
C  [libjli.so+0x9379]  JLI_Launch+0x429
C  [java+0x58d]
C  [libc.so.6+0x17e80]  __libc_start_main+0xf0


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )

Other Threads:

=>0x084a0400 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=14170, stack(0xfff4b000,0xfff9b000)]

VM state:not at safepoint (not fully initialized)

VM Mutex/Monitor currently owned by a thread: None

GC Heap History (0 events):
No events

Deoptimization events (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (0 events):
No events

Events (0 events):
No events


Dynamic libraries:
08048000-08049000 r-xp 00000000 00:1d 499653                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/bin/java
08049000-0804a000 rw-p 00000000 00:1d 499653                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/bin/java
08499000-084ba000 rw-p 00000000 00:00 0                                  [heap]
d588e000-d588f000 ---p 00000000 00:00 0
d588f000-d5919000 rw-p 00000000 00:00 0
d5919000-d59af000 ---p 00000000 00:00 0
d59af000-d59b4000 rw-p 00000000 00:00 0
d59b4000-d59ff000 ---p 00000000 00:00 0
d59ff000-d6e00000 rw-p 00000000 00:00 0
d6e00000-e9a00000 ---p 00000000 00:00 0
e9a00000-ea400000 rw-p 00000000 00:00 0
ea400000-f3a00000 ---p 00000000 00:00 0
f3a48000-f3a54000 rw-p 00000000 00:00 0
f3a54000-f3aea000 ---p 00000000 00:00 0
f3aea000-f3af3000 rw-p 00000000 00:00 0
f3af3000-f3baa000 ---p 00000000 00:00 0
f3baa000-f3dea000 rwxp 00000000 00:00 0
f3dea000-f6baa000 ---p 00000000 00:00 0
f6baa000-f6bc4000 r-xp 00000000 00:1d 499561                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/lib/i386/libzip.so
f6bc4000-f6bc5000 rw-p 00019000 00:1d 499561                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/lib/i386/libzip.so
f6bc5000-f6bc6000 rw-p 00000000 00:00 0
f6bc6000-f6bc7000 r--p 00000000 00:00 0
f6bc7000-f6beb000 r-xp 00000000 00:1d 499569                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/lib/i386/libjava.so
f6beb000-f6bec000 rw-p 00024000 00:1d 499569                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/lib/i386/libjava.so
f6bec000-f6bf7000 r-xp 00000000 00:1d 499528                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/lib/i386/libverify.so
f6bf7000-f6bf8000 rw-p 0000b000 00:1d 499528                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/lib/i386/libverify.so
f6bf8000-f6bff000 r-xp 00000000 09:00 19433                              /usr/lib32/librt-2.20-2014.11.so
f6bff000-f6c00000 r--p 00006000 09:00 19433                              /usr/lib32/librt-2.20-2014.11.so
f6c00000-f6c01000 rw-p 00007000 09:00 19433                              /usr/lib32/librt-2.20-2014.11.so
f6c01000-f6c02000 ---p 00000000 00:00 0
f6c02000-f6c52000 rw-p 00000000 00:00 0
f6c52000-f6c99000 r-xp 00000000 09:00 19422                              /usr/lib32/libm-2.20-2014.11.so
f6c99000-f6c9a000 r--p 00046000 09:00 19422                              /usr/lib32/libm-2.20-2014.11.so
f6c9a000-f6c9b000 rw-p 00047000 09:00 19422                              /usr/lib32/libm-2.20-2014.11.so
f6c9b000-f751f000 r-xp 00000000 00:1d 499531                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/lib/i386/server/libjvm.so
f751f000-f757f000 rw-p 00884000 00:1d 499531                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/lib/i386/server/libjvm.so
f757f000-f75a5000 rw-p 00000000 00:00 0
f75a5000-f7750000 r-xp 00000000 09:00 19701                              /usr/lib32/libc-2.20-2014.11.so
f7750000-f7752000 r--p 001ab000 09:00 19701                              /usr/lib32/libc-2.20-2014.11.so
f7752000-f7753000 rw-p 001ad000 09:00 19701                              /usr/lib32/libc-2.20-2014.11.so
f7753000-f7757000 rw-p 00000000 00:00 0
f7757000-f775a000 r-xp 00000000 09:00 19705                              /usr/lib32/libdl-2.20-2014.11.so
f775a000-f775b000 r--p 00002000 09:00 19705                              /usr/lib32/libdl-2.20-2014.11.so
f775b000-f775c000 rw-p 00003000 09:00 19705                              /usr/lib32/libdl-2.20-2014.11.so
f775c000-f7771000 r-xp 00000000 00:1d 499564                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/lib/i386/jli/libjli.so
f7771000-f7772000 rw-p 00014000 00:1d 499564                             /volume1/@appstore/java8/ejdk1.8.0_171/linux_i586/jre/lib/i386/jli/libjli.so
f7772000-f778a000 r-xp 00000000 09:00 19427                              /usr/lib32/libpthread-2.20-2014.11.so
f778a000-f778b000 r--p 00017000 09:00 19427                              /usr/lib32/libpthread-2.20-2014.11.so
f778b000-f778c000 rw-p 00018000 09:00 19427                              /usr/lib32/libpthread-2.20-2014.11.so
f778c000-f778f000 rw-p 00000000 00:00 0
f778f000-f7790000 r-xp 00000000 00:00 0                                  [vdso]
f7790000-f77b2000 r-xp 00000000 09:00 19439                              /usr/lib32/ld-2.20-2014.11.so
f77b2000-f77b3000 r--p 00022000 09:00 19439                              /usr/lib32/ld-2.20-2014.11.so
f77b3000-f77b4000 rw-p 00023000 09:00 19439                              /usr/lib32/ld-2.20-2014.11.so
fff4b000-fff4e000 ---p 00000000 00:00 0
fff4e000-fff9b000 rw-p 00000000 00:00 0                                  [stack]

VM Arguments:
java_command: <unknown>
java_class_path (initial): .:/var/packages/java8/target/ejdk1.8.0_171/linux_i586/jre/lib
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/var/packages/java8/target/ejdk1.8.0_171/linux_i586/jre
CLASSPATH=.:/var/packages/java8/target/ejdk1.8.0_171/linux_i586/jre/lib
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin:/var/packages/java8/target/ejdk1.8.0_171/linux_i586/jre/bin
SHELL=/bin/sh

Signal Handlers:
SIGSEGV: [libjvm.so+0x7df300], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0x7df300], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x662130], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.so+0x662130], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.so+0x662130], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x662130], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.so+0x663a10], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGINT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGTERM: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGQUIT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none


---------------  S Y S T E M  ---------------

OS:Linux
uname:Linux 3.10.105 #23739 SMP Tue Jul 10 00:16:03 CST 2018 x86_64
libc:glibc 2.20-2014.11 NPTL 2.20-2014.11
rlimit: STACK 8192k, CORE infinity, NPROC 7472, NOFILE 4096, AS infinity
load average:1.92 0.74 0.44

/proc/meminfo:
MemTotal:        1963340 kB
MemFree:          117896 kB
Buffers:           16264 kB
Cached:          1385272 kB
SwapCached:        19992 kB
Active:           478480 kB
Inactive:        1087020 kB
Active(anon):      86172 kB
Inactive(anon):   119408 kB
Active(file):     392308 kB
Inactive(file):   967612 kB
Unevictable:        2268 kB
Mlocked:            2268 kB
SwapTotal:       3276716 kB
SwapFree:        3132676 kB
Dirty:              1928 kB
Writeback:             0 kB
AnonPages:        148716 kB
Mapped:            98712 kB
Shmem:             41368 kB
Slab:             144292 kB
SReclaimable:      73812 kB
SUnreclaim:        70480 kB
KernelStack:        7200 kB
PageTables:        38452 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     4258384 kB
Committed_AS:    2414444 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      350220 kB
VmallocChunk:   34359365848 kB
DirectMap4k:       19200 kB
DirectMap2M:     1990656 kB


CPU:total 4 (initial active 4) (4 cores per cpu, 1 threads per core) family 6 model 76 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, aes, clmul, erms, 3dnowpref, tsc, tscinvbit

/proc/cpuinfo:
processor   : 0
vendor_id   : GenuineIntel
cpu family   : 6
model      : 76
model name   : Intel(R) Pentium(R) CPU  N3710  @ 1.60GHz
stepping   : 4
microcode   : 0x404
cpu MHz      : 1601.000
cache size   : 1024 KB
physical id   : 0
siblings   : 4
core id      : 0
cpu cores   : 4
apicid      : 0
initial apicid   : 0
fpu      : yes
fpu_exception   : yes
cpuid level   : 11
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb invpcid_single tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips   : 3199.85
clflush size   : 64
cache_alignment   : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family   : 6
model      : 76
model name   : Intel(R) Pentium(R) CPU  N3710  @ 1.60GHz
stepping   : 4
microcode   : 0x404
cpu MHz      : 1601.000
cache size   : 1024 KB
physical id   : 0
siblings   : 4
core id      : 1
cpu cores   : 4
apicid      : 2
initial apicid   : 2
fpu      : yes
fpu_exception   : yes
cpuid level   : 11
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb invpcid_single tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips   : 3199.85
clflush size   : 64
cache_alignment   : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family   : 6
model      : 76
model name   : Intel(R) Pentium(R) CPU  N3710  @ 1.60GHz
stepping   : 4
microcode   : 0x404
cpu MHz      : 1601.000
cache size   : 1024 KB
physical id   : 0
siblings   : 4
core id      : 2
cpu cores   : 4
apicid      : 4
initial apicid   : 4
fpu      : yes
fpu_exception   : yes
cpuid level   : 11
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb invpcid_single tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips   : 3199.85
clflush size   : 64
cache_alignment   : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family   : 6
model      : 76
model name   : Intel(R) Pentium(R) CPU  N3710  @ 1.60GHz
stepping   : 4
microcode   : 0x404
cpu MHz      : 1601.000
cache size   : 1024 KB
physical id   : 0
siblings   : 4
core id      : 3
cpu cores   : 4
apicid      : 6
initial apicid   : 6
fpu      : yes
fpu_exception   : yes
cpuid level   : 11
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb invpcid_single tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips   : 3199.85
clflush size   : 64
cache_alignment   : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:



Memory: 4k page, physical 1963340k(117896k free), swap 3276716k(3132676k free)

vm_info: Java HotSpot(TM) Embedded Server VM (25.171-b11) for linux-x86 JRE (1.8.0_171-b11), built on Mar 28 2018 13:22:10 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)

time: Mon Aug 13 23:26:28 2018
elapsed time: 0 seconds (0d 0h 0m 0s)



patters wrote:Test this by removing my Java Embedded package, installing the Syno one and then running "java -version" in an SSH session.

I uninstalled your version and installed Java 8.0.161-0015 from Syno Packet Center. Then the telnet command "java -version" returns same as user thatfellow postet already:
  Code:
openjdk version "1.8.0_161"
OpenJDK Runtime Environment (IcedTea 3.7.0) (linux-gnu build 1.8.0_161-b12)
OpenJDK 64-Bit Server VM (build 25.161-b12, mixed mode)



patters wrote:I will update the Java package with a 32/64bit selection for Intel x64 capable CPUs. Let’s see if that fixes it.

What do you mean? Shall we wait for you toe create some special Java for "us"?

Can we do anything to help you, e.g. provide more logs or test other workarounds?

Thanks so much!!
<<

Airborne1

Serviio newbie

Posts: 8

Joined: Tue Jul 24, 2018 4:13 pm

Post Wed Aug 15, 2018 2:52 pm

Re: Serviio on Synology STOPPED since last DSM Update

patters wrote:This is strange because my DS214play is running that same DSM version with no problems. The issue for you guys seems to be that the Java executable will no longer start. I wonder if this is a 32/64bit issue – perhaps the Synology developers have made a change that is preventing the 32bit Java Embedded from running. The CPU in my NAS is unique in that it’s a 32bit only chip (so maybe that’s why it still works), whereas pretty much every single other Intel Syno runs a 64bit build of Linux. I will update the Java package with a 32/64bit selection for Intel x64 capable CPUs. Let’s see if that fixes it.

If it's Java that won't start, even with the Synology-published Java package, then it should be supported by Synology since that's a first party package. Test this by removing my Java Embedded package, installing the Syno one and then running "java -version" in an SSH session. If it fails to run then that is most certainly something Synology should be supporting.


Hi,
is the package online yet?
BR.
Previous

Return to NAS installation

Who is online

Users browsing this forum: Google [Bot] and 2 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.