Tomcat 7.0.52-1ubuntu0.15 not start with Kernel 3.13.0-155

Bug #1787429 reported by Andrés González Tenorio
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

S.O.: Ubuntu 14.04.5 LTS \n \l

Tomcat Package: tomcat7_7.0.52-1ubuntu0.15_all

Previus Kernel: linux-headers-3.13.0-151-generic, linux-headers-3.13.0-153-generic

Kernel Update: linux-headers-3.13.0-155-generic

Description:

After update to kernel 155 and restart the server, tomcat7 not start and I can't find the error in the logs.

To resolve the issue was necessary restart the server with a previous version of the kernel.

Before find the solution, we reinstall and purge the tomcat several times but the incident persisted.

affects: cloud-init (Ubuntu) → kernel-package (Ubuntu)
David Britton (dpb)
no longer affects: kernel-package (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1787429

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Revision history for this message
Robert Taylor (rgtaylor) wrote :
Download full text (4.9 KiB)

Bug is reproduceable here - affected all of our tomcat7 instances running on trusty...

tomcat7 crashes silently without logging anything, but the kernel logs show the following:

Aug 16 04:13:38 tomcat1 kernel: [ 33.596382] java: Corrupted page table at address 7f499768d000
Aug 16 04:13:38 tomcat1 kernel: [ 33.597926] PGD 80000000baaad067 PUD b7171067 PMD b7122067 PTE 80003ffffe17c225
Aug 16 04:13:38 tomcat1 kernel: [ 33.599259] Bad pagetable: 000d [#1] SMP
Aug 16 04:13:38 tomcat1 kernel: [ 33.600313] Modules linked in: nfsv3 nfsv4 ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter ip_tables x_tables cirrus ttm drm_kms_helper drm syscopyarea sysfillrect sysimgblt i2c_piix4 kvm_intel kvm serio_raw mac_hid lp parport nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache nls_utf8 isofs 8139too psmouse 8139cp floppy e1000 mii pata_acpi
Aug 16 04:13:38 tomcat1 kernel: [ 33.600313] CPU: 2 PID: 2097 Comm: java Not tainted 3.13.0-155-generic #205-Ubuntu
Aug 16 04:13:38 tomcat1 kernel: [ 33.600313] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
Aug 16 04:13:38 tomcat1 kernel: [ 33.600313] task: ffff880138af0000 ti: ffff880035472000 task.ti: ffff880035472000
Aug 16 04:13:38 tomcat1 kernel: [ 33.600313] RIP: 0033:[<00007f498d06baba>] [<00007f498d06baba>] 0x7f498d06baba
Aug 16 04:13:38 tomcat1 kernel: [ 33.600313] RSP: 002b:00007f499767d398 EFLAGS: 00010206
Aug 16 04:13:38 tomcat1 kernel: [ 33.600313] RAX: 0000000000000003 RBX: 00000007f0006ce0 RCX: 00000007301b2860
Aug 16 04:13:38 tomcat1 kernel: [ 33.600313] RDX: 0000000040500001 RSI: 00000007301b2860 RDI: 00007f499000a800
Aug 16 04:13:38 tomcat1 kernel: [ 33.617526] RBP: 00007f499767d3f8 R08: 0000000000000000 R09: 0000000000000017
Aug 16 04:13:38 tomcat1 kernel: [ 33.617526] R10: 00007f499684f9e0 R11: 00000000e603650f R12: 0000000000000000
Aug 16 04:13:38 tomcat1 kernel: [ 33.617526] R13: 00007f499767d3b0 R14: 00007f499767d418 R15: 00007f499000a800
Aug 16 04:13:38 tomcat1 kernel: [ 33.617526] FS: 00007f4997680700(0000) GS:ffff88013fd00000(0000) knlGS:0000000000000000
Aug 16 04:13:38 tomcat1 kernel: [ 33.617526] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 16 04:13:38 tomcat1 kernel: [ 33.617526] CR2: 00007f499768d000 CR3: 0000000035666000 CR4: 0000000000000670
Aug 16 04:13:38 tomcat1 kernel: [ 33.617526]
Aug 16 04:13:38 tomcat1 kernel: [ 33.617526] RIP [<00007f498d06baba>] 0x7f498d06baba
Aug 16 04:13:38 tomcat1 kernel: [ 33.617526] RSP <00007f499767d398>
Aug 16 04:13:38 tomcat1 kernel: [ 33.617526] ---[ end trace af21bf1ea2985973 ]---
Aug 16 04:13:38 tomcat1 kernel: [ 33.646647] BUG: Bad page map in process java pte:80003ffffe17c225 pmd:b7122067
Aug 16 04:13:38 tomcat1 kernel: [ 33.648392] addr:00007f499768d000 vm_flags:08000071 anon_vma: (null) mapping: (null) index:7f499768d
Aug 16 04:13:38 tomcat1 kernel: [ 33.648400] CPU: 1 PID: 2111 Comm: java Tainted: G D 3.13.0-155-generic #205-Ubuntu
Aug 16 04:13:38 tomcat1 kernel: [ 33.648404] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
Aug 16 04:13:38 tomcat1 ke...

Read more...

Revision history for this message
Robert Taylor (rgtaylor) wrote :

Restarted rolling back to 3.13.0-153-generic and tomcat7 starts fine

Revision history for this message
Robert Taylor (rgtaylor) wrote :

I have completed the apport-collect, and attached some kernel logs, changing status to confirmed.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Robert Taylor (rgtaylor) wrote :

From the logs the kernel bug seems to be affecting JAVA rather than tomcat7 itself.

We also have the same problem occurring with our JetBrains License Server crashed this morning - generating the same kernel errors. JetBrains has a commercial JAVA web application service, not tomcat7, and it is configured to run with Oracle Java 1.8.0.

Our tomcat7 instances are running with the Ubuntu package for OpenJDK 1.7.0_181

Brad Figg (brad-figg)
tags: added: cscc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.