In Ubuntu 16.04 exists a service called apport (enabled by default) who intercepts program failures and generates a report with information about the issue.
The file is stored with the issue is stored on /var/crash folder
After the error, apport ask us for permission to send this information to Ubuntu to inform developers about the issue and make more easy to debug them.
If for some reason you don’t want to send the information, or are unable to do so (no internet connection for example) you can dismiss the message, but the message may appear again the next logon.
To avoid the message without send the information you must delete the crash file
sudo rm /var/crash/*.crash
This procedure disables the message until next program error, when new crash reports files are created. If you want avoid future crash messages is necessary to disable apport service with this commands:
sudo systemctl stop apport sudo systemctl disable apport