Bug 24672 - Debugging hangs on Virtual Box based Simulators
Summary: Debugging hangs on Virtual Box based Simulators
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 4.20.0
Hardware: Macintosh Mac OS
: Highest blocker
Target Milestone: 4.20
Assignee: Zoltan Varga
Depends on:
Reported: 2014-11-19 13:35 UTC by David Hathaway
Modified: 2014-11-20 11:40 UTC (History)
3 users (show)

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

Version information (1.43 KB, text/plain)
2014-11-19 13:35 UTC, David Hathaway

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 David Hathaway 2014-11-19 13:35:46 UTC
Created attachment 8806 [details]
Version information

Debugging on simulators that use Virtual Box (i.e. Xamarin Android Player, and Genymotion) hangs when the debugger tries to connect.  The app is properly installed on the device, and runs (i.e. after I disconnect from the debugger, I can browse to the app and launch it).

Steps to Reproduce:

1. Download and install either the Xamarin.Android player or Genymotion
2. Download an Android 4.4.x image
3. Download the Xamarin Field Service app (http://github.com/xamarin/prebuilt-apps), and open it in Xamarin Studio
4. Set FieldService.Android app as the startup app, and select your Android simulator to debug

Expected behavior: App starts and debugger connects

Observed behavior:  App starts, but hangs.  Debugger never connects.  Application output contains the following:

Forwarding debugger port 8885
Detecting existing process
[monodroid-debug] Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=,server=y,embedding=1
[Mono] Image addref mscorlib[0xb79e4310] -> mscorlib.dll[0xb79f6fb8]: 1
[Mono] AOT module 'mscorlib.dll.so' not found: dlopen failed: library "/data/data/FieldService.Android/lib/mscorlib.dll.so" not found
[Mono] Assembly mscorlib[0xb79e4310] added to domain RootDomain, ref_count=1
Comment 4 Peter Collins 2014-11-20 09:47:52 UTC
Verified on an x86 Google emulator, XAP, genymotion, and physical lollipop hardware.

@Saurabh I know there are issues with fastdev and emulators that do not have an sd card, please try to disable fastdev and deploy again.
Comment 5 Peter Collins 2014-11-20 11:40:02 UTC
Looks like comment 3 was refiled as bug #24696, flagging as VERIFIED.