Bug 46041 - SetImageBitmap on ImageView crashes app after garbage collection
Summary: SetImageBitmap on ImageView crashes app after garbage collection
Status: RESOLVED NORESPONSE
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2016-10-27 15:25 UTC by Joonas
Modified: 2017-08-23 20:39 UTC (History)
3 users (show)

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


Attachments
Stacktrace (2.47 KB, text/plain)
2016-10-27 15:25 UTC, Joonas
Details


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:
Status:
RESOLVED NORESPONSE

Description Joonas 2016-10-27 15:25:50 UTC
Created attachment 18251 [details]
Stacktrace

I have a MvxRecyclerView which displays a list of items. When a item is clicked the app navigates to a detail page/activity. The detail page contains some MvxImageView's.

After repeating navigation to the detail page and back to the list page the app just crashes.

After some research I followed a Mac debugging guide from Xamarin. Before I forced GC to collect garbage every second, the app crashes randomly. After forcing garbage collection it appeared to crash almost instantly at first or second navigation to the detail page.
Comment 1 Ashley Gazich [MSFT] 2016-10-31 21:36:17 UTC
Thank you for submitting this report. Please include the following to help us begin investigation:

1. Minimized runnable test case demonstrating the issue
2. Steps to reproduce
3. Full version information
Visual Studio: Help > About Microsoft Visual Studio > Copy Info [button]
Xamarin Studio Windows: Help > About > Show Details > Copy Information [button]

If you have any further information to add, that would be a great way to help with troubleshooting. Additional instructions for how to find logs, build output, debug logs, and simulator or device logs can be found here:

- https://kb.xamarin.com/customer/portal/articles/1675684-how-to-collect-version-information-and-logs#debug-logs-for-xamarin-apps.
- https://developer.xamarin.com/guides/cross-platform/troubleshooting/questions/version-logs/


Thank you,
Xamarin Support
Comment 2 Cody Beyer (MSFT) 2017-08-23 20:39:39 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!