Closed phpHavok closed 9 years ago
As far as I can tell, this can only happen if msg_controllen is too small. I'm re-working this whole set of code anyway; I'll make sure to test this afterwards, and I'll ask you to see if you can recreate the problem after that refactor.
That sounds great, thanks!
Hello, there. I was wondering if there is any news regarding this? Do you perhaps have a workaround for ensuring that msg_controllen is not too small for the time being?
Can you try the "timers" branch, please?
Excellent, it's working! Thank you so much.
After compiling and running
spudecho
, it will wait for a client to connect with an OPEN message. After the message arrives, spudecho will segfault in the process of sending an ACK. See the following information from the core dump and GDB:Here is a snippet of the code surrounding line 184 in
src/tube.c
:Apparently, CMSG_FIRSTHDR() is returning NULL.
OS:
Linux 3.19.0-16-generic #16-Ubuntu SMP Thu Apr 30 16:09:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Compiler:gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)