You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think moka is used at least in op_dns_resolve in deno_net to cache DNS lookup results in memory.
I have received a report from a hickory-resolver user that moka occasionally panics on ThinkPad with AMD mobile Ryzen CPU (moka-rs/moka#472). We already found the root cause (BIOS issue) and it needs to be addressed in one of the dependencies of moka (metrics-rs/quanta#111). Meanwhile, I have added workaround to moka crate in v0.12.9, and confirmed that it fixed the issue on the user.
I do not have such a machine to reproduce the issue, so I do not know whether the same issue happens in Deno v2.1.4 or not. But I think it is worth to upgrade moka to v0.12.9 in Deno to prevent potential panics on such machines.
The text was updated successfully, but these errors were encountered:
I created a PR #27572 to upgrade moka to the latest version (v0.12.10).
tatsuya6502
changed the title
Deno v2.1.4 may occasionally panic when calling Deno.dnsLookup on a machine with an AMD mobile Ryzen CPU. (A workaround is available)
Deno v2.1.4 may occasionally panic when calling Deno.resolveDns on a machine with an AMD mobile Ryzen CPU. (A workaround is available)
Jan 8, 2025
Version: Deno 2.1.4
TL;DR: To workaround, upgrade
moka
crate to v0.12.9 (latest) in yourCargo.lock
file. (Runcargo update -p moka
)Hi, I am the creator of a Rust crate called
moka
cache. I saw Deno v2.1.4 started to usemoka
viahickory-resolver
crate.I think
moka
is used at least inop_dns_resolve
indeno_net
to cache DNS lookup results in memory.I have received a report from a
hickory-resolver
user thatmoka
occasionally panics on ThinkPad with AMD mobile Ryzen CPU (moka-rs/moka#472). We already found the root cause (BIOS issue) and it needs to be addressed in one of the dependencies ofmoka
(metrics-rs/quanta#111). Meanwhile, I have added workaround tomoka
crate in v0.12.9, and confirmed that it fixed the issue on the user.I do not have such a machine to reproduce the issue, so I do not know whether the same issue happens in Deno v2.1.4 or not. But I think it is worth to upgrade
moka
to v0.12.9 in Deno to prevent potential panics on such machines.The text was updated successfully, but these errors were encountered: