TuyaInc / tuyasmart_home_ios_sdk

Tuya Smart iOS Home SDK
https://tuyainc.github.io/tuyasmart_home_ios_sdk_doc
50 stars 19 forks source link

Crash in runtime #73

Open aakazinetsbr opened 3 years ago

aakazinetsbr commented 3 years ago

Hello

I get following crash in runtime after doing nothing, it happens on its own. Why may it happen ?

    0   CoreFoundation                      0x00007fff2041daf2 __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007fff20177e78 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff2042c6f7 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
    3   CoreFoundation                      0x00007fff20422032 ___forwarding___ + 1489
    4   CoreFoundation                      0x00007fff20424068 _CF_forwarding_prep_0 + 120
    5   Companion                           0x000000010c817544 __62+[TYDpFilterService filter:devId:schemaArray:isPublish:error:]_block_invoke + 452
    6   CoreFoundation                      0x00007fff203779d3 __NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__ + 7
    7   CoreFoundation                      0x00007fff2033ea2b -[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:] + 172
    8   Companion                           0x000000010c816dee +[TYDpFilterService filter:devId:schemaArray:isPublish:error:] + 222
    9   Companion                           0x000000010c7a9c55 -[TuyaSmartDeviceModel modelCustomTransformFromDictionary:] + 2725
    10  YYModel                             0x000000010fcc3501 -[NSObject(YYModel) yy_modelSetWithDictionary:] + 559
    11  YYModel                             0x000000010fcc3210 +[NSObject(YYModel) yy_modelWithDictionary:] + 241
    12  YYModel                             0x000000010fcc76a1 +[NSArray(YYModel) yy_modelArrayWithClass:array:] + 385
    13  YYModel                             0x000000010fcc74e3 +[NSArray(YYModel) yy_modelArrayWithClass:json:] + 399
    14  Companion                           0x000000010b3eb0d5 __56-[TYHomeService loadHomeDataWithHomeId:success:failure:]_block_invoke_2 + 1896
    15  libdispatch.dylib                   0x0000000110c7a7ec _dispatch_call_block_and_release + 12
    16  libdispatch.dylib                   0x0000000110c7b9c8 _dispatch_client_callout + 8
    17  libdispatch.dylib                   0x0000000110c7de46 _dispatch_queue_override_invoke + 1032
    18  libdispatch.dylib                   0x0000000110c8d508 _dispatch_root_queue_drain + 351
    19  libdispatch.dylib                   0x0000000110c8de6d _dispatch_worker_thread2 + 135
    20  libsystem_pthread.dylib             0x00007fff5e7399f7 _pthread_wqthread + 220
    21  libsystem_pthread.dylib             0x00007fff5e738b77 start_wqthread + 15
)