Bug 53193 - Silent crash on low-memory systems
Summary: Silent crash on low-memory systems
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 7.1 (C9)
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Marek Habersack
Depends on:
Reported: 2017-03-09 15:00 UTC by anton.duzenko@gmail.com
Modified: 2017-06-29 10:02 UTC (History)
2 users (show)

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

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 anton.duzenko@gmail.com 2017-03-09 15:00:44 UTC
I have a Xamarin.Forms app that calls a camera intent at some point.
It's more or less ok a on a device with 2GB of RAM but there is a problem on a 512MB emulator.
Basically when I run the camera intent then the intent starts but the app is killed quietly w/o any exceptions, etc.
If I try to run the app when the camera preview is running the app stops immediately at startup.

Typical debug output is this:
InspectorDebugSession(26): StateChange: Start -> EntryPointBreakpointRegistered
InspectorDebugSession(26): Constructed
Android application is debugging.
Couldn't connect to logcat, GetProcessId returned: 0
InspectorDebugSession(26): HandleTargetEvent: TargetExited
InspectorDebugSession(26): Disposed
Comment 1 Marek Habersack 2017-03-09 20:43:58 UTC
Does the issue happen only when you're debugging the app? Would you be able to provide a simple repro that triggers the issue?
Comment 2 Adam Hartley [MSFT] 2017-06-29 10:02:33 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!