2021-11-15 09:01 PM
I have implemented a screen transition from screen1 to screen2 upon receiving event from Backend in Model class. But it lead to task exit on error.
Snippet to change screen:
application().gotoHomeScreenNoTransition();
What I know so far:
Can someone give me some pointer please.
following is callstack, here GUIUpdaterTask is actually default TouchGFX task, I just renamed it.
[__exit + 0xb]
[_Znwj + 0x1b]
std::_Tree_comp_alloc<std::_Tmap_traits<MenuOverlay::MenuId, ListItem::ItemProps, std::less<MenuOverlay::MenuId>, std::allocator<std::pair<MenuOverlay::MenuId const, ListItem::ItemProps>>, false>>::_Buyheadnode()
std::_Tree_comp_alloc<std::_Tmap_traits<MenuOverlay::MenuId, ListItem::ItemProps, std::less<MenuOverlay::MenuId>, std::allocator<std::pair<MenuOverlay::MenuId const, ListItem::ItemProps>>, false>>::_Construct() ***
std::_Tree<std::_Tmap_traits<MenuOverlay::MenuId, ListItem::ItemProps, std::less<MenuOverlay::MenuId>, std::allocator<std::pair<MenuOverlay::MenuId const, ListItem::ItemProps>>, false>>::_Tree(struct std::less<MenuOverlay::MenuId> const &, class std::allocator<std::pair<MenuOverlay::MenuId const, ListItem::ItemProps>> const &) ***
void std::_Tree<std::_Tmap_traits<MenuOverlay::MenuId, ListItem::ItemProps, std::less<MenuOverlay::MenuId>, std::allocator<std::pair<MenuOverlay::MenuId const, ListItem::ItemProps>>, false>>::insert<std::pair<MenuOverlay::MenuId const, ListItem::ItemProps> const *>(struct std::pair<MenuOverlay::MenuId const, ListItem::ItemProps> const *, struct std::pair<MenuOverlay::MenuId const, ListItem::ItemProps> const *) ***
MenuOverlay::MenuOverlay()
HomeViewBase::HomeViewBase()
HomeView::HomeView()
class HomePresenter * touchgfx::makeTransition<HomeView, HomePresenter, touchgfx::NoTransition, Model>(class touchgfx::Screen * *, class touchgfx::Presenter * *, class touchgfx::MVPHeap &, class touchgfx::Transition * *, class Model *)
FrontendApplicationBase::gotoHomeScreenNoTransitionImpl()
touchgfx::MVPApplication::evaluatePendingScreenTransition() ***
[_ZN8touchgfx3HAL4tickEv + 0x6f]
TouchGFXHAL::taskEntry()
GUIUpdaterTask
prvTaskExitError