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

在iOS 13.5.1系统下,SDK本身出现crash问题 #879

Open
wxyawang opened this issue Jan 19, 2024 · 0 comments
Open

在iOS 13.5.1系统下,SDK本身出现crash问题 #879

wxyawang opened this issue Jan 19, 2024 · 0 comments

Comments

@wxyawang
Copy link

crash 在调用实例中的该crash类型,SDK本身会出现crash,如上截图所示 - (void) useCorruptObject { // From http://landonf.bikemonkey.org/2011/09/14
// Random data
void* pointers[] = {NULL, NULL, NULL};
void* randomData[] = {
    (void*)"a",
    (void*)"b",
    (void*)pointers,
    (void*)"d",
    (void*)"e",
    (void*)"f"};

// A corrupted/under-retained/re-used piece of memory
struct {void* isa;} corruptObj = {randomData};

// Message an invalid/corrupt object.
// This will deadlock if called in a crash handler.
[(__bridge id)&corruptObj class];

}

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

1 participant