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

demo crash #39

Open
icridescentdh opened this issue Sep 16, 2019 · 4 comments
Open

demo crash #39

icridescentdh opened this issue Sep 16, 2019 · 4 comments

Comments

@icridescentdh
Copy link

image

可以看下这里闪退是什么原因么 第一个demo点击运行demo 然后check内存泄漏 实在不知道怎么改 哭唧唧

@jseanj
Copy link

jseanj commented Sep 18, 2019

野指针导致的crash,我大概是这样改的
屏幕快照 2019-09-18 下午6 50 16

@zenithgf
Copy link

@jseanj 请问你 qleak_ptrs_hashmap->nextAfterRemovePtr(current->address,NULL,NULL); 是如何实现的呢, CPtrsHashmap *qleak_ptrs_hashmap 里并没有这个方法

@jseanj
Copy link

jseanj commented Dec 16, 2019

@jseanj 请问你 qleak_ptrs_hashmap->nextAfterRemovePtr(current->address,NULL,NULL); 是如何实现的呢, CPtrsHashmap *qleak_ptrs_hashmap 里并没有这个方法

截屏2019-12-16下午6 46 37

@bigParis
Copy link

@jseanj 请问你 qleak_ptrs_hashmap->nextAfterRemovePtr(current->address,NULL,NULL); 是如何实现的呢, CPtrsHashmap *qleak_ptrs_hashmap 里并没有这个方法

截屏2019-12-16下午6 46 37

不行的,这样改会有更大的问题 Double free of object

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