Issue with socket recieve
Tim
tim.oliver at tutanota.com
Thu Jan 21 03:24:13 UTC 2021
On Thursday, 21 January 2021 at 03:21:41 UTC, Adam D. Ruppe wrote:
> 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?
No, I don't. It should be all garbage collected right?
Hahahaha, about 50% of my troubles are
InvalidMemoryOperationError! It's so frustrating. This whole
project has been a nightmare
More information about the Digitalmars-d-learn
mailing list