Java and Linux OS freeze randomly for 24 minutes (Linux, arm, Debian, Java 7 ARM)

Background / context:

We run a Java application on one of the CompuLab CoMs:

https://compulab.co.il/products/computer-on-modules/cm-fx6/#overview

      

JVM version: Oracle Java 7 ARM 1.7.0_60

OS link:

http://www.compulab.co.il/workspace/mediawiki/index.php5/CM-FX6_Linux

      

The application is not trivial: multiple streams, Ethernet (LAN) access, serial interface, GPRS / UMTS modem, internet access (ppp deamon), GPS, touchscreen, database (SQLite), file system. In other words, make extensive use of OS resources ...

We observe that the Java application (all its threads) and basic OS functionality freeze randomly. I would say it is a Linux kernel bug, but by killing the Java application it recovers and works fine.

This state always takes exactly 24 minutes. Subsequently, he recovers and behaves normally. The average spawn rate is once every 24-30 hours.

When this happens, externally triggered events, such as messages sent to the application via Ethernet or serial, are buffered (probably by the OS) and all are processed immediately upon recovery.

When I set up an SSH connection to the device in advance, after that the connection is either blocked (the whole command is buffered and processed after it is restored - 24 months), or it works like this:

  • Basic OS utilities do not work: for example, "top"
  • jstack -F doesn't work, just hangs and doesn't produce any output
  • killing java application with kill -9 PID released OS and everything starts working fine

While it is in this state, the OS behaves differently each time. Other findings:

  • Basic network utilities do not work (SSH, FTP) - they cannot establish a new connection to the OS from another computer.
  • PING from another machine works until I unplug the Ethernet cable from the device, sometimes PING stops working.
  • Sometimes the OS system time freezes (not always), after 24 minutes it continues to linger for 24 minutes.
  • New USB input devices (mouse, keyboard) cannot be connected during this state (always).

Another strange thing:

The touch screen is used for user interaction (the driver is compiled as a kernel module). And it works even when it hangs. Java application (GUI Swing) can handle events like button click so that I can run some code behind the click handler button. All threads seem to be blocked, but Java Swing can handle some input events, and our application chases them until it needs to interact with already blocked threads or OS (run a bash script on button press) or call a song method. Than it hangs. In other words, the Java application hangs "partially" - it can still process something.

Have already tried:

  • JVM Remote Debugging Tools: Java Mission Control, VisualVM. The connection was established before it hung up. Everything seemed to be OK in terms of thread dump, heap dump, etc. (I can send by email). Even the connection remained and I could see in them the tools that handle the usage reduced to 0% for the JVM.

  • jstack -F (over SSH): doesn't work, just hangs and doesn't produce any output

  • I tried to start the OS without a touchscreen driver and it still happened.

  • I tried to run two parallel Java applications. One of them was very simple - just write log timestamps. And they both hung.

  • I tried to run System.exit (0) in terms of the application click handler. and all threads were hanging, and it didn't work (hung).

Questions:

Is this a bug in the Linux kernel or a bug in the JVM (its ARM implementation)?

Can Java (JVM) freeze and block basic OS functionality (FTP, SSH, system time, other utilities)?

How can I further diagnose / debug this issue when basic utilities like jstack -F are not working?

Do you have any idea what might be causing this problem and why it always recovers after exactly 24 minutes?

Update 1: 2014-07-10

Finally, I manage to "catch" this strange condition again. Here are my further conclusions.

Based on nos suggestion, I tried running via ssh (installed in an advanced state):

*strace -f -p PID*

      

Unfortunately the bash script command also hung (same behavior as in jstack).

As for the user limits (ulimit) and OS resources, below I report the numbers taken immediately after restoring the system from the last hanging one . In this state, it worked for 24 hours and I can confirm that these numbers remain roughly the same during long periods of operation (there are no random delays during operation). From my point of view, they are ok and the application in no way oversteps any resource or other limit.

Current Java heap

Usage: 18 MB, Free: 12 MB, Total: 30 MB, Maximum: 230 MB

Java heap

 root@cm-debian:~# /usr/lib/jvm/jdk1.7.0_60/bin/jmap -heap 3242
Attaching to process ID 3242, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 24.60-b09

using thread-local object allocation.
Mark Sweep Compact GC

Heap Configuration:
   MinHeapFreeRatio = 40
   MaxHeapFreeRatio = 70
   MaxHeapSize      = 249561088 (238.0MB)
   NewSize          = 1048576 (1.0MB)
   MaxNewSize       = 4294836224 (4095.875MB)
   OldSize          = 4194304 (4.0MB)
   NewRatio         = 2
   SurvivorRatio    = 8
   PermSize         = 12582912 (12.0MB)
   MaxPermSize      = 67108864 (64.0MB)
   G1HeapRegionSize = 0 (0.0MB)

