Under Review
over 1 year ago

Simulator: assertion failed in menucmn.cpp(308) for some devices

Hello,

Trying to run any app in the simulator (so far tried with:

  • an empty app that is created with a new project in VS Code,
  • samples/Input,
  • samples/MenuTest)

for some devices results in an error window from program "simulator", titled "An assertion failed!" saying:

../src/common/menucmn.cpp(308): assert "wxIsStockID(GetId())" failed in SetItemLabel(): A non-stock menu item with an empty label?

clicking Backtrace shows nothing, and buttons "Stop" and "Continue" are shown. If "Continue" is clicked, we get another similar "assertion failed" window, this time saying:

../src/common/stockitem.cpp(219): assert ""Assert failure"" failed in wxGetStockLabel(): invalid stock item ID.

Clicking "Continue" again results in a simulator only showing the Garmin blue triangle icon. Clicking "Stop" obviously stops the simulation.

I tried this on Ubuntu 20.04.6 LTS using SDK versions 6.2.2 and 4.2.4.

I tried the following devices and it only happens on some of them (indicated with "BUG"):

  • epix2pro51mm BUG
  • fenix7 OK
  • fenix7pro BUG
  • fenix7x BUG
  • fr965 OK
  • venusq2m OK

The devices marked "OK" work fine.

Parents Comment Children
No Data