manski's blog

Bug of the Day: Fast Deployment

Today, I’ve been hunting down a bug in Mono for Android (4.4.55). This bug flooded the Android log with this entry (thousands of times):

02-04 17:09:32.010: W/(4300): Bad call to mono_mutex_lock result 11
02-04 17:09:32.010: A/(4300): * Assertion at /Users/builder/data/lanes/monodroid-mac-monodroid-4.4-series/6418373f/source/mono/mono/metadata/loader.c:2181, condition `ret == 0' not met

This flood of log messages made the whole deployment process very slow (54 seconds to deploy a fresh project).

As workaround I found that disabling Use Fast Deployment in the project settings “solved” the problem for me.

I’m still waiting for an answer from Xamarin on this issue. Update: This problem is tracked here.

2 comments

  1. Jonathan Pryor said:

    I’m still waiting for an answer from Xamarin on this issue.

    Out of curiosity, where did you ask? I don’t recall seeing anything on forums.xamarin.com regarding this issue.

    Also, are you deploying to the emulator or hardware? I haven’t seen deployment on hardware Jelly Bean devices, certainly not 54 seconds worth (unless the shared runtime and company needs installation, but that’s only on the first install to the device, not per-project).

    • Sebastian Krysmanski (post author) replied:

      I’ve sent a couple of emails to your support email address (Bryan). The 54 seconds don’t include shared runtime installation, as it was installed already.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.