Issue with socket recieve

Adam D. Ruppe destructionator at gmail.com
Thu Jan 21 03:21:41 UTC 2021


On Wednesday, 20 January 2021 at 21:31:54 UTC, Tim wrote:
>>Unable to open 'recv.c': Unable to read file 
>>'/build/glibc-ZN95T4/glibc-2.31/sysdeps/unix/sysv/linux/recv.c' 
>>(Error: Unable to resolve non-existing file 
>>'/build/glibc-ZN95T4/glibc-2.31/sysdeps/unix/sysv/linux/recv.c').
> [snip]
> generate a core.exception.InvalidMemoryOperationError that I 
> can't catch.


None of this makes much sense given the code you provided. 
InvalidMemoryOperationError (the scariest thing in D btw, such a 
pain to debug) is usually caused by a class destructor somewhere, 
and none of those should be trying to resolve those files.

Do you have any destructors defined?


More information about the Digitalmars-d-learn mailing list