This error happening eventually when I just type "select * from sp_" and try to auto-complete table name (large mysql innodb table). And the heidisql just auto close and show this bug report.
Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.