[Bug 49938] Repeating "00fc:err:service:validate_context_handle Handle is of an invalid type (1, 2)" at startup

WineHQ Bugzilla wine-bugs at winehq.org
Mon Oct 5 07:26:51 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49938

--- Comment #9 from Ruslan Kabatsayev <b7.10110111 at gmail.com> ---
(In reply to Hans Leidekker from comment #8)
> So getrandom() returns ENOSYS. This suggests you're running glibc new enough
> to have a wrapper for the syscall on a kernel that doesn't implement this
> syscall. Can you describe your setup in more detail?

My system is LFS with x86_64 Linux 4.14.157, 32-bit userland with glibc 2.27
(configured with --enable-kernel=3.2, as suggested in the LFS book).

As I've tested now, it's glibc that raises ENOSYS, not the kernel.
Particularly, another glibc from cross-x86_64 toolchain executes the actual
syscall, which succeeds, while this system glibc just executes its #else code
for #ifdef __NR_getrandom in getrandom.c.

Do you think I have misconfigured my system somehow?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list