objc-TimesSquare icon indicating copy to clipboard operation
objc-TimesSquare copied to clipboard

iPhone IOS 6 crash : TSQCalendarView.m line 162 -[TSQCalendarView scrollToDate:animated:]

Open aokudan opened this issue 12 years ago • 1 comments

screen shot 2013-12-06 at 17 26 08

aokudan avatar Dec 06 '13 15:12 aokudan

I know this is an old issue, but I'm still seeing this problem randomly. It's pretty hard to reproduce, I wasn't able to, I can only get this information from crash logs.

All these crashes happens in the TSQCalendarView.m

Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x000000555245500c

UIKit   
-[UITableViewRowData numberOfRowsInSection:] + 68   
-[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:] + 484
-[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:] + 484
-[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] + 36
Fatal Exception: NSRangeException
-[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:]: section (26) beyond bounds (25).

__exceptionPreprocess + 132
-[NSException initWithCoder:]
-[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:] + 812
-[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] + 36
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x0000000000000008

-[UITableViewRowData numberOfRowsInSection:] + 68
-[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:] + 484
-[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:] + 484
-[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] + 36

Probably the content of the tableview is being deallocated at some point

pbartolome avatar May 22 '15 21:05 pbartolome