2017-06-08 17:53:58 |
Brian Murray |
bug |
|
|
added bug |
2017-06-08 17:54:49 |
Brian Murray |
whoopsie (Ubuntu): milestone |
|
ubuntu-17.06 |
|
2017-06-08 17:55:04 |
Brian Murray |
whoopsie (Ubuntu): assignee |
|
Canonical Foundations Team (canonical-foundations) |
|
2017-06-08 18:38:52 |
Tiago Stürmer Daitx |
description |
This is for Tiago's openjdk apport package hook. |
OpenJDK 8 apport hook attaches the hs_err_pid<pid>.log (if it exists) to a Crash report under the HotspotError key. The hook is currently limited to attaching files under 100 KB.
Please add HotspotError key to the whitelist in order for it to be available in error tracker. |
|
2017-06-08 18:41:49 |
Tiago Stürmer Daitx |
attachment added |
|
source-openjdk-8.py https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1696814/+attachment/4892544/+files/source-openjdk-8.py |
|
2017-06-08 18:44:01 |
Brian Murray |
whoopsie (Ubuntu): assignee |
Canonical Foundations Team (canonical-foundations) |
Brian Murray (brian-murray) |
|
2017-06-08 18:51:24 |
Tiago Stürmer Daitx |
attachment removed |
source-openjdk-8.py https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1696814/+attachment/4892544/+files/source-openjdk-8.py |
|
|
2017-06-08 18:51:54 |
Tiago Stürmer Daitx |
attachment added |
|
source-openjdk-8.py https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1696814/+attachment/4892554/+files/source-openjdk-8.py |
|
2017-06-08 22:49:56 |
Brian Murray |
whoopsie (Ubuntu): importance |
Undecided |
High |
|
2017-06-08 22:50:00 |
Brian Murray |
whoopsie (Ubuntu): status |
New |
In Progress |
|
2017-06-09 01:08:08 |
Launchpad Janitor |
whoopsie (Ubuntu): status |
In Progress |
Fix Released |
|
2017-07-17 20:03:54 |
Launchpad Janitor |
branch linked |
|
lp:whoopsie |
|
2017-07-19 15:39:36 |
Tiago Stürmer Daitx |
description |
OpenJDK 8 apport hook attaches the hs_err_pid<pid>.log (if it exists) to a Crash report under the HotspotError key. The hook is currently limited to attaching files under 100 KB.
Please add HotspotError key to the whitelist in order for it to be available in error tracker. |
[Impact]
By default OpenJDK 8 generates an hs_err file when it crashes, this file contains the stacktrace generated by OpenJDK (thus it contains different data compared to a gdb stacktrace) plus information on the running threads, classes, and memory usage (OpenJDK's regions). This file is usually required by the OpenJDK and/or IcedTea upstream developers when filling a bug and, in the case of OpenJDK, is more useful than the incomplete stacktrace that GDB can generate from OpenJDK crashes.
OpenJDK 8 now includes a new apport hook to collect additional data from crash reports as well as the hs_err log file (in the new HotspotError key).
A new release is soon reaching Zesty and Xenial with the hook included and without SRU'ing this fix the hs_err file won't be uploaded to the error tracker.
[Test Case]
1. Start any java program using OpenJDK 8
2. Kill it with SIGILL
3. Check that the created report contains the hs_err file
[Regression Potential]
If the new key is added to acceptable_fields whoopsie will upload the entries in it. Currently the OpenJDK apport hook limits this to 100 KB, but changes to it could allow bigger files with in turn cause an overhead in the error tracker infrastructure.
[Original bug report]
OpenJDK 8 apport hook attaches the hs_err_pid<pid>.log (if it exists) to a Crash report under the HotspotError key. The hook is currently limited to attaching files under 100 KB.
Please add HotspotError key to the whitelist in order for it to be available in error tracker. |
|
2017-07-19 15:45:59 |
Brian Murray |
nominated for series |
|
Ubuntu Xenial |
|
2017-07-19 15:45:59 |
Brian Murray |
bug task added |
|
whoopsie (Ubuntu Xenial) |
|
2017-07-19 15:45:59 |
Brian Murray |
nominated for series |
|
Ubuntu Zesty |
|
2017-07-19 15:45:59 |
Brian Murray |
bug task added |
|
whoopsie (Ubuntu Zesty) |
|
2017-07-19 15:46:07 |
Brian Murray |
whoopsie (Ubuntu Xenial): importance |
Undecided |
High |
|
2017-07-19 15:46:09 |
Brian Murray |
whoopsie (Ubuntu Zesty): importance |
Undecided |
High |
|
2017-07-19 15:46:12 |
Brian Murray |
whoopsie (Ubuntu Xenial): status |
New |
Triaged |
|
2017-07-19 15:46:15 |
Brian Murray |
whoopsie (Ubuntu Zesty): status |
New |
Triaged |
|
2017-07-20 18:27:03 |
Brian Murray |
whoopsie (Ubuntu Zesty): status |
Triaged |
Fix Committed |
|
2017-07-20 18:27:05 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-07-20 18:27:07 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2017-07-20 18:27:11 |
Brian Murray |
tags |
|
verification-needed verification-needed-zesty |
|
2017-07-20 18:28:41 |
Brian Murray |
whoopsie (Ubuntu Xenial): status |
Triaged |
Fix Committed |
|
2017-07-20 18:28:46 |
Brian Murray |
tags |
verification-needed verification-needed-zesty |
verification-needed verification-needed-xenial verification-needed-zesty |
|
2017-07-20 19:54:32 |
Tiago Stürmer Daitx |
description |
[Impact]
By default OpenJDK 8 generates an hs_err file when it crashes, this file contains the stacktrace generated by OpenJDK (thus it contains different data compared to a gdb stacktrace) plus information on the running threads, classes, and memory usage (OpenJDK's regions). This file is usually required by the OpenJDK and/or IcedTea upstream developers when filling a bug and, in the case of OpenJDK, is more useful than the incomplete stacktrace that GDB can generate from OpenJDK crashes.
OpenJDK 8 now includes a new apport hook to collect additional data from crash reports as well as the hs_err log file (in the new HotspotError key).
A new release is soon reaching Zesty and Xenial with the hook included and without SRU'ing this fix the hs_err file won't be uploaded to the error tracker.
[Test Case]
1. Start any java program using OpenJDK 8
2. Kill it with SIGILL
3. Check that the created report contains the hs_err file
[Regression Potential]
If the new key is added to acceptable_fields whoopsie will upload the entries in it. Currently the OpenJDK apport hook limits this to 100 KB, but changes to it could allow bigger files with in turn cause an overhead in the error tracker infrastructure.
[Original bug report]
OpenJDK 8 apport hook attaches the hs_err_pid<pid>.log (if it exists) to a Crash report under the HotspotError key. The hook is currently limited to attaching files under 100 KB.
Please add HotspotError key to the whitelist in order for it to be available in error tracker. |
[Impact]
By default OpenJDK 8 generates an hs_err file when it crashes, this file contains the stacktrace generated by OpenJDK (thus it contains different data compared to a gdb stacktrace) plus information on the running threads, classes, and memory usage (OpenJDK's regions). This file is usually required by the OpenJDK and/or IcedTea upstream developers when filling a bug and, in the case of OpenJDK, is more useful than the incomplete stacktrace that GDB can generate from OpenJDK crashes.
OpenJDK 8 now includes a new apport hook to collect additional data from crash reports as well as the hs_err log file (in the new HotspotError key).
A new release is soon reaching Zesty and Xenial with the hook included and without SRU'ing this fix the hs_err file won't be uploaded to the error tracker.
[Test Case]
Make sure that you are using OpenJDK 8 and to stop whoopsie service before continuing. If any popup about submitting a crash report shows up at any time, ignore/cancel it - we are going to manually submit the report to the staging error tracker (instead of the official one).
# SleepTest.java
public class SleepTest {
public static void main(String[] args) throws Exception {
Thread.sleep(5000);
}
}
1. Run whoopsie:
$ sudo CRASH_DB_URL=https://daisy.staging.ubuntu.com whoopsie -f
2. Run the SleepTest and SIGKILL it in another terminal:
$ java SleepTest & sleep 1 && pkill -f -SIGILL "java SleepTest"
3. View the crash report and submit it:
$ apport-cli -c report /var/crash/_usr_lib_jvm_java-8-openjdk-amd64_jre_bin_java.1000.crash
3a) View the report
3b) [Optional] Search for the "HotspotError" key
3c) Send the report
4. Verify that the report was saved, including the hs_err content:
4a) In whoopsie terminal, check the OOPS ID code
4b) Browse to errors.staging.ubuntu.com/oops/$OOPSID
4c) Confirm that the HotspotError was added to the report
[Regression Potential]
If the new key is added to acceptable_fields whoopsie will upload the entries in it. Currently the OpenJDK apport hook limits this to 100 KB, but changes to it could allow bigger files with in turn cause an overhead in the error tracker infrastructure.
[Original bug report]
OpenJDK 8 apport hook attaches the hs_err_pid<pid>.log (if it exists) to a Crash report under the HotspotError key. The hook is currently limited to attaching files under 100 KB.
Please add HotspotError key to the whitelist in order for it to be available in error tracker. |
|
2017-07-21 19:33:11 |
Tiago Stürmer Daitx |
tags |
verification-needed verification-needed-xenial verification-needed-zesty |
verification-done-xenial verification-needed verification-needed-zesty |
|
2017-07-21 20:12:09 |
Tiago Stürmer Daitx |
tags |
verification-done-xenial verification-needed verification-needed-zesty |
verification-done-xenial verification-done-zesty verification-needed |
|
2017-07-27 20:36:16 |
Launchpad Janitor |
whoopsie (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-07-27 20:36:23 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-07-27 20:36:47 |
Launchpad Janitor |
whoopsie (Ubuntu Zesty): status |
Fix Committed |
Fix Released |
|