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

Crash in EVReflection 5.10.0 and IOS13 #311

Open
RameshBachiraju opened this issue Sep 26, 2019 · 2 comments
Open

Crash in EVReflection 5.10.0 and IOS13 #311

RameshBachiraju opened this issue Sep 26, 2019 · 2 comments

Comments

@RameshBachiraju
Copy link

We are facing significant crashes with EVReflection and Ios13. Please find the crashlog

0 libdyld.dylib 0x1968d4684 dyld3::closure::ObjCStringTable::hash(char const*, unsigned long) const + 16
1 libdyld.dylib 0x1968d4c98 dyld3::closure::ObjCStringTable::getIndex(char const*) const + 52
2 libdyld.dylib 0x1968d4b18 dyld3::closure::ObjCClassOpt::forEachClass(char const*, dyld3::Array<std::__1::pair<unsigned long, unsigned long> > const&, void (void*, bool, bool*) block_pointer) const + 52
3 libdyld.dylib 0x1968e14c4 dyld3::AllImages::forEachObjCClass(char const*, void (void*, bool, bool*) block_pointer) const + 132
4 libobjc.A.dylib 0x196813c38 getPreoptimizedClass + 148
5 libobjc.A.dylib 0x1967fe8d8 getClassExceptSomeSwift(char const*) + 20
6 libobjc.A.dylib 0x1967ff784 look_up_class + 100
7 Foundation 0x196e912ec NSClassFromString + 200
8 EVReflection 0x10b5c280c specialized static EVReflection.swiftClassTypeFromString(_:) + 645 (EVReflection.swift:645)
9 EVReflection 0x10b5c2d50 specialized static EVReflection.getTypeFor(anyObject:key:type:item:) ()

This has never happened on ios12

Regards
Ramesh

@evermeer
Copy link
Owner

I tried 2 apps that use EVReflection on iOS 13.1 and did not get any crashes.
Does your app also crash when debugging the app or is it only runtime?

@RameshBachiraju
Copy link
Author

Crashes only in runtime.
one more similar crash

0 libdyld.dylib 0x1968d4684 dyld3::closure::ObjCStringTable::hash(char const*, unsigned long) const + 16
1 libdyld.dylib 0x1968d4c98 dyld3::closure::ObjCStringTable::getIndex(char const*) const + 52
2 libdyld.dylib 0x1968d4b18 dyld3::closure::ObjCClassOpt::forEachClass(char const*, dyld3::Array<std::__1::pair<unsigned long, unsigned long> > const&, void (void*, bool, bool*) block_pointer) const + 52
3 libdyld.dylib 0x1968e14c4 dyld3::AllImages::forEachObjCClass(char const*, void (void*, bool, bool*) block_pointer) const + 132
4 libobjc.A.dylib 0x196813c38 getPreoptimizedClass + 148
5 libobjc.A.dylib 0x1967fe8d8 getClassExceptSomeSwift(char const*) + 20
6 libobjc.A.dylib 0x1967ff784 look_up_class + 100
7 Foundation 0x196e912ec NSClassFromString + 200
8 EVReflection 0x10b5c280c specialized static EVReflection.swiftClassTypeFromString(:) + 645 (EVReflection.swift:645)
9 EVReflection 0x10b5c2d50 specialized static EVReflection.getTypeFor(anyObject:key:type:item:) ()
10 EVReflection 0x10b5c648c specialized static EVReflection.dictArrayToObjectArray(
🔑type:array:conversionOptions:) ()
11 EVReflection 0x10b5b0628 static EVReflection.dictionaryAndArrayConversion(🔑fieldType:original:theDictValue:conversionOptions:) ()
12 EVReflection 0x10b5a9d14 specialized static EVReflection.setPropertiesfromDictionary(
:anyObject:conversionOptions:forKeyPath:) + 78 (EVReflection.swift:78)
13 EVReflection 0x10b5c5ad0 specialized static EVReflection.dictToObject(:original:dict:conversionOptions:) + 1299 (EVReflection.swift:1299)
14 EVReflection 0x10b5b074c static EVReflection.dictionaryAndArrayConversion(
🔑fieldType:original:theDictValue:conversionOptions:) + 1252 (EVReflection.swift:1252)
15 EVReflection 0x10b5aaed0 static EVReflection.setPropertiesfromDictionary(_:anyObject:conversionOptions:forKeyPath:) + 78 (EVReflection.swift:78)
16 EVReflection 0x10b5a65e8 EVReflectable<>.init(json:conversionOptions:forKeyPath:) ()

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