Heap Usage:
New Generation (Eden + 1 Survivor Space):
   capacity = 10092544 (9.625MB)
   used     = 6772088 (6.458366394042969MB)
   free     = 3320456 (3.1666336059570312MB)
   67.09991058745942% used
Eden Space:
   capacity = 9043968 (8.625MB)
   used     = 6620336 (6.3136444091796875MB)
   free     = 2423632 (2.3113555908203125MB)
   73.2016743093297% used
From Space:
   capacity = 1048576 (1.0MB)
   used     = 151752 (0.14472198486328125MB)
   free     = 896824 (0.8552780151367188MB)
   14.472198486328125% used
To Space:
   capacity = 1048576 (1.0MB)
   used     = 0 (0.0MB)
   free     = 1048576 (1.0MB)
   0.0% used
tenured generation:
   capacity = 22134784 (21.109375MB)
   used     = 17650936 (16.83324432373047MB)
   free     = 4483848 (4.276130676269531MB)
   79.7429782915433% used
Perm Generation:
   capacity = 19136512 (18.25MB)
   used     = 19023016 (18.141761779785156MB)
   free     = 113496 (0.10823822021484375MB)
   99.40691386183647% used

9597 interned Strings occupying 729344 bytes.

      

upper

top - 11:41:29 up 21:59,  2 users,  load average: 1.51, 1.25, 1.22
Tasks:  93 total,   1 running,  92 sleeping,   0 stopped,   0 zombie
Cpu(s):  9.4%us,  8.0%sy,  0.0%ni, 82.5%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    966780k total,   273080k used,   693700k free,    27216k buffers
Swap:        0k total,        0k used,        0k free,   126352k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                             
 3242 root      20   0  398m  79m  11m S 23.6  8.4 346:16.82 java                                                                                
 3889 root      20   0  2804 1096  848 R  5.5  0.1   0:00.07 top                                                                                 
    1 root      20   0  2124  688  596 S  0.0  0.1   0:02.92 init                                                                                
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.03 kthreadd                                                                            
    3 root      20   0     0    0    0 S  0.0  0.0   0:14.32 ksoftirqd/0                                                                         
    5 root      20   0     0    0    0 S  0.0  0.0   0:00.14 kworker/u:0                                                                         
    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0                                                                         
    7 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 khelper 

      

java limits

root@cm-debian:~# java -XX:+PrintFlagsFinal -version | grep -iE 'HeapSize|PermSize|ThreadStackSize'
    uintx AdaptivePermSizeWeight                    = 20              {product}           
     intx CompilerThreadStackSize                   = 0               {pd product}        
    uintx ErgoHeapSizeLimit                         = 0               {product}           
    uintx HeapSizePerGCThread                       = 67108864        {product}           
    uintx InitialHeapSize                          := 15468480        {product}           
    uintx LargePageHeapSizeThreshold                = 134217728       {product}           
    uintx MaxHeapSize                              := 249561088       {product}           
    uintx MaxPermSize                               = 67108864        {pd product}        
    uintx PermSize                                  = 12582912        {pd product}        
     intx ThreadStackSize                           = 320             {pd product}        
     intx VMThreadStackSize                         = 512             {pd product}        
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode)

      

process limits

root@cm-debian:~# cat /proc/3242/limits
Limit                     Soft Limit           Hard Limit           Units     
Max cpu time              unlimited            unlimited            seconds   
Max file size             unlimited            unlimited            bytes     
Max data size             unlimited            unlimited            bytes     
Max stack size            8388608              unlimited            bytes     
Max core file size        0                    unlimited            bytes     
Max resident set          unlimited            unlimited            bytes     
Max processes             unlimited            unlimited            processes 
Max open files            8192                 8192                 files     
Max locked memory         65536                65536                bytes     
Max address space         unlimited            unlimited            bytes     
Max file locks            unlimited            unlimited            locks     
Max pending signals       16382                16382                signals   
Max msgqueue size         819200               819200               bytes     
Max nice priority         0                    0                    
Max realtime priority     0                    0                    
Max realtime timeout      unlimited            unlimited            us 

      

system memory information

root@cm-debian:~# cat /proc/meminfo
MemTotal:         966780 kB
MemFree:          694312 kB
Buffers:           27384 kB
Cached:           126364 kB
SwapCached:            0 kB
Active:           140748 kB
Inactive:         107684 kB
Active(anon):      94992 kB
Inactive(anon):     2064 kB
Active(file):      45756 kB
Inactive(file):   105620 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:        524288 kB
HighFree:         301088 kB
LowTotal:         442492 kB
LowFree:          393224 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         94692 kB
Mapped:            21220 kB
Shmem:              2376 kB
Slab:              13268 kB
SReclaimable:       5284 kB
SUnreclaim:         7984 kB
KernelStack:         960 kB
PageTables:          980 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      483388 kB
Committed_AS:     137260 kB
VmallocTotal:     286720 kB
VmallocUsed:        2928 kB
VmallocChunk:     283040 kB


root@cm-debian:~# vmstat -s
       966780 K total memory
       272468 K used memory
       140776 K active memory
       107712 K inactive memory
       694312 K free memory
        27392 K buffer memory
       126404 K swap cache
            0 K total swap
            0 K used swap
            0 K free swap
       726963 non-nice user cpu ticks
            0 nice user cpu ticks
       621187 system cpu ticks
      6371123 idle cpu ticks
         3683 IO-wait cpu ticks
          324 IRQ cpu ticks
         2146 softirq cpu ticks
            0 stolen cpu ticks
       130871 pages paged in
        97520 pages paged out
            0 pages swapped in
            0 pages swapped out
    293822206 interrupts
    494034482 CPU context switches
   1412595732 boot time
         3916 forks

      

<strong> topics

root@cm-debian:~# cat /proc/sys/kernel/pid_max
32768

root@cm-debian:~# cat /proc/sys/kernel/threads-max
15102

root@cm-debian:~# cat /proc/sys/vm/max_map_count
65530


root@cm-debian:~# ls -l /proc/3242/task/ | wc -l
33

root@cm-debian:~# ps huH p 3242 | wc -l
32

root@cm-debian:~# grep -s '^Threads' /proc/[0-9]*/status | awk '{ sum += $2; } END { print sum; }'
122

      

open files / file descriptors

root@cm-debian:~# ls -l /proc/3242/fd | wc -l
81

      

Update 2: 2014-13-10

This time, I logged all Java thread stacks while the OS was jailbroken (as I said earlier, the touchscreen and its events are still running, so I wrote a stack trace for the log file in terms of the UI button handler).

From my point of view, all threads are in the "correct" state (sleeping, waiting for a UDP datagram, etc.) and obviously the hang is not caused by a Java SW application which would have taken 24 minutes .

10:49:42,293> [INFO ] THREAD stack traces: 
****************************************

ID: 56, name: Mpg123AudioPlayer_PASSENGER_ctrlLoop
java.lang.Thread.sleep(Native Method)
java.lang.Thread.sleep(Thread.java:340)
java.util.concurrent.TimeUnit.sleep(TimeUnit.java:360)
epis5fcc.audio.mpg.MpgAudioOutputPlayer.ctrlLoop(MpgAudioOutputPlayer.java:169)
epis5fcc.audio.mpg.MpgAudioOutputPlayer.access$000(MpgAudioOutputPlayer.java:19)
epis5fcc.audio.mpg.MpgAudioOutputPlayer$1.run(MpgAudioOutputPlayer.java:88)
java.lang.Thread.run(Thread.java:745)

ID: 11, name: AWT-EventQueue-0
java.lang.Thread.getStackTrace(Thread.java:1589)
epis5fcc.domain.debug.ThreadStackTracesLogger.log(ThreadStackTracesLogger.java:30)
epis5fcc.ui.settings.FccRegistryScreen$7.actionPerformed(FccRegistryScreen.java:303)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
java.awt.Component.processMouseEvent(Component.java:6516)
javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
java.awt.Component.processEvent(Component.java:6281)
java.awt.Container.processEvent(Container.java:2229)
java.awt.Component.dispatchEventImpl(Component.java:4872)
java.awt.Container.dispatchEventImpl(Container.java:2287)
java.awt.Component.dispatchEvent(Component.java:4698)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
java.awt.Container.dispatchEventImpl(Container.java:2273)
java.awt.Window.dispatchEventImpl(Window.java:2719)
java.awt.Component.dispatchEvent(Component.java:4698)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
java.awt.EventQueue.access$200(EventQueue.java:103)
java.awt.EventQueue$3.run(EventQueue.java:694)
java.awt.EventQueue$3.run(EventQueue.java:692)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
java.awt.EventQueue$4.run(EventQueue.java:708)
java.awt.EventQueue$4.run(EventQueue.java:706)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

