Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

why my app throw this error unsupported type encoding spec #24

Closed
xuzhengrong1 opened this issue May 9, 2016 · 4 comments
Closed

why my app throw this error unsupported type encoding spec #24

xuzhengrong1 opened this issue May 9, 2016 · 4 comments

Comments

@xuzhengrong1
Copy link

NSGetSizeAndAlignment(): unsupported type encoding spec 'b' at 'b3' in 'b3'

@christyuj
Copy link

christyuj commented May 12, 2016

I also crash in this method NSGetSizeAndAlignment , the type encoding is 'b1' , i will find the reasons later

i find that it crashed when it is finding retain cycle for struct , in my case , the UIView 's struct _viewFlags cause the crash , i will find some way to filter this struct to avoid this crash

@kastiglione
Copy link
Contributor

kastiglione commented May 12, 2016

Thanks for the report. These errors happen when one of the ivars in an object holds a struct that uses bitfields (the b in these errors). There is work planned to prevent this crash exception from happening.

@Gricha
Copy link

Gricha commented May 12, 2016

This is actually an exception breakpoint. If you turn it off in Xcode it should not show up as crash, as well as it should not appear if you are not attached to lldb.

@xuzhengrong1
Copy link
Author

I turn off the all exception breakpoint,it's ok. thx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants