Skip to content
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

Randomly access violation #1519

Closed
bodrusG opened this issue Mar 5, 2023 · 11 comments
Closed

Randomly access violation #1519

bodrusG opened this issue Mar 5, 2023 · 11 comments

Comments

@bodrusG
Copy link

bodrusG commented Mar 5, 2023

Hi , sometimes when moving objects on the form this error occurs and you have to kill Twinbasic to exit.
Unfortunately I am unable to replicate the behavior which seems random

immagine

tb261

@WaynePhillipsEA
Copy link
Collaborator

WaynePhillipsEA commented Mar 5, 2023

When this next happens, could you check the task manager and see if the twinbasic_win32.exe has reached near the 2GB memory usage (it will usually show about 1.7GB in task manager before failures occur).

@bodrusG
Copy link
Author

bodrusG commented Mar 5, 2023

hi this is a screenshot of taskmanager ,
besides twinbasic only vlc was active playing an mp3

immagine
immagine
immagine

@WaynePhillipsEA
Copy link
Collaborator

Thanks, that confirms it is not a memory issue.

Unfortunately, until we can get steps to reproduce the issue, this will be difficult to solve. If you find any pattern to the problem/behaviour, please do let us know.

@bodrusG
Copy link
Author

bodrusG commented Mar 5, 2023

I realize the difficulty, the last time it happened I was doing the resizing of a frame inside another frame, but other times also while writing the code and parsing to attribute the colors. It seems as if the memory slowly fills up until the next operation whatever it is causes the error, but it is clear that mine is only a guess

@bodrusG
Copy link
Author

bodrusG commented Mar 5, 2023

now it happened while the intellisense was listing the members of a udt variable

@WaynePhillipsEA
Copy link
Collaborator

I think the auto-restart-on-crash feature may be broken in the latest builds. I will be looking at this tomorrow.

@bodrusG
Copy link
Author

bodrusG commented Mar 5, 2023

who better than you can get the right idea :-)

@WaynePhillipsEA
Copy link
Collaborator

The most important part of the problem here is that the compiler should be restarting gracefully automatically when the crash occurs, and this was happening until recent changes (since BETA 259). This should now be fixed in BETA 263.

Please let me know if this resolves the issue for you.

@bodrusG
Copy link
Author

bodrusG commented Mar 6, 2023

ok ,thanks.. i 'll try

@bodrusG
Copy link
Author

bodrusG commented Mar 6, 2023

i think it work .. the error of access violation fire again but the compiler restart correctly

immagine

@WaynePhillipsEA
Copy link
Collaborator

Thanks for confirming. I'll close this then, as the graceful restart is the most important part for now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants