Zhaoming Luo, le lun. 03 mars 2025 19:35:37 +0800, a ecrit: > a dup() is executed[4]. The code line of [4] I think is where the issue > is. We ignored return value of __mach_port_mod_refs(). In this case we > indeed reached the limit of reference count[5],
Oops :) This should indeed be fixed into checking the result of __mach_port_mod_refs and return the failure. Samuel