"System program problem detected" on each startup Ubuntu

After using ubuntu for a while, and if you keep on updating or upgrading your ubuntu. There are chances that you will face “System program problem detected” popup message on startup.
It’s very annoying to see the popups everytime you start your machine. Here is a solution to get rid of them.

Finding out programmes which are responsible for popups

Before getting rid of the problem its better to find out cause of the error. To check it you can do sudo ls -ltrh /var/crash/ , for me following are the issues.