problem with foreground state

Hi,

I am currently developing an app with async http requests to a server which provides some information to the user. The app is stable when the user is having it in the foreground but after they navigate to the home screen and return to the app it will crash. This seems only to happen on one of the view controllers (i have tested all the others and they did not crash at any circumstance).

The view controller is requesting an array of an object with some data in it and also images connected to each object. The objects are presented in a scroll view and it also looks for location updates and updates the app badge at some points.

I do not get any information from Xamarin regarding this crash and when i am looking at the application output this is all i get:

2015-10-28 23:06:00.442 PricetagiOS[1335:580559] critical: Stacktrace:

2015-10-28 23:06:00.443 PricetagiOS[1335:580559] critical: at <0xffffffff>
2015-10-28 23:06:00.443 PricetagiOS[1335:580559] critical: at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0xffffffff>
2015-10-28 23:06:00.443 PricetagiOS[1335:580559] critical: at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Users/builder/data/lanes/2077/1d27ac2c/source/maccore/src/UIKit/UIApplication.cs:74
2015-10-28 23:06:00.444 PricetagiOS[1335:580559] critical: at UIKit.UIApplication.Main (string[],string,string) [0x0001c] in /Users/builder/data/lanes/2077/1d27ac2c/source/maccore/src/UIKit/UIApplication.cs:57
2015-10-28 23:06:00.450 PricetagiOS[1335:580559] critical: at Pricetag.iOS.Application.Main (string[]) [0x00008] in /Users/rasmus/Desktop/Pricetag/Pricetag/Pricetag.iOS/Main.cs:20
2015-10-28 23:06:00.450 PricetagiOS[1335:580559] critical: at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
2015-10-28 23:06:00.451 PricetagiOS[1335:580559] critical:
Native stacktrace:

