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

TransportOSError in chat example #25

Closed
Swader opened this issue Aug 13, 2019 · 0 comments
Closed

TransportOSError in chat example #25

Swader opened this issue Aug 13, 2019 · 0 comments

Comments

@Swader
Copy link
Contributor

Swader commented Aug 13, 2019

Repro:

  • nim c -r --threads:on examples/chat.nim
  • ./example/chat

Then, open another instance on the same machine. Result:

λ examples\chat.exe
chat.nim(130)            chat
asyncmacro2.nim(334)     main
asyncmacro2.nim(36)      main_continue
chat.nim(108)            mainIter
stream.nim(1299)         start
stream.nim(935)          resumeAccept
stream.nim(804)          acceptPipeLoop
common.nim(476)          raiseTransportOsError
[[reraised from:
chat.nim(130)            chat
asyncloop.nim(915)       waitFor
asyncfutures2.nim(432)   read
]]
Error: unhandled exception: (5) Access is denied.

Async traceback:
  chat.nim(130)        chat
  asyncmacro2.nim(334) main
  asyncmacro2.nim(36)  main_continue
  chat.nim(108)        mainIter
  stream.nim(1299)     start
  stream.nim(935)      resumeAccept
  stream.nim(804)      acceptPipeLoop
  common.nim(476)      raiseTransportOsError
Exception message: (5) Access is denied.

Exception type: [TransportOsError]
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