add apport hook for openjdk-8

Bug #1696886 reported by Tiago Stürmer Daitx on 2017-06-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-8 (Ubuntu)
Undecided
Brian Murray
Xenial
Wishlist
Unassigned
Yakkety
Wishlist
Unassigned
Zesty
Wishlist
Unassigned

Bug Description

OpenJDK crashes generates a hs_err file that includes additional information for debugging.

This apport hook adds the generated hs_err file as long as it exists in the java process cwd and is smaller than 100 KB (to avoid filling up error tracker).

OpenJDK 8 conffiles modified by the user will also be added to all reports.

Tiago Stürmer Daitx (tdaitx) wrote :
tags: added: patch
tags: added: artful xenial yakkety zesty
Brian Murray (brian-murray) wrote :

I've uploaded this to artful, let's do an end to end test of the package hook and ensure everything appears in the Ubuntu Error Tracker before SRU'ing these changes.

Changed in openjdk-8 (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
status: New → In Progress
Tiago Stürmer Daitx (tdaitx) wrote :

Verified to be working. The HotspotError is attached to the reports.

The reports got associated with this problem:
https://errors.ubuntu.com/problem/0b7b808952f02c3d51897e490710eddc225ba21c

I had 2 instances reported - so far, I tested if a few times, so more might show up:
https://errors.ubuntu.com/oops/52afb2b0-4fe9-11e7-995e-fa163e30221b
https://errors.ubuntu.com/oops/1230b1fc-4fea-11e7-9ac3-fa163ed44aae

Changed in openjdk-8 (Ubuntu):
status: In Progress → Fix Committed
Steve Beattie (sbeattie) on 2017-06-13
Changed in openjdk-8 (Ubuntu Xenial):
importance: Undecided → Wishlist
Changed in openjdk-8 (Ubuntu Yakkety):
importance: Undecided → Wishlist
Changed in openjdk-8 (Ubuntu Zesty):
importance: Undecided → Wishlist
Brian Murray (brian-murray) wrote :

It's not a big deal but I noticed the OOPSes contain the same tag multiple times:

Tags artful package-from-proposed openjdk-hs-err openjdk-hs-err

I also neglected to mention it is possible to use a staging version of the Error Tracker for submitting and viewing crash reports - this would prevent incorrect counting of crashes, although a couple shouldn't matter.

Tiago Stürmer Daitx (tdaitx) wrote :

The duplication was probably caused by myself while I was simultaneous running apport-cli, apport-noui and update-notifier-crash - for some reason my system does not set the systemd user graphical-session, so I ended running stuff manually and a duplication occurred somewhere along that.

I did additional testing on the staging area [1] and there was no tag duplication [2,3,4].

[1] https://errors.staging.ubuntu.com/?release=Ubuntu%2017.10&package=openjdk-8&period=day
[2] https://errors.staging.ubuntu.com/problem/0b7b808952f02c3d51897e490710eddc225ba21c
[3] https://errors.staging.ubuntu.com/oops/2e47f990-505d-11e7-87f2-fa163eaf9b83
[4] https://errors.staging.ubuntu.com/oops/9d372fb8-506e-11e7-87f2-fa163eaf9b83

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-8 - 8u131-b11-2ubuntu1

---------------
openjdk-8 (8u131-b11-2ubuntu1) artful; urgency=medium

  * debian/apport-hook.py: add an apport hook to include conffiles
    modified by the user on any report and the hs_err log file on
    crash report only. LP: #1696886.

 -- Tiago Stürmer Daitx <email address hidden> Mon, 12 Jun 2017 10:43:07 -0700

Changed in openjdk-8 (Ubuntu):
status: Fix Committed → Fix Released
Brian Murray (brian-murray) wrote :

Keep in mind when SRU'ing this we'll need to modify whoopsie to allow the large attachment.

Launchpad Janitor (janitor) wrote :
Download full text (4.4 KiB)

This bug was fixed in the package openjdk-8 - 8u131-b11-2ubuntu1.17.04.2

---------------
openjdk-8 (8u131-b11-2ubuntu1.17.04.2) zesty-security; urgency=medium

  * patches/hotspot-ppc64el-S8181055-use-numa-v2-api.patch: mbind invalid
    argument message is still seen after S8175813; use numa_interleave_memory
    v2 api when available. LP: #1705763.

openjdk-8 (8u131-b11-2ubuntu1.17.04.1) zesty-security; urgency=medium

  * Security fixes from 8u141:
    - CVE-2017-10102, S8163958: Improved garbage collection.
    - CVE-2017-10053, S8169209: Improved image post-processing steps.
    - CVE-2017-10067, S8169392: Additional jar validation steps.
    - CVE-2017-10081, S8170966: Right parenthesis issue.
    - CVE-2017-10078, S8171539: Better script accessibility for JavaScript.
    - CVE-2017-10087, S8172204: Better Thread Pool execution.
    - CVE-2017-10089, S8172461: Service Registration Lifecycle.
    - CVE-2017-10090, S8172465: Better handling of channel groups.
    - CVE-2017-10096, S8172469: Transform Transformer Exceptions.
    - CVE-2017-10101, S8173286: Better reading of text catalogs.
    - CVE-2017-10107, S8173697: Less Active Activations.
    - CVE-2017-10074, S8173770: Image conversion improvements.
    - CVE-2017-10110, S8174098: Better image fetching.
    - CVE-2017-10108, S8174105: Better naming attribution.
    - CVE-2017-10109, S8174113: Better sourcing of code.
    - CVE-2017-10115, S8175106: Higher quality DSA operations.
    - CVE-2017-10118, S8175110: Higher quality ECDSA operations.
    - CVE-2017-10116, S8176067: Proper directory lookup processing.
    - CVE-2017-10135, S8176760: Better handling of PKCS8 material.
    - CVE-2017-10176, S8178135: Additional elliptic curve support.
    - CVE-2017-10193, S8179101: Improve algorithm constraints implementation.
    - CVE-2017-10198, S8179998: Clear certificate chain connections.
    - S8174770: Check registry registration location.
    - S8174873: Improved certificate procesing.
    - S8176055: JMX diagnostic improvements.
    - S8176536: Improved algorithm constraints checking.
    - S8181420: PPC: Image conversion improvements.
    - S8182054: Improve wsdl support.
    - S8184185: Rearrange MethodHandle arrangements.
  * debian/rules:
    - enable apport hook on Ubuntu and derivatives only.
    - remove with_zenhai logic.
    - remove unused with_tzdata logic, move tzdata build dependency
      to control.in.
    - add Breaks:tzdata-java except for wheezy, jessie or trusty.
    - re-enable jamvm for Xenial only.
    - run debian/control before build so we won't build with a invalid
      control file.
    - remove logic to select between ttf or font packages and depend
      on fonts-wqy-microhei and fonts-wqy-zenhei instead
  * debian/apport-hook.py: add an apport hook to include conffiles
    modified by the user on any report and the hs_err log file on
    crash report only. LP: #1696886.
  * patches/fontconfig-arphic-uming.diff: only enabled when with_zenhai
    was false; not required since lenny.
  * patches/hotspot-ppc64el-S8175813-mbind-invalid-argument.patch: prevent
    invalid argument message when invoking UseNUMA on a system with
    non-consecutive numa topolo...

Read more...

Changed in openjdk-8 (Ubuntu Zesty):
status: New → Fix Released
Launchpad Janitor (janitor) wrote :
Download full text (4.6 KiB)

This bug was fixed in the package openjdk-8 - 8u131-b11-2ubuntu1.16.04.2

---------------
openjdk-8 (8u131-b11-2ubuntu1.16.04.2) xenial-security; urgency=medium

  * Backport to 16.04.

openjdk-8 (8u131-b11-2ubuntu1.17.04.2) zesty-security; urgency=medium

  * patches/hotspot-ppc64el-S8181055-use-numa-v2-api.patch: mbind invalid
    argument message is still seen after S8175813; use numa_interleave_memory
    v2 api when available. LP: #1705763.

openjdk-8 (8u131-b11-2ubuntu1.16.04.1) xenial-security; urgency=medium

  * Backport to 16.04.

openjdk-8 (8u131-b11-2ubuntu1.17.04.1) zesty-security; urgency=medium

  * Security fixes from 8u141:
    - CVE-2017-10102, S8163958: Improved garbage collection.
    - CVE-2017-10053, S8169209: Improved image post-processing steps.
    - CVE-2017-10067, S8169392: Additional jar validation steps.
    - CVE-2017-10081, S8170966: Right parenthesis issue.
    - CVE-2017-10078, S8171539: Better script accessibility for JavaScript.
    - CVE-2017-10087, S8172204: Better Thread Pool execution.
    - CVE-2017-10089, S8172461: Service Registration Lifecycle.
    - CVE-2017-10090, S8172465: Better handling of channel groups.
    - CVE-2017-10096, S8172469: Transform Transformer Exceptions.
    - CVE-2017-10101, S8173286: Better reading of text catalogs.
    - CVE-2017-10107, S8173697: Less Active Activations.
    - CVE-2017-10074, S8173770: Image conversion improvements.
    - CVE-2017-10110, S8174098: Better image fetching.
    - CVE-2017-10108, S8174105: Better naming attribution.
    - CVE-2017-10109, S8174113: Better sourcing of code.
    - CVE-2017-10115, S8175106: Higher quality DSA operations.
    - CVE-2017-10118, S8175110: Higher quality ECDSA operations.
    - CVE-2017-10116, S8176067: Proper directory lookup processing.
    - CVE-2017-10135, S8176760: Better handling of PKCS8 material.
    - CVE-2017-10176, S8178135: Additional elliptic curve support.
    - CVE-2017-10193, S8179101: Improve algorithm constraints implementation.
    - CVE-2017-10198, S8179998: Clear certificate chain connections.
    - S8174770: Check registry registration location.
    - S8174873: Improved certificate procesing.
    - S8176055: JMX diagnostic improvements.
    - S8176536: Improved algorithm constraints checking.
    - S8181420: PPC: Image conversion improvements.
    - S8182054: Improve wsdl support.
    - S8184185: Rearrange MethodHandle arrangements.
  * debian/rules:
    - enable apport hook on Ubuntu and derivatives only.
    - remove with_zenhai logic.
    - remove unused with_tzdata logic, move tzdata build dependency
      to control.in.
    - add Breaks:tzdata-java except for wheezy, jessie or trusty.
    - re-enable jamvm for Xenial only.
    - run debian/control before build so we won't build with a invalid
      control file.
    - remove logic to select between ttf or font packages and depend
      on fonts-wqy-microhei and fonts-wqy-zenhei instead
  * debian/apport-hook.py: add an apport hook to include conffiles
    modified by the user on any report and the hs_err log file on
    crash report only. LP: #1696886.
  * patches/fontconfig-arphic-uming.diff: only enabled when with_zenhai
    was false; not requ...

Read more...

Changed in openjdk-8 (Ubuntu Xenial):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers