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

发生较难排查的偶现奔溃时,awtk有提供什么好的排查方式吗 #863

Open
hctttttt opened this issue Dec 5, 2023 · 6 comments

Comments

@hctttttt
Copy link

hctttttt commented Dec 5, 2023

发生较难排查的偶现奔溃时,awtk有提供什么好的排查方式吗

@xianjimli
Copy link
Member

先用valgrind查一下。

@Tracker647
Copy link

windows下呢

@xianjimli
Copy link
Member

我没好办法。

@Sokyx
Copy link

Sokyx commented Aug 21, 2024

可以试试asan,我用的是cl.exe编译,scons脚本,链接如下:CFLAGS = CFLAGS + ' /fsanitize=address ' + ' /Zi ',LINKFLAGS = LINKFLAGS + ' /DEBUG '。有了这两个就可以了。

asan在安装VS的时候可以选择加上这个选项,如果你电脑没有asan的话,试试我已经装好的x64版本的lib和dll,编译的时候链接上就行
Uploading asan-lib.rar…

@Tracker647
Copy link

可以试试asan,我用的是cl.exe编译,scons脚本,链接如下:CFLAGS = CFLAGS + ' /fsanitize=address ' + ' /Zi ',LINKFLAGS = LINKFLAGS + ' /DEBUG '。有了这两个就可以了。

asan在安装VS的时候可以选择加上这个选项,如果你电脑没有asan的话,试试我已经装好的x64版本的lib和dll,编译的时候链接上就行 Uploading asan-lib.rar…

链接没放好。
另外项目原因,只能用mingw,可以编译吗?

@Sokyx
Copy link

Sokyx commented Aug 25, 2024

应该可以吧,windows下的dll都是共用的
asan.tgz

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

4 participants