Bug 26228 - StackOverflow after reordering tabs in a TabbedPageView
Summary: StackOverflow after reordering tabs in a TabbedPageView
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.1
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-01-21 08:08 UTC by Johan Karlsson
Modified: 2015-02-13 11:32 UTC (History)
7 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Sample project reproducing the issue (195.64 KB, application/zip)
2015-01-21 08:08 UTC, Johan Karlsson
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Johan Karlsson 2015-01-21 08:08:58 UTC
Created attachment 9432 [details]
Sample project reproducing the issue

iOS app crashes with a StackOverflowException.

Internally, Xamarin.Forms.Platform.iOS.TabbedRenderer.UpdateCurrentPage () is called repeatedly until the stack is depleted.

Reprod.

1. Open the attached app
2. Click the More menu
3. Click Edit to reorder 
4. Reorder some items
5. Close reordering
6. App crashes with a StackOverflowException

Originally found by http://forums.xamarin.com/profile/56963/Nico77

I'm just helping out to report the issue.

Have a great day!
Comment 2 Dominic N [MSFT] 2015-01-22 13:38:29 UTC
I've been able to reproduce this with the current 1.3.1 using the test project and the above steps for reproduction.
Comment 3 Danil Kurkin 2015-01-23 07:15:58 UTC
Want to report same issue with re-arranging children of the Tabbed page.
On deleting all and adding new one's gives  StackOverflowException.
Comment 5 Jason Smith [MSFT] 2015-02-13 11:32:37 UTC
This is fixed in 1.3.4