Mihawk
cdc2b0716c
curl for the PS5: mbedTLS built thread-safe (the WebUI daemon crashed)
...
The daemon died at start on the console (SIGSEGV, fault address 0) and never came up:
the backtrace (klog, symbolized against build/webui-daemon/ps5-retroarch-webui.elf)
runs from a scraper worker's download through curl_easy_perform into
mbedtls_ssl_write_client_hello -> mbedtls_ctr_drbg_random_with_add ->
mbedtls_entropy_func -> mbedtls_sha512_update. curl 8.22 shares one CTR-DRBG (prediction
resistance on) among all its connections and relies on mbedTLS's own locks for it; our
mbedTLS 3.6.7 was built without them. With 32 workers (a034b6e ) starting handshakes
together the shared generator was torn; the job resumed by itself at every start, so
every start crashed.
tools/build-curl.sh now sets MBEDTLS_THREADING_C and MBEDTLS_THREADING_PTHREAD
(scripts/config.py) before building mbedTLS. Why a flag in a shared script: curl's
mbedTLS backend requires it whenever handles run on several threads; the ES-DE build
that links this curl gains the same locks.
Evidence: libmbedcrypto.a's ctr_drbg.o now calls mbedtls_mutex_lock (pthread mutexes in
threading.o); the daemon's mbedtls_ctr_drbg_random calls the lock before and after its
work (objdump). tools/verify.sh: PASS (format unit build integration evidence). The
console run follows the deploy.
2026-10-07 16:04:38 -04:00
..
2026-09-19 11:30:05 -04:00
2026-10-07 10:45:24 -04:00
2026-09-19 02:41:52 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
2026-10-05 14:00:05 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
2026-10-05 14:00:05 -04:00
2026-10-05 14:00:05 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
2026-10-07 16:04:38 -04:00
2026-10-05 14:00:05 -04:00
2026-09-25 09:24:54 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
2026-10-04 16:31:50 -04:00
2026-09-23 19:36:17 -04:00
2026-09-23 19:36:17 -04:00
2026-10-06 23:40:55 -04:00
2026-09-28 21:30:19 -04:00
2026-10-06 21:16:01 -04:00
2026-10-04 15:17:20 -04:00
2026-10-07 07:41:51 -04:00
2026-09-23 19:36:17 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
2026-10-04 15:17:20 -04:00
2026-10-04 15:17:20 -04:00
2026-09-28 21:30:19 -04:00
2026-10-04 16:31:50 -04:00
2026-10-05 14:00:05 -04:00
2026-10-05 14:00:05 -04:00
2026-09-18 22:50:12 -04:00
2026-09-23 19:36:17 -04:00
2026-10-05 14:00:05 -04:00
2026-10-06 23:09:36 -04:00
2026-10-06 23:09:36 -04:00
2026-10-07 07:41:51 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
2026-09-25 09:24:54 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
2026-10-06 23:09:36 -04:00
2026-10-04 15:17:20 -04:00
2026-09-19 20:25:47 -04:00
2026-10-06 23:09:36 -04:00
2026-09-23 19:36:17 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
2026-10-07 10:45:24 -04:00
2026-10-05 14:00:05 -04:00
Thirteen cores: 32X, PC Engine, PC-FX, Virtual Boy, Neo Geo Pocket, WonderSwan, Pokemon Mini, Lynx, Jaguar, 2600, 5200, 7800, MS-DOS
2026-10-06 22:11:05 -04:00
2026-10-07 12:02:10 -04:00
2026-10-02 11:07:52 -04:00
2026-10-02 19:06:46 -04:00
2026-10-04 19:36:09 -04:00
2026-09-28 21:30:19 -04:00
2026-09-19 13:22:39 -04:00
2026-09-18 13:50:22 -04:00
2026-09-19 14:05:29 -04:00
2026-09-19 19:19:32 -04:00
2026-10-04 23:20:37 -04:00
2026-09-18 13:56:02 -04:00
2026-09-28 15:06:47 -04:00
2026-09-28 21:51:54 -04:00
2026-09-26 01:02:30 -04:00
2026-10-04 15:05:48 -04:00
2026-09-18 13:50:22 -04:00
2026-09-18 13:50:22 -04:00
2026-10-04 17:09:50 -04:00
2026-10-04 16:31:50 -04:00
2026-09-18 14:37:57 -04:00
2026-09-18 14:37:57 -04:00
2026-10-02 13:06:01 -04:00
2026-09-28 21:30:19 -04:00
2026-09-18 13:50:22 -04:00
2026-09-18 13:50:22 -04:00
2026-10-07 07:41:51 -04:00
2026-10-07 12:02:10 -04:00
2026-09-18 13:50:22 -04:00
2026-10-01 09:26:26 -04:00
2026-09-18 13:50:22 -04:00
2026-09-18 13:50:22 -04:00
2026-09-19 19:19:32 -04:00
2026-10-02 15:58:41 -04:00
2026-09-18 13:50:22 -04:00
2026-09-18 13:50:22 -04:00
2026-10-02 15:58:41 -04:00
2026-10-02 15:58:41 -04:00
2026-09-18 13:50:22 -04:00
2026-09-26 01:02:30 -04:00
2026-10-07 11:17:57 -04:00
2026-09-18 13:50:22 -04:00
2026-09-18 13:50:22 -04:00
2026-09-18 13:50:22 -04:00
2026-10-05 14:00:05 -04:00
2026-09-18 13:50:22 -04:00
2026-09-18 13:50:22 -04:00
2026-09-18 13:50:22 -04:00
2026-10-05 00:16:33 -04:00
2026-10-04 23:20:37 -04:00
2026-09-18 23:33:17 -04:00
2026-09-18 13:50:22 -04:00
2026-10-07 10:45:23 -04:00
2026-10-02 15:58:41 -04:00