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

Problem With MacOS macOS Sequoia and iMAC with M3 #190

Open
bentoart opened this issue Dec 8, 2024 · 1 comment
Open

Problem With MacOS macOS Sequoia and iMAC with M3 #190

bentoart opened this issue Dec 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@bentoart
Copy link

bentoart commented Dec 8, 2024

When we try to start the ErpNet.FP console aftrer few seconds system give us error:

./ErpNet.FP.Server
Unhandled exception. System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.IO.Ports.SafeSerialDeviceHandle'.
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success)
at Interop.Termios.TermiosDrain(SafeSerialDeviceHandle handle)
at System.IO.Ports.SerialStream.Flush()
at System.IO.Ports.SerialPort.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at ErpNet.FP.Core.Transports.ComTransport.Channel.Close() in C:\Code\ErpNet.FP\ErpNet.FP.Core\Transports\ComTransport.cs:line 173
at ErpNet.FP.Core.Transports.ComTransport.Channel.IdleTimerElapsed(Object state) in C:\Code\ErpNet.FP\ErpNet.FP.Core\Transports\ComTransport.cs:line 122
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()

Describe the device(s) you are using
iMAC M3
Eltrade B1-KL

How To Reproduce

  1. Install dot net 9
  2. Extract all files ErpNet.FP.Server
  3. sudo spctl --master-disable

Expected behavior
To start ErpNet.FP.Server

@bentoart bentoart added the bug Something isn't working label Dec 8, 2024
@moynzzz
Copy link

moynzzz commented Dec 12, 2024

Any info about this error I have the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants