New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EAccessViolation in TSynCustomHighlighter.Next #57

Open
CodeTrailblazer opened this Issue Dec 22, 2017 · 11 comments

Comments

Projects
None yet
9 participants
@CodeTrailblazer

CodeTrailblazer commented Dec 22, 2017

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

@ansgarbecker

This comment has been minimized.

Show comment
Hide comment
@ansgarbecker

ansgarbecker Dec 30, 2017

Collaborator

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.

Collaborator

ansgarbecker commented Dec 30, 2017

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.

@ansgarbecker

This comment has been minimized.

Show comment
Hide comment
@ansgarbecker

ansgarbecker Dec 31, 2017

Collaborator

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

Collaborator

ansgarbecker commented Dec 31, 2017

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

@ansgarbecker ansgarbecker changed the title from Highlighter crash to Crash in TSynCustomHighlighter Jan 2, 2018

@CodeTrailblazer

This comment has been minimized.

Show comment
Hide comment
@CodeTrailblazer

CodeTrailblazer Jan 3, 2018

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

CodeTrailblazer commented Jan 3, 2018

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

@ansgarbecker ansgarbecker changed the title from Crash in TSynCustomHighlighter to EAccessViolation in TSynCustomHighlighter.Next Jan 10, 2018

@kasnol

This comment has been minimized.

Show comment
Hide comment
@kasnol

kasnol Jan 16, 2018

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

bugreport.txt
bugreport2.txt

kasnol commented Jan 16, 2018

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

bugreport.txt
bugreport2.txt

@lieszkol

This comment has been minimized.

Show comment
Hide comment
@lieszkol

lieszkol Jan 27, 2018

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

lieszkol commented Jan 27, 2018

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

@Mc-Pain

This comment has been minimized.

Show comment
Hide comment
@Mc-Pain

Mc-Pain Apr 18, 2018

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

bugreport.txt

Mc-Pain commented Apr 18, 2018

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

bugreport.txt

@iangregory

This comment has been minimized.

Show comment
Hide comment
@iangregory

iangregory May 12, 2018

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

iangregory commented May 12, 2018

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

@r3verser

This comment has been minimized.

Show comment
Hide comment
@r3verser

r3verser May 19, 2018

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.

r3verser commented May 19, 2018

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.

@sundagy

This comment has been minimized.

Show comment
Hide comment
@sundagy

sundagy Jul 3, 2018

Crash when execute any custom query((

bugreport.txt

sundagy commented Jul 3, 2018

Crash when execute any custom query((

bugreport.txt

@sundagy

This comment has been minimized.

Show comment
Hide comment
@sundagy

sundagy Jul 3, 2018

Is there any version Heidi without SynEdit?

sundagy commented Jul 3, 2018

Is there any version Heidi without SynEdit?

@chabberwock

This comment has been minimized.

Show comment
Hide comment
@chabberwock

chabberwock Sep 7, 2018

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.

chabberwock commented Sep 7, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment