When does pthread_create() return EINVAL?

Florian Weimer fw@deneb.enyo.de
Sun May 19 13:35:00 GMT 2019


* Manuel Lauss:

> When does pthread_create() return EINVAL?
> I use qemu-user for mipsel, and after updating a python package in the mipsel
> userland, pthread_create() in qemu-user started returning EINVAL.  I
> looked through the source of pthread_create, but could not find an
> explicit EINVAL anywhere.

Do you know which system call fails?  It's probably something coming
from the Linux emulation, and not one of the glibc's stack-related
checks (which can produce EINVAL as well).



More information about the Libc-help mailing list