Apport is a debugging tool that is used to generate crash reports and this enabled by default in Ubuntu 12.04, to enabled or disabled it just follow below.
1. Open at terminal and you need to edit
# sudo nano /etc/default/apport
2.Set this to 0 to disable apport or to 1 to enable it
or you can overide this with one command
sudo service apport start force_start=1