2015-10-28 23:06:00.540 PricetagiOS[1335:580559] critical: 0 PricetagiOS 0x0000000100d49e4c mono_handle_native_sigsegv + 260
2015-10-28 23:06:00.540 PricetagiOS[1335:580559] critical: 1 PricetagiOS 0x0000000100d541a0 mono_sigsegv_signal_handler + 328
2015-10-28 23:06:00.541 PricetagiOS[1335:580559] critical: 2 libsystem_platform.dylib 0x0000000199b5d94c _sigtramp + 68
2015-10-28 23:06:00.541 PricetagiOS[1335:580559] critical: 3 CoreGraphics 0x00000001847ee138 CGImageBlockRelease + 40
2015-10-28 23:06:00.541 PricetagiOS[1335:580559] critical: 4 CoreGraphics 0x00000001847ee08c CGImageBlockSetRelease + 84
2015-10-28 23:06:00.541 PricetagiOS[1335:580559] critical: 5 QuartzCore 0x0000000189333408 + 2460
2015-10-28 23:06:00.541 PricetagiOS[1335:580559] critical: 6 QuartzCore 0x0000000189331f18 + 372
2015-10-28 23:06:00.542 PricetagiOS[1335:580559] critical: 7 QuartzCore 0x000000018930af2c + 484
2015-10-28 23:06:00.542 PricetagiOS[1335:580559] critical: 8 QuartzCore 0x000000018930ac80 + 108
2015-10-28 23:06:00.542 PricetagiOS[1335:580559] critical: 9 QuartzCore 0x00000001893079f8 + 392
2015-10-28 23:06:00.543 PricetagiOS[1335:580559] critical: 10 QuartzCore 0x0000000189307988 + 280
2015-10-28 23:06:00.543 PricetagiOS[1335:580559] critical: 11 QuartzCore 0x0000000189307988 + 280
2015-10-28 23:06:00.543 PricetagiOS[1335:580559] critical: 12 QuartzCore 0x0000000189307988 + 280
2015-10-28 23:06:00.543 PricetagiOS[1335:580559] critical: 13 QuartzCore 0x0000000189307988 + 280
2015-10-28 23:06:00.543 PricetagiOS[1335:580559] critical: 14 QuartzCore 0x0000000189307988 + 280
2015-10-28 23:06:00.543 PricetagiOS[1335:580559] critical: 15 QuartzCore 0x0000000189307988 + 280
2015-10-28 23:06:00.543 PricetagiOS[1335:580559] critical: 16 QuartzCore 0x0000000189307988 + 280
2015-10-28 23:06:00.543 PricetagiOS[1335:580559] critical: 17 QuartzCore 0x0000000189307988 + 280
2015-10-28 23:06:00.544 PricetagiOS[1335:580559] critical: 18 QuartzCore 0x0000000189307988 + 280
2015-10-28 23:06:00.544 PricetagiOS[1335:580559] critical: 19 QuartzCore 0x0000000189307988 + 280
2015-10-28 23:06:00.544 PricetagiOS[1335:580559] critical: 20 QuartzCore 0x0000000189307988 + 280
2015-10-28 23:06:00.544 PricetagiOS[1335:580559] critical: 21 QuartzCore 0x00000001893050f8 + 1332
2015-10-28 23:06:00.544 PricetagiOS[1335:580559] critical: 22 QuartzCore 0x0000000189304a08 + 512
2015-10-28 23:06:00.545 PricetagiOS[1335:580559] critical: 23 UIKit 0x0000000189d932c4 + 236
2015-10-28 23:06:00.545 PricetagiOS[1335:580559] critical: 24 UIKit 0x0000000189d93110 + 32
2015-10-28 23:06:00.545 PricetagiOS[1335:580559] critical: 25 UIKit 0x0000000189dccbb0 + 1140
2015-10-28 23:06:00.546 PricetagiOS[1335:580559] critical: 26 UIKit 0x0000000189dcc4c4 + 448
2015-10-28 23:06:00.546 PricetagiOS[1335:580559] critical: 27 UIKit 0x0000000189db6f14 + 152
2015-10-28 23:06:00.546 PricetagiOS[1335:580559] critical: 28 UIKit 0x0000000189db6b9c + 708
2015-10-28 23:06:00.547 PricetagiOS[1335:580559] critical: 29 FrontBoardServices 0x000000018e39b7c4 + 184
2015-10-28 23:06:00.547 PricetagiOS[1335:580559] critical: 30 FrontBoardServices 0x000000018e39bb44 + 56
2015-10-28 23:06:00.547 PricetagiOS[1335:580559] critical: 31 CoreFoundation 0x0000000184534544 + 24
2015-10-28 23:06:00.547 PricetagiOS[1335:580559] critical: 32 CoreFoundation 0x0000000184533fd8 + 540
2015-10-28 23:06:00.547 PricetagiOS[1335:580559] critical: 33 CoreFoundation 0x0000000184531cd8 + 724
2015-10-28 23:06:00.547 PricetagiOS[1335:580559] critical: 34 CoreFoundation 0x0000000184460ca0 CFRunLoopRunSpecific + 384
2015-10-28 23:06:00.547 PricetagiOS[1335:580559] critical: 35 GraphicsServices 0x000000018f69c088 GSEventRunModal + 180
2015-10-28 23:06:00.548 PricetagiOS[1335:580559] critical: 36 UIKit 0x0000000189b78ffc UIApplicationMain + 204
2015-10-28 23:06:00.548 PricetagiOS[1335:580559] critical: 37 PricetagiOS 0x000000010015eaac wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 348
2015-10-28 23:06:00.548 PricetagiOS[1335:580559] critical: 38 PricetagiOS 0x000000010010de8c UIKit_UIApplication_Main_string___intptr_intptr + 44
2015-10-28 23:06:00.548 PricetagiOS[1335:580559] critical: 39 PricetagiOS 0x000000010010de4c UIKit_UIApplication_Main_string___string_string + 172
2015-10-28 23:06:00.548 PricetagiOS[1335:580559] critical: 40 PricetagiOS 0x000000010005011c Pricetag_iOS_Application_Main_string__ + 156
2015-10-28 23:06:00.548 PricetagiOS[1335:580559] critical: 41 PricetagiOS 0x000000010034ed84 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
2015-10-28 23:06:00.548 PricetagiOS[1335:580559] critical: 42 PricetagiOS 0x0000000100d56478 mono_jit_runtime_invoke + 1264
2015-10-28 23:06:00.548 PricetagiOS[1335:580559] critical: 43 PricetagiOS 0x0000000100da98dc mono_runtime_invoke + 124
2015-10-28 23:06:00.549 PricetagiOS[1335:580559] critical: 44 PricetagiOS 0x0000000100dadc5c mono_runtime_exec_main + 400
2015-10-28 23:06:00.551 PricetagiOS[1335:580559] critical: 45 PricetagiOS 0x0000000100e291fc xamarin_main + 1840
2015-10-28 23:06:00.551 PricetagiOS[1335:580559] critical: 46 PricetagiOS 0x0000000100ca17d8 main + 96
2015-10-28 23:06:00.551 PricetagiOS[1335:580559] critical: 47 libdyld.dylib 0x000000019997e8b8 + 4

2015-10-28 23:06:00.551 PricetagiOS[1335:580559] critical:

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries

used by your application.

Do anyone know what the problem is and if i can locate it in some way?

Regards,
Rasmus

Sign In or Register to comment.