Intro: apport is a python applicaton running on ubuntu which automates bug reporting. In case of a crash it determines which application crashed, and auto generates a detailed report on the crash, including various details on the environment/system in which the crash occurred.
Recently I had a few crashes (signal 5: Trace/breakpoint trap) of the Java run-time ( executable:
/usr/lib/jvm/java-6-openjdk-amd64_jre/bin/java ) while running a (non Ubuntu) financial application.
I like to help improve Ubuntu by emailing the detailed report, but one thing prevents me from doing so. The report includes a full core dump of the application which may have some serious privacy implications.
The question is how can I allow the report (so it can help developers fix the crash in java itself), but disable the core-file shipping with it.
Note that I don't want to disable core file generation altogether. I just want to prevent apport from adding it to the report.