https://bugs.winehq.org/show_bug.cgi?id=48065
--- Comment #6 from Damjan Jovanovic damjan.jov@gmail.com --- Firstly the portable versions won't start, when you try connecting to a database, they cannot find a DLL and give a dialog saying the file does not exist.
I tried Wine 4.0.1 and HeidiSQL 10.1.0.5464, and couldn't get it to crash by deleting rows from a "Data" tab with table contents, or deleting sessions from the screen where you choose the database, or deleting columns from the screen where you edit table columns.
Please retry with a clean WINEPREFIX and describe the exact steps that lead to the EAccessViolation.