Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 3634 [details]
Crash Details and Stack Trace
Note this bug is for Xamarin Studio 4.0.1, however no exact match was in the product list.
I seem to be experiencing something odd with Xamarin Studio 4.0.1. If I click on the "Open Component Store" or "Get More Components" button, Xamarin Studio crashes.
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000144
On my machine, the steps to reproduce are as follows: launch Xamarin Studio, create any iOS based solution; select the "Edit Components..." context menu on the Components folder;click either "Open Component Store" or "Get More Components".
A window pops up, populates with some details of available components, but the icons for the components are missing. Immediately, i get the spinning rainbow disc mouse pointer and the app stop responding. About 3-4 seconds later, the app crashes and asks if I want to report this to Apple. (Crash details / stack trace attached.)
Machine is a Mid 2012 Apple MacBook Pro Retina, 15", 2.7GHz i7 and running OS X 10.8.3.
Xamarin Studio was first installed on this machine today (March 16th 2013). The component store has never been sucessfully accessed from the application.
Could you please attach the contents of the Xamarin Studio log directory? You can find it by clicking Help -> Open Log Directory. Just zip the files up and attach them here. If you could also attach the full contents of the Apple crash reporting dialog that pops up, that would be helpful as well.
Ah, I see you already attached the full Apple stack trace. I still need the Xamarni Studio logs though.
Created attachment 3635 [details]
Xamarin Studio Logs
Hi Bojan, requested logs are include.
You will also see the updater log too, showing I ahd upgraded to the current "beta" releases. I tried the newer beta as well, to see if it "fixed" the problem. However, the behavior followed in the newer beta as well.
I have updated to Xamarin Studio 4.0.2 build 18 via the Stable update channel and confirm the issue has persisted into the latest stable release.
I haven't been able to reproduce this at all, nor do the errors make any sense to me. Robert, can you update to 4.0.3 and see if the problem still persists?
Bojan, problem still exists in 4.0.3.
However, I have noticed that the problem only exists when I am on my primary LAN (which has some web filtering / blocking of adware and malware). The primary LAN uses OpenDNS and some of its filtering features.
If use the same laptop on a mobile WiFi hotspot, I am able to access to the component store. At least now I have a "work-around".
One thing OpenDNS does is if a site is blocked, the user is redirected to a custom block page. I am wondering if there are any ad tracking / analytics that OpenDNS is blocking which the component store is using. Is it possible that OpenDNS's redirect may be causing unexpected results to be passed to Xamarin Studio which it can't parse?
Regardless, Xamarin Studio should not crash due to any content filtering. Worse case, I would expect a pop-up message with an error, and then let me continue using other features. If it fails now, I loose any unsaved changes in my open projects.
Hmm, that's very strange. The issue here is that this is never actually getting back to Xamarin Studio, it's crashing in the Cocoa embedded web browser widget that we're using. It might be related to something we're doing with the widget though, so I'll test with OpenDNS as soon as I can. Thanks for the information—hopefully it'll be helpful.
I have determined a bit more about the exact cause. I am using OpenDNS on this network for filtering of adware/malware, etc. I cleared DNS caches locally and watched what entries populated after attempting to access the component store and noticed "ssl.google-analytics.com" being queried each time I access the component store.
My OpenDNS filters were configured to block google-analytics.com and googleadservices.com. This means that OpenDNS was returning the wrong IP for google-analytics, redirecting it to the IP of a blocked page.
I have instructed OpenDNS to allow google-analytics.com on my network, flushed the DNS caches, and again tried the component store, which now works.
However, I still think that if DNS resolution fails (or returns a fake result), it shouldn't cause Xamarin Studio to quit unexpectedly. If Xamarin dictates that using google-analytics is vital, wouldn't a popup stating that google-analyics couldn't be contacted be preferred??
Easy to reproduce the crash with Mountain Lion.
Modify the Mac's /private/etc/hosts file with the following entries (simulates the response from OpenDNS when a domain is blocked).
220.127.116.11 google-analytics.com ssl.google-analytics.com
Flush the dns cache on the mac with: dscacheutil -flushcache;sudo killall -HUP mDNSResponder
Launch Xamarin Studio and attempt to access the component store. The component store window partially populates then Xamarin Studio unexpectedly quits.
Edit the hosts file and remove the line previously added. Flush the cache again. Now the component store should work correctly.
Thanks for hunting this down! I spent a while trying OpenDNS and never got anywhere, never occurred to me to block some URLs. I'll have a look at fixing the crash ASAP, though from looking at the code using the Mark I Eyeball, I don't see anything very obviously wrong.
I experience the same bug.
I have a direct, standard connexion to the Internet, a clean and fresh install.
For the moment, I use the starter Xamarin for iOS.
4.013 build 38
Mac Mini 2,66ghz Core 2 duo / 8go DDR3
I'd like to purchase the Indie edition, use components, and maybe also build Android apps...
But I'm stuck with this...
Please help : I can reproduce steps, if you like.
( logs attached )
Created attachment 5393 [details]
xamarin studio logs
xamarin studio logs
issue solved in Xamarin Studio 4.2
thanks Andrew :)
Should be fixed in the master branch, but I'm not sure when it will make it to a release next.
Today we have checked this issue with following builds :
XS 4.2.3 (build 24)
We are not getting any crash when we click on "Open Component Store" or "Get More Components". And we are able to add new components in iOS project from component store successfully.
Screencast : http://screencast.com/t/3QzxIP83bzpm
Hence closing this issue.