Skip to content

Ooops! Something went wrong! TypeOf exception [System.ObjectDisposedException] #2637

@lvonhagel

Description

@lvonhagel

LaserGrbl v7.14.1.0
Grbl v1.1h
Wrapper: UsbSerial
Win 11, Home, 10.0.26100.0 (7)
CLR: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll 4.8.9310.0 built by: NET481REL1LAST_C

TypeOf exception [System.ObjectDisposedException]
Exception message [Safe handle has been closed]
Exception source [mscorlib], thread [Main Thread]
Exception method [Void DangerousAddRef(Boolean ByRef)]

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

To Reproduce
Steps to reproduce the behavior:

  1. Started doing it every time I run the program. I had it set to pass 4 times, but it fails after one pass.

Expected behavior
I expected it to laser as usual, 4 times in a row

Hardware and software configuration (please complete the following information):

  • Windows version
  • Engraver brand and model: TwoTrees Laser Engraver
  • Grbl version (i.e. 0.9j, 1.1f) v1.1h
  • LaserGRBL version v7.14.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions