uWS::Loop::defer causes crashes (SIGSEGV) #1729
Replies: 3 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
I was using the Reference from this repo:
|
Beta Was this translation helpful? Give feedback.
-
defer is thread safe. But you need to check your composition with ThreadSanitizer or AddressSanitizer. The stacktrace is very weird and most likely not showing the real problem |
Beta Was this translation helpful? Give feedback.
-
I'm using this library in a multithreaded environment.
On open, I'm storing the Loop object:
Then, when I want to send data, I'm using
defer
:I'm getting the following crash:
I'm using the libraries from Conan:
Beta Was this translation helpful? Give feedback.
All reactions