于洋
unread,May 13, 2025, 4:36:19 PMMay 13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium-dev, pb...@chromium.org, tl...@chromium.org, dch...@chromium.org, mattre...@chromium.org, baj...@chromium.org, gabrie...@microsoft.com
Hello~
We are using Chromium M130 code,
When using getGamepads API,
SIGTRAP is received because the code hit NOTREACHED_IN_MIGRATION()
in public\cpp\gamepad_mojom_traits.cc:
// static
device::mojom::GamepadHand
EnumTraits<device::mojom::GamepadHand, device::GamepadHand>::ToMojom(
device::GamepadHand input) {
switch (input) {
case device::GamepadHand::kNone:
return device::mojom::GamepadHand::GamepadHandNone;
case device::GamepadHand::kLeft:
return device::mojom::GamepadHand::GamepadHandLeft;
case device::GamepadHand::kRight:
return device::mojom::GamepadHand::GamepadHandRight;
}
NOTREACHED_IN_MIGRATION(); <===code reached here
return device::mojom::GamepadHand::GamepadHandNone;
}
As we did not called any GamepadHand related functions,
and the ToMojom() function is invoked automatically by the generated code,
could you help to check the reason please?
what operation could cause this issue.
BR,
Yu Yang.