Bug 1234 - Fatal error occurred when user tries to change the audio streaming URL and Error occurred when user build the same application on the iPhone device.
Summary: Fatal error occurred when user tries to change the audio streaming URL and Er...
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 4.9.xx
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2011-10-04 11:21 UTC by Jatin
Modified: 2014-09-01 01:24 UTC (History)
5 users (show)

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

Image for the bug (182.32 KB, image/jpeg)
2011-10-04 11:21 UTC, Jatin
Image for the bug (159.56 KB, image/jpeg)
2011-10-04 11:22 UTC, Jatin

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 Jatin 2011-10-04 11:21:13 UTC
Created attachment 582 [details]
Image for the bug

Steps to reproduce:
1. Download all applications from http://github.com/xamarin/monotouch-samples location.
2. Launch the MonoDevelop.
3. Click on "Open an existing solution" link. 
4. Select  "StreamingAudio" application.
5. Click on Open button.
6. Select Debug|iPhone Simulator.
7. Select Build>>Build<Project name>.
8. Select RUN>>iPhone/iPad Simulator.
9. Click on URL and enter new URL.
10. See fatal error occurred.
11. Select Debug|iPhone.
11. Select Build>>Build<Project name>.
Actual result:
Fatal error is occurred and application gets closed when user tries to change the URL.Refer the attached screenshot.
Error is occurred when user build the application in Debug|iPhone mode.Refer the attached screenshot.

Expected result:
Fatal error should not occurred.

MonoDevelop 2.8
MonoTouch 4.9.6
MonoFramework 2.10.5
VM: Parallels desktop
OS: Lion 10.7
Comment 1 Jatin 2011-10-04 11:22:17 UTC
Created attachment 583 [details]
Image for the bug
Comment 2 Jeffrey Stedfast 2011-10-04 12:50:59 UTC
I can reproduce this crash if I set the url to "http://www.google.com", but I guess that makes sense since the stream wouldn't be an mp3 stream.

I don't have any mp3 urls handy so I can't test if it works with other mp3 stream urls, but it doesn't crash for me using the default mp3 stream url.
Comment 3 Alex Rønne Petersen 2011-10-04 13:13:19 UTC
Seems to be working when you point it at an actual MP3 stream. Do we want to add some sort of error handling?
Comment 4 Rolf Bjarne Kvinge [MSFT] 2011-10-04 18:13:19 UTC
Sample code that crashes is bad... I think we should have some sort of error handling.
Comment 5 Rolf Bjarne Kvinge [MSFT] 2012-04-04 10:00:29 UTC
The sample doesn't crash anymore with iOS 5.1.