That crash happened in a recently added line of code, according to your uploaded crash report. That is code for this ticket: https://github.com/HeidiSQL/HeidiSQL/issues/395
Not sure how you managed to get that crash, but I saw a slight chance it happens when the active table has no primary or unique key.

However, should be fixed in the next build.

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.