How to copy/paste from "Sorry, the application XXX has stopped unexpectedly"

An app just crashed and I want to copy the error message and paste it into a search engine to hopefully find a solution.

Unfortunately the error dialog does not allow me to copy/paste anything:

Sorry, the application XXX has stopped unexpectedly

In particular the stack trace, which is very long. Typing manually is slow and unreliable.

Maybe the same details can be copied from somewhere else?

Note: Similar to How can I copy the text of an unreportable error? but with more details. If one must be closed as a duplicate, despite being newer I believe this one is more useful. It is de-facto more popular: 200 views there, 42k views here.


Solution 1:

All crash report data can be found in the .crash files located in:

/var/crash

And as stated here:

When sent a .upload and .uploaded file is added.
It includes a CoreDump: base64 field that can be quite huge though.

Solution 2:

Nope, there is no way to copy/paste. You can "vote" for this issue to be fixed at:

  • https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1273752
  • https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1606712