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

LaserGRbl crashes if not used during a while #2463

Open
Mixailovitch opened this issue Dec 17, 2024 · 1 comment
Open

LaserGRbl crashes if not used during a while #2463

Mixailovitch opened this issue Dec 17, 2024 · 1 comment

Comments

@Mixailovitch
Copy link

Hello,
Firstly thank yo uvery much for sharing this program. It's fine.

I have just a problem with last version as you can see in the error report.
I have my laser in a separate room and I do not close LaserGrbl when I leaves the room after finishing the job without problem.
When, I come back later it has crashed meanwhile with following error report :

LaserGrbl v7.14.0.0
Grbl v1.1h
Wrapper: UsbSerial
Win 10, Home, 10.0.19045.0 (7)
CLR: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll 4.8.9282.0 built by: NET481REL1LAST_C

TypeOf exception [System.ObjectDisposedException]
Exception message [Le handle sécurisé a été fermé]
Exception source [mscorlib], thread [Main Thread]
Exception method [Void DangerousAddRef(Boolean ByRef)]

----------- stack trace -----------
à System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success)
à System.StubHelpers.StubHelpers.SafeHandleAddRef(SafeHandle pHandle, Boolean& success)
à Microsoft.Win32.UnsafeNativeMethods.GetOverlappedResult(SafeFileHandle hFile, NativeOverlapped* lpOverlapped, Int32& lpNumberOfBytesTransferred, Boolean bWait)
à System.IO.Ports.SerialStream.EventLoopRunner.WaitForCommEvent()
à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()

Thank you

Nicolas

@Mixailovitch
Copy link
Author

It happens each time (always)

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

1 participant