Bug 15669 - UIApplication::EndBackgroundTask crashes if BeginBackgroundTask was given a timeout handler
Summary: UIApplication::EndBackgroundTask crashes if BeginBackgroundTask was given a t...
Status: RESOLVED DUPLICATE of bug 15506
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 7.0.3.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2013-10-24 16:17 UTC by Jackson Harper
Modified: 2013-10-28 07:11 UTC (History)
3 users (show)

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

test case (12.85 KB, application/zip)
2013-10-24 16:17 UTC, Jackson Harper

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:

Description Jackson Harper 2013-10-24 16:17:36 UTC
Created attachment 5231 [details]
test case

Attached is a test case that explains the issue best. Run the attached project on device as a release build. Click the button in the lower right hand corner and the app will crash.

NOTE: this only happens for me with release builds, not while debugging.

Also note this only happens if the timeout handler is supplied and doesn't matter if it is supplied as a method or anonymous function.

Exact build details:

Version: (Business Edition)
Hash: cea17d0
Build date: 2013-18-10 17:54:48-0400
Comment 1 Sebastien Pouliot 2013-10-24 16:28:52 UTC
This was fixed in a later 7.0.3 build (hopefully available soon).

*** This bug has been marked as a duplicate of bug 15506 ***
Comment 2 Frank A. Krueger 2013-10-24 20:06:38 UTC
I used a build of mono touch that includes 8196dd88344c4b337059081c4be0a3eed0de1535.

It still crashes.
Comment 3 Frank A. Krueger 2013-10-24 23:14:50 UTC
Very sorry, wrong bug comment.

*** This bug has been marked as a duplicate of bug 15506 ***
Comment 4 Jackson Harper 2013-10-27 00:38:49 UTC
Any updates on a release date for this? Unfortunately, 15506 is private.
Comment 5 Rolf Bjarne Kvinge [MSFT] 2013-10-28 07:11:00 UTC
Jackson, this should get released later this week.