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

AddressSanitizer 报错 #57

Open
xiaoMing0109 opened this issue Feb 4, 2021 · 1 comment
Open

AddressSanitizer 报错 #57

xiaoMing0109 opened this issue Feb 4, 2021 · 1 comment

Comments

@xiaoMing0109
Copy link

xiaoMing0109 commented Feb 4, 2021

image

thread info -s
thread #1: tid = 0x56556c, 0x00000001067bd74c libclang_rt.asan_ios_dynamic.dylib`__asan::AsanDie(), queue = 'com.apple.main-thread', stop reason = Global buffer overflow

{
  "access_size": 44,
  "access_type": 0,
  "address": 4460594657,
  "description": "global-buffer-overflow",
  "instrumentation_class": "AddressSanitizer",
  "pc": 4403555236,
  "stop_type": "fatal_error"
}
var practiceCountDatas: [[String: Any]] = [["count": 3, "countText": "3题", "isSelected": false],
                                                   ["count": 5, "countText": "5题", "isSelected": false],
                                                   ["count": 10, "countText": "10题", "isSelected": false]]
        var models = modelArray(from: practiceCountDatas, XZPracticeCountModel.self)
private struct XZPracticeCountModel: Convertible {
    var count: Int = 0
    var countText: String?
    var isSelected: Bool = false
}
@wolfcon
Copy link
Contributor

wolfcon commented Sep 16, 2021

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