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

EXC_BAD_ACCESS on AGIPCGridCell.m\layoutSubviews #21

Open
enriquevald opened this issue Aug 5, 2013 · 6 comments
Open

EXC_BAD_ACCESS on AGIPCGridCell.m\layoutSubviews #21

enriquevald opened this issue Aug 5, 2013 · 6 comments

Comments

@enriquevald
Copy link

Hi arturgrigor,

I installed the AGImagesPicker... but I'm getting an error (EXC_BAD_ACCESS) in AGIPCGridCell.m\layoutSubviews in the line:

... for (AGIPCGridItem *gridItem in self.items) ...

Could you help me please?

Thansk

@arturgrigor
Copy link
Owner

Please attach the crash report or paste it here.

@enriquevald
Copy link
Author

Hi,

I'm using the simulator and I can´t get more information of EXC_BAD_ACCESS (code=1...). I have 16 photos in the camera roll (4 by row). I debbug the code and I noted that the layoutSubviews method is called again after I reach to the last row and in this point the error is fired.

I hope to be clear

Best reards

@arturgrigor
Copy link
Owner

Please type 'bt' in the debug console to show you the backtrace and paste it here along with every other info that you can grab, iOS version, which simulator are you using (iPhone/iPad), etc.

@enriquevald
Copy link
Author

Here you are:

(lldb) bt

@enriquevald
Copy link
Author

... and target for Iphone (simulator) IOS 6.1

@enriquevald
Copy link
Author

Another warning that may help: '__bridge' casts have no effect when not using ARC

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