ID: 34, name: Mpg123AudioPlayer_DRIVER_ctrlLoop
java.lang.Thread.sleep(Native Method)
java.lang.Thread.sleep(Thread.java:340)
java.util.concurrent.TimeUnit.sleep(TimeUnit.java:360)
epis5fcc.audio.mpg.MpgAudioOutputPlayer.ctrlLoop(MpgAudioOutputPlayer.java:169)
epis5fcc.audio.mpg.MpgAudioOutputPlayer.access$000(MpgAudioOutputPlayer.java:19)
epis5fcc.audio.mpg.MpgAudioOutputPlayer$1.run(MpgAudioOutputPlayer.java:88)
java.lang.Thread.run(Thread.java:745)

ID: 26, name: IOTxUdpAccessLoop_IODispatchAccess
java.lang.Thread.sleep(Native Method)
jCommons.comm.io.access.IOUdpAccess.transmitLoop(IOUdpAccess.java:114)
jCommons.comm.io.access.IOAccessBase$2.run(IOAccessBase.java:50)
java.lang.Thread.run(Thread.java:745)

ID: 29, name: MasterLoop_main
java.lang.Thread.sleep(Native Method)
jCommons.master.MasterLoop.ctrlLoop(MasterLoop.java:87)
jCommons.master.MasterLoop.access$000(MasterLoop.java:11)
jCommons.master.MasterLoop$1.run(MasterLoop.java:58)
java.lang.Thread.run(Thread.java:745)

ID: 27, name: IORxSerialPortAccessPollLoop_IOModemAccess
java.lang.Thread.sleep(Native Method)
jCommons.comm.io.access.IOSerialPortAccessPoll.reciveLoop(IOSerialPortAccessPoll.java:256)
jCommons.comm.io.access.IOAccessBase$1.run(IOAccessBase.java:43)
java.lang.Thread.run(Thread.java:745)

ID: 31, name: UsbUpdateWatchService_ctrlLoop
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:489)
java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:678)
sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
jCommons.update.usb.UsbUpdateWatchService.ctrlLoop(UsbUpdateWatchService.java:107)
jCommons.update.usb.UsbUpdateWatchService.access$000(UsbUpdateWatchService.java:25)
jCommons.update.usb.UsbUpdateWatchService$1.run(UsbUpdateWatchService.java:75)
java.lang.Thread.run(Thread.java:745)

ID: 25, name: IORxUdpAccessLoop_IODispatchAccess
java.net.PlainDatagramSocketImpl.receive0(Native Method)
java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
java.net.DatagramSocket.receive(DatagramSocket.java:786)
jCommons.comm.io.access.IOUdpAccess.reciveLoop(IOUdpAccess.java:175)
jCommons.comm.io.access.IOAccessBase$1.run(IOAccessBase.java:43)
java.lang.Thread.run(Thread.java:745)

ID: 2, name: Reference Handler
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)

ID: 30, name: VehicleCtrl_ctrlLoop
java.lang.Thread.sleep(Native Method)
epis5fcc.domain.vehicle.control.VehicleCtrl.ctrlLoop(VehicleCtrl.java:74)
jCommons.comm.protocol.ProtCtrlBase$1.run(ProtCtrlBase.java:24)
java.lang.Thread.run(Thread.java:745)

ID: 35, name: Mpg123AudioPlayer_INNER_ctrlLoop
java.lang.Thread.sleep(Native Method)
java.lang.Thread.sleep(Thread.java:340)
java.util.concurrent.TimeUnit.sleep(TimeUnit.java:360)
epis5fcc.audio.mpg.MpgAudioOutputPlayer.ctrlLoop(MpgAudioOutputPlayer.java:169)
epis5fcc.audio.mpg.MpgAudioOutputPlayer.access$000(MpgAudioOutputPlayer.java:19)
epis5fcc.audio.mpg.MpgAudioOutputPlayer$1.run(MpgAudioOutputPlayer.java:88)
java.lang.Thread.run(Thread.java:745)


ID: 21, name: IORxSerialPortAccessPollLoop_IOFccAccess
java.lang.Thread.sleep(Native Method)
jCommons.comm.io.access.IOSerialPortAccessPoll.reciveLoop(IOSerialPortAccessPoll.java:256)
jCommons.comm.io.access.IOAccessBase$1.run(IOAccessBase.java:43)
java.lang.Thread.run(Thread.java:745)

ID: 7, name: FileWatchdog
java.lang.Thread.sleep(Native Method)
org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:104)


