Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8163573

Crash on running tomcat 6 on server with Java 8 on ARM device

XMLWordPrintable

    • x86
    • linux

      FULL PRODUCT VERSION :

      java version "1.8.0_65"
      Java(TM) SE Embedded Runtime Environment (build 1.8.0_65-b17, headless)
      Java HotSpot(TM) Embedded Client VM (build 25.65-b01, mixed mode)


      FULL OS VERSION :
      Linux phyFLEX-i.MX6 3.0.43-tpcom_run2-PD13.2.4 #1 SMP PREEMPT Tue Jun 14 18:13:57 CEST 2016 armv7l GNU/Linux


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Server version: Apache Tomcat/6.0.36
      Server built: Oct 16 2012 09:59:09
      Server number: 6.0.36.0
      OS Name: Linux
      OS Version: 3.0.43-tpcom_run2-PD13.2.4
      Architecture: arm


      A DESCRIPTION OF THE PROBLEM :
      Running tomcat empty result to 2 kind of errors in the log (dmesg):

      Here is the sample of undefined instructions:
      unhandled page fault (11) at 0x00000004
      java (2566): undefined instruction: pc=2b7412c0 [

      Application itself works - however there are lots of messages thrown.

      There are no hs_err*.log file however in the working folder

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: No

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Install tomcat 8
      Start it in target system

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED: no log in dmesg
      ACTUAL: There are logs
      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      [ 1929.280395] Code: e590c004 e15c0008 0a000000 eaf2da0f (e7f000f0)
      [ 1929.299220] java (2566): undefined instruction: pc=2b7504c0
      [ 1929.304821] Code: e590c004 e15c0008 0a000000 eaf2adef (e7f000f0)
      [ 1929.328355] java (2566): undefined instruction: pc=2b7504c0
      [ 1929.334510] Code: e590c004 e15c0008 0a000000 eaf2adef (e7f000f0)
      [ 1929.342659] java (2566): undefined instruction: pc=2b7412c0
      [ 1929.348784] Code: e590c004 e15c0008 0a000000 eaf2ea6f (e7f000f0)
      [ 1929.355993] java (2566): undefined instruction: pc=2b7412c0
      [ 1929.362188] Code: e590c004 e15c0008 0a000000 eaf2ea6f (e7f000f0)
      [ 1929.375402] java (2566): undefined instruction: pc=2b7412c0
      [ 1929.381460] Code: e590c004 e15c0008 0a000000 eaf2ea6f (e7f000f0)
      [ 1929.388276] java (2566): undefined instruction: pc=2b7412c0
      [ 1929.393876] Code: e590c004 e15c0008 0a000000 eaf2ea6f (e7f000f0)


      and

      [ 161.903357] java: unhandled page fault (11) at 0x00000004, code 0x017
      [ 161.903378] pgd = 9b010000
      [ 161.906101] [00000004] *pgd=2aeae831, *pte=00000000, *ppte=00000000
      [ 161.912523]
      [ 161.914028] Pid: 1945, comm: java
      [ 161.918798] CPU: 0 Not tainted (3.0.43-tpcom_run2-PD13.2.4 #1)
      [ 161.925000] PC is at 0x2b401a28
      [ 161.928203] LR is at 0x2b3f39b4
      [ 161.931363] pc : [<2b401a28>] lr : [<2b3f39b4>] psr: 40000010
      [ 161.931369] sp : 2b385074 ip : 2b2b6e6c fp : 2b385098
      [ 161.942921] r10: 00017800 r9 : 32bf46d8 r8 : 2b3850a0
      [ 161.948208] r7 : 32bf46b3 r6 : 2b2b9058 r5 : 32bf5988 r4 : 00000000
      [ 161.954753] r3 : 70000001 r2 : 00000000 r1 : 00000007 r0 : 00000000
      [ 161.961343] Flags: nZcv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
      [ 161.968629] Control: 10c53c7d Table: 2b01004a DAC: 00000015
      [ 161.974415] [<80356cb8>] (show_regs+0x0/0x50) from [<80362538>] (__do_user_fault+0x9c/0xa8)
      [ 161.982860] r4:9b0607c0 r3:8004d4e8
      [ 161.989245] [<8036249c>] (__do_user_fault+0x0/0xa8) from [<80362774>] (do_page_fault+0x230/0x3a8)
      [ 161.998181] r7:00000004 r6:9b0607c0 r5:9a7289c0 r4:9b083fb0
      [ 162.003964] [<80362544>] (do_page_fault+0x0/0x3a8) from [<8034f4b8>] (do_DataAbort+0x3c/0x248)
      [ 162.012656] [<8034f47c>] (do_DataAbort+0x0/0x248) from [<80355a08>] (ret_from_exception+0x0/0x40)
      [ 162.021591] Exception stack(0x9b083fb0 to 0x9b083ff8)
      [ 162.026662] 3fa0: 00000000 00000007 00000000 70000001
      [ 162.034909] 3fc0: 00000000 32bf5988 2b2b9058 32bf46b3 2b3850a0 32bf46d8 00017800 2b385098
      [ 162.043288] 3fe0: 2b2b6e6c 2b385074 2b3f39b4 2b401a28 40000010 ffffffff

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Use -Xint (however there are performance lags)

            fmatte Fairoz Matte
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: