Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

死机问题 #14

Open
Thawnoy opened this issue Jul 11, 2022 · 3 comments
Open

死机问题 #14

Thawnoy opened this issue Jul 11, 2022 · 3 comments

Comments

@Thawnoy
Copy link

Thawnoy commented Jul 11, 2022

从主页面进入到菜单正常,但是从菜单进入其他页面会卡死在Setup

@FASTSHIFT
Copy link
Owner

FASTSHIFT commented Jul 11, 2022

改代码或工程配置了?具体停在哪一行?
如果重新建工程要把默认stack size调大。

@Thawnoy
Copy link
Author

Thawnoy commented Jul 12, 2022

你好,感谢回复,自己写的UI,并不是堆栈大小的问题,而是因为某些页面的特定控件的语句导致的死机,删掉就正常了,这是什么原因呢

@FASTSHIFT
Copy link
Owner

FASTSHIFT commented Jul 12, 2022

这种问题一般就是内存访问越界或者空指针什么的,可以用cmbacktrace分析一下。还是建议把UI开发调试工作转移到PC模拟器,配合ASAN等工具抓内存问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants