Heidisql: EAccessViolation in TSynCustomHighlighter.Next

Created on 22 Dec 2017  路  14Comments  路  Source: HeidiSQL/HeidiSQL

When i run a query the higlighter seems to crash. I've been experiencing this issue since i started using heidi under windows 10 either with build 9.4.0.5169 or the new 9.5.0.5196.

Unfortunately i cant seem to find a pattern to the crash. The most consistent way for me to try and reproduce it is to run a query, change to focus to other applications and after some time turn back to heidi. Simply running a query, new or previously run, triggers the crash.

The bug report follows as attachement.
bugreport.txt

bug confirmed

All 14 comments

The relevant code in SynEdit was changed quite a few times, by me, or by some update to the latest SynEdit sources. See the commit history.

I can not do much here, but the latest sources have at least some minor changes in the relevant procedure, so a synchronization with the official SynEdit sources may help here.

I have just pushed the latest SynEdit updates to HeidiSQL. Please check the latest HeidiSQL build if the crash is still happening. Thanks!

Hi, i've updated to the sugested build but the problem persists. The call stack is pretty much the same, the current report follows as attachement.
Thanks for the feedback.
bugreport.txt

I have the same issue running in Windows 10; tested both portable and latest nightly builds

bugreport.txt
bugreport2.txt

Same issue here. Seems to be related to the app losing the connection to the database. Win 7 64 bit, Heidi 9.5.0.5226, MySQL 5.7 and Mariadb 10.2...

bugreport2.txt
bugreport.txt
bugreport3.txt

After fixing that I start catching this error on startup.
9.5.0.5203 is the latest version which still works

bugreport.txt

I have the same issue in 9.5.0.5264. HeidiSQL reliably crashes when executing a query after a period of inactivity (likely that the connection to the server has gone away).

bugreport.txt

Same error, have tried different versions old and newest 9.5.0.5278, same problem. With any simple select query, sometimes(often) drops Access Violation. Most often after short inactivity (15 sec or more). Windows 7 64, MySQL 5.7.20.

Crash when execute any custom query((

bugreport.txt

Is there any version Heidi without SynEdit?

Would be really nice to have an option to turn of that TSynCustomHighlighter it would greatly improve user experience. not being able to highlight expressions in query window is bad, but making software completely unusable because of crashes is much worse.

Having same issue here on 9.5.0.5340 with TSynCustomHighlighter when reconnecting.

Just got the same when firing a simple SELECT query in a query tab of a closed SSH-tunnelled connection

bugreport-syncustomhighlighter.txt

Hopefully finally fixed in eb1b46d5e94b1a1b5cf366833a6110d88cf3877a

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BraveOtter picture BraveOtter  路  4Comments

jorisrobijn picture jorisrobijn  路  5Comments

andreybatalof picture andreybatalof  路  4Comments

cammudito picture cammudito  路  3Comments

slaFFik picture slaFFik  路  3Comments