ID: 8, name: Java2D Disposer
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
sun.java2d.Disposer.run(Disposer.java:145)
java.lang.Thread.run(Thread.java:745)

ID: 17, name: com.google.inject.internal.util.$Finalizer
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
com.google.inject.internal.util.$Finalizer.run(Finalizer.java:114)

ID: 10, name: AWT-XAWT
sun.awt.X11.XToolkit.waitForEvents(Native Method)
sun.awt.X11.XToolkit.run(XToolkit.java:541)
sun.awt.X11.XToolkit.run(XToolkit.java:505)
java.lang.Thread.run(Thread.java:745)

ID: 32, name: Thread-4
sun.nio.fs.LinuxWatchService.poll(Native Method)
sun.nio.fs.LinuxWatchService.access$600(LinuxWatchService.java:47)
sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:311)
java.lang.Thread.run(Thread.java:745)

ID: 28, name: IOTxSerialPortAccessPollLoop_IOModemAccess
java.lang.Thread.sleep(Native Method)
jCommons.comm.io.access.IOSerialPortAccessPoll.transmitLoop(IOSerialPortAccessPoll.java:187)
jCommons.comm.io.access.IOAccessBase$2.run(IOAccessBase.java:50)
java.lang.Thread.run(Thread.java:745)

ID: 14, name: DestroyJavaVM

ID: 22, name: IOTxSerialPortAccessPollLoop_IOFccAccess
java.lang.Thread.sleep(Native Method)
jCommons.comm.io.access.IOSerialPortAccessPoll.transmitLoop(IOSerialPortAccessPoll.java:187)
jCommons.comm.io.access.IOAccessBase$2.run(IOAccessBase.java:50)
java.lang.Thread.run(Thread.java:745)

ID: 19, name: TimerQueue
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)
java.util.concurrent.DelayQueue.take(DelayQueue.java:220)
javax.swing.TimerQueue.run(TimerQueue.java:171)
java.lang.Thread.run(Thread.java:745)

ID: 12, name: AWT-Shutdown
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:296)
java.lang.Thread.run(Thread.java:745)

ID: 23, name: IORxUdpAccessLoop_IOCityScrnAccess
java.net.PlainDatagramSocketImpl.receive0(Native Method)
java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
java.net.DatagramSocket.receive(DatagramSocket.java:786)
jCommons.comm.io.access.IOUdpAccess.reciveLoop(IOUdpAccess.java:175)
jCommons.comm.io.access.IOAccessBase$1.run(IOAccessBase.java:43)
java.lang.Thread.run(Thread.java:745)

ID: 3, name: Finalizer
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

ID: 4, name: Signal Dispatcher

ID: 52, name: pool-3-thread-1
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:745)

ID: 24, name: IOTxUdpAccessLoop_IOCityScrnAccess
java.lang.Thread.sleep(Native Method)
jCommons.comm.io.access.IOUdpAccess.transmitLoop(IOUdpAccess.java:114)
jCommons.comm.io.access.IOAccessBase$2.run(IOAccessBase.java:50)
java.lang.Thread.run(Thread.java:745)

ID: 36, name: RemoteUpdateCtrl_ctrlLoop
java.lang.Thread.sleep(Native Method)
epis5fcc.domain.update.remote.RemoteUpdateCtrl.ctrlLoop(RemoteUpdateCtrl.java:94)
jCommons.comm.protocol.ProtCtrlBase$1.run(ProtCtrlBase.java:24)
java.lang.Thread.run(Thread.java:745)

ID: 55, name: Mpg123AudioPlayer_OUTER_ctrlLoop
java.lang.Thread.sleep(Native Method)
java.lang.Thread.sleep(Thread.java:340)
java.util.concurrent.TimeUnit.sleep(TimeUnit.java:360)
epis5fcc.audio.mpg.MpgAudioOutputPlayer.ctrlLoop(MpgAudioOutputPlayer.java:169)
epis5fcc.audio.mpg.MpgAudioOutputPlayer.access$000(MpgAudioOutputPlayer.java:19)
epis5fcc.audio.mpg.MpgAudioOutputPlayer$1.run(MpgAudioOutputPlayer.java:88)
java.lang.Thread.run(Thread.java:745)

      

+3


source to share


1 answer


This is a problem with the simultaneous use of GPT and local timers.

In the Freescale community, you may see one more questions similar to yours and others from someone with some clarification.

Apply this patch for permission .



From the second post you can go to kernel 3.10.17 from Fresscale or 3.13.3 from kernel.org

I am currently trying to get a patch to see if a similar problem is resolved.

+1


source







All Articles