- Package:
- src:libuv1
- Source:
- src:libuv1
- Submitter:
- John Paul Adrian Glaubitz
- Date:
- 2025-08-24 16:07:02 UTC
- Severity:
- normal
- Tags:
Hello, on sh4, libuv1 with io_uring support enabled often causes cmake to crash [1]: --- libuv1-1.50.0.orig/src/unix/linux.c +++ libuv1-1.50.0/src/unix/linux.c @@ -470,6 +470,8 @@ static int uv__use_io_uring(uint32_t fla #elif defined(__powerpc64__) || defined(__ppc64__) /* See https://github.com/libuv/libuv/issues/4283. */ return 0; /* Random SIGSEGV in signal handler. */ +#elif defined(__sh__) + return 0; #else /* Ternary: unknown=0, yes=1, no=-1 */ static _Atomic int use_io_uring; Thus, could you please include this patch for the next libuv1 to fix these crashes? Thanks, Adrian
Le mer. 20 août 2025 à 08:43, John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> a écrit : Done, I suppose it would be nice to report that sh4 needs the same fix as ppc64 on https://github.com/libuv/libuv/issues/4283 ?
If you look at the code in question, you can see that there are separate lines for each architectures which is okay since libuv is crashing for different reasons. Although I'm surprised this doesn't seem to be a problem on powerpc32. Adrian
Is this actually a different bug than powerpc is seeing? Because that bug report _also_ says they're seeing crashes in cmake. Possibly this should just add a third || defined() to the previous line...
We believe that the bug you reported is fixed in the latest version of libuv1, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1111616@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jérémy Lal <kapouer@melix.org> (supplier of updated libuv1 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Sun, 24 Aug 2025 17:48:29 +0200 Source: libuv1 Architecture: source Version: 1.51.0-2 Distribution: unstable Urgency: medium Maintainer: Dominique Dumont <dod@debian.org> Changed-By: Jérémy Lal <kapouer@melix.org> Closes: 1111616 Changes: libuv1 (1.51.0-2) unstable; urgency=medium . [ Dominique Dumont ] * control: add kapouer as uploader, rm lucab . [ Jérémy Lal ] * Release to unstable. * patch: disable io_uring on sh4. Closes: #1111616. Checksums-Sha1: 2e9ee6374b36acdb39792383a2a01758c286786d 2141 libuv1_1.51.0-2.dsc 35d25ca2260ab9befcdec19af030b999b018d6a6 22740 libuv1_1.51.0-2.debian.tar.xz 5f0715763b34d18dba3bbbc9d3284f876593cd13 7657 libuv1_1.51.0-2_source.buildinfo Checksums-Sha256: 5251c1d4179fb832f8140b66011b5e4a859a7efbcdc17b09ec39b46768233bfd 2141 libuv1_1.51.0-2.dsc e1e0b5b823a7ad74b2c1812a554443e8ec4da823f98e8106c9e270d9b45f98f2 22740 libuv1_1.51.0-2.debian.tar.xz 3171cf3c1e506628280e015c2642f05a1a9413d7d0babc7c49b3a0de44df8a39 7657 libuv1_1.51.0-2_source.buildinfo Files: 8ef9ec989bd036fd86a6f0230ad8eccb 2141 libs optional libuv1_1.51.0-2.dsc edb81463a9c6feac7cf0d427b2fe06d6 22740 libs optional libuv1_1.51.0-2.debian.tar.xz 3d12772ed3b350c7cd244683064a4932 7657 libs optional libuv1_1.51.0-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCAAwFiEEA8Tnq7iA9SQwbkgVZhHAXt0583QFAmirNJsSHGthcG91ZXJA bWVsaXgub3JnAAoJEGYRwF7dOfN0IS0P/0DvAN8ZIwrk4udyjUb7QkJOmOFgHCa8 CXhd6sRp32eRvlJXjUDBDMQVRQd+HZcZoU0t5mwki/b7JO8E/56RbL8IBaJiWf9i IOUe0Yaa2+orMswtvu2dPC7TOmahqjVomX06aijSVc1JjDhd8nx0yCGUrNfVKmmy A4bfShsMF6aGyk7CDw/ZvbiJ2Pqz5Wi5mAvBJWkKr88l0SSrHBq1XTzoyvzMp8TR 33IGiAqLM8tdtQFk43yIayTno/PHiaDO/41kAqHxPbKBOeztR49e6r8uwUEowvuV H8dCzAtO9gwwxLOj/dTigqVRkSFKvLFjprjGmCGE/dmHaid6k1+oZdzDUlrWEJZ2 9YiKuRxCnG1EM/F/ExD26FmtixQZkO6mXTOYWBflhZI92nn0MiL7xUjkjIRmSdyP Jbi8MmYvu2lTTonq/+ZzPvt7bvV0PBYT9PBhOevcVPMoNWD1CCKCdJA6a5t5kXac EslGP/3yFN9IaHGNnB+2bM+DUzyryp3/XARYeVePLLafro4tpojt13xUB+EtqUVw sUTScx9TKZBRhF/IHpnnlpfVcDfCMtniw/v8OxqfKYt+Cjbn6EwpIcoiNfvH0+4E sZizPJGPHibKBaE9FOloS9yrbAy5KfH1USlbiTEAjBv2z0gb7uIrpk3qXFkUeFC8 tU1eUtiQC5Iw =OIlE -----END PGP SIGNATURE-----