Closed mwerle closed 2 years ago
The crash happens inside non-CKAN code and isn't happening for anyone else, so it's likely to be something with your Mono install. What version of Mono do you have?
Sounds like another case of #3343, did Debian update its Mono package?
They still haven't merged or even commented on mono/mono#21136 ??
Yeah Mono is pretty dead now, even more dead than it has been a few years ago already. I think Microsoft moved all the personnel away and to .NET (5, 6, ...).
@mwerle, there's a test build here that may/should fix the problem you're having:
https://github.com/KSP-CKAN/CKAN/suites/5956890834/artifacts/204524375
Thanks for the super-fast and detailed investigation. Apologies for the lack of responses last night - I was out having a few beers ;) - as well as my lack of more detailed searching for related issues (I only searched for EWOULDBLOCK).
I had worked around the issue by downloading the mod manually and importing it into CKAN.
Further information (just for interest):
Using the updated test build of ckan (1.30.5) I was unable to reproduce the crash even when attempting to download multiple mods or much bigger mods (Parallax - 1.8GiB). So it seems your changes are a valid workaround. Thank you!
Crash occurs while trying to update "Restock" mod. Other mods were able to be updated.
ckan v1.30.4; Debian GNU/Linux 11
Have now tried several times, including moving the download cache from my home directory (local disk) to a network share. Every time close to the end of the download I get this exception.
See attached exception log (please note that the first exception in this log is immaterial; crash also happens when not attempting to update DistantObject mod).
ckan_crash.txt