Xamarin.Android Debugging breaks on unkown

moljacmoljac HRBeta ✭✭✭

Xamarin.Android Debugging breaks on unkown

Error

Alpha channel.

Steps:

  1. set breakpoint A before function call
  2. set breakpoint B in a function call
  3. when breakpoint A hit pres F11 or Step Into
  4. breakpoint B never hit

Android log:

05-28 19:57:02.059 F/        ( 1997): * Assertion at /Users/builder/data/lanes/monodroid-mlion-master/f42f3519/source/mono/mono/mini/mini.c:3700, condition `l' not met
05-28 19:57:02.059 E/mono-rt ( 1997): Stacktrace:
05-28 19:57:02.059 E/mono-rt ( 1997): 
05-28 19:57:02.069 E/mono-rt ( 1997):   at <unknown> <0xffffffff>
05-28 19:57:02.069 E/mono-rt ( 1997):   at HelloWorldApp.Form1.serialize (object,Polenter.Serialization.SharpSerializer,string) [0x0000d] in D:\SRC\libraries-moljac\git[github.com]\MonoVersalSharpSerializer\HelloWorldApp\Form1.XP.Shared.cs:31
05-28 19:57:02.069 E/mono-rt ( 1997):   at HelloWorldApp.Form1.serializeXmlButton_Click (object,System.EventArgs) [0x00013] in D:\SRC\libraries-moljac\git[github.com]\MonoVersalSharpSerializer\HelloWorldApp\Form1.XP.Shared.cs:107
05-28 19:57:02.069 E/mono-rt ( 1997):   at Android.Views.View/IOnClickListenerImplementor.OnClick (Android.Views.View) [0x0000b] in /Users/builder/data/lanes/monodroid-mlion-master/f42f3519/source/monodroid/src/Mono.Android/platforms/android-8/src/generated/Android.Views.View.cs:677
05-28 19:57:02.069 E/mono-rt ( 1997):   at Android.Views.View/IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (intptr,intptr,intptr) [0x00010] in /Users/builder/data/lanes/monodroid-mlion-master/f42f3519/source/monodroid/src/Mono.Android/platforms/android-8/src/generated/Android.Views.View.cs:648
05-28 19:57:02.069 E/mono-rt ( 1997):   at (wrapper dynamic-method) object.5a2a0d90-7000-47f4-9610-18ee66662de1 (intptr,intptr,intptr) <IL 0x00017, 0x0001f>
05-28 19:57:02.069 E/mono-rt ( 1997):   at (wrapper native-to-managed) object.5a2a0d90-7000-47f4-9610-18ee66662de1 (intptr,intptr,intptr) <IL 0x00023, 0xffffffff>
05-28 19:57:02.059 E/mono-rt ( 1997): Stacktrace:05-28 19:57:02.069 E/mono-rt ( 1997): 
05-28 19:57:02.069 E/mono-rt ( 1997): =================================================================
05-28 19:57:02.069 E/mono-rt ( 1997): Got a SIGSEGV while executing native code. This usually indicates
05-28 19:57:02.069 E/mono-rt ( 1997): a fatal error in the mono runtime or one of the native libraries 
05-28 19:57:02.069 E/mono-rt ( 1997): used by your application.
05-28 19:57:02.069 E/mono-rt ( 1997): =================================================================

Environment

Windows + Visual Studio 2010:

Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.5.50709 SP1Rel

Xamarin.Android   4.7.05184 (f42f3519)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   1.1.200 (7d63692c)
Visual Studio extension to enable development for Xamarin.iOS

Posts

  • moljacmoljac HRBeta ✭✭✭
  • moljacmoljac HRBeta ✭✭✭

    Still here

    Steps to reproduce:

    1. SharpSerializer on github
    2. XA sample (XI sample works)
    3. click on Serialize XML
    4. breakpoint is set in shared cs file Form1.XP.Shared.cs:31
    5. step over or step in - exception/crash

    only the line number in Assertion has changed

    07-29 10:46:32.038 W/monodroid-gc( 1328): GREF GC Threshold: 1800
    Loaded assembly: HelloWorldApp.MonoForAndroid.dll
    Loaded assembly: SharpSerializer.Library.MonoForAndroid.dll
    Loaded assembly: Mono.Android.dll [External]
    Loaded assembly: System.Core.dll [External]
    Loaded assembly: MonoDroidConstructors [External]
    Resolved pending breakpoint at 'D:\SRC\libraries-moljac\git[github.com]\MonoVersalSharpSerializer\HelloWorldApp.MonoForAndroid\Form1.cs:87,1' to void HelloWorldApp.Form1.ShowMessageAlert (object sender, System.EventArgs e) [0x00001].
    Resolved pending breakpoint at 'D:\SRC\libraries-moljac\git[github.com]\MonoVersalSharpSerializer\HelloWorldApp\Form1.XP.Shared.cs:31,1' to string HelloWorldApp.Form1.serialize (object obj, Polenter.Serialization.SharpSerializer serializer, string shortFilename) [0x0000d].
    07-29 10:46:40.569 D/gralloc_goldfish( 1328): Emulator without GPU emulation detected.
    Resolved pending breakpoint at 'D:\SRC\libraries-moljac\git[github.com]\MonoVersalSharpSerializer\SharpSerializer.Library\SharpSerializer.cs:223,1' to void Polenter.Serialization.SharpSerializer.createDirectoryIfNeccessary (string filename) [0x00001].
    Resolved pending breakpoint at 'D:\SRC\libraries-moljac\git[github.com]\MonoVersalSharpSerializer\SharpSerializer.Library\SharpSerializer.cs:217,1' to void Polenter.Serialization.SharpSerializer.Serialize (object data, string filename) [0x00013].
    Loaded assembly: System.Xml.dll [External]
    Loaded assembly: System.dll [External]
    07-29 10:47:02.961 F/        ( 1328): * Assertion at /Users/builder/data/lanes/monodroid-mlion-master/294d4619/source/mono/mono/mini/mini.c:3806, condition `l' not met
    07-29 10:47:02.967 E/mono-rt ( 1328): Stacktrace:
    07-29 10:47:02.967 E/mono-rt ( 1328): 
    07-29 10:47:02.987 E/mono-rt ( 1328):   at <unknown> <0xffffffff>
    07-29 10:47:02.987 E/mono-rt ( 1328):   at HelloWorldApp.Form1.serialize (object,Polenter.Serialization.SharpSerializer,string) [0x0000d] in D:\SRC\libraries-moljac\git[github.com]\MonoVersalSharpSerializer\HelloWorldApp\Form1.XP.Shared.cs:31
    07-29 10:47:02.997 E/mono-rt ( 1328):   at HelloWorldApp.Form1.serializeXmlButton_Click (object,System.EventArgs) [0x00013] in D:\SRC\libraries-moljac\git[github.com]\MonoVersalSharpSerializer\HelloWorldApp\Form1.XP.Shared.cs:107
    07-29 10:47:02.997 E/mono-rt ( 1328):   at Android.Views.View/IOnClickListenerImplementor.OnClick (Android.Views.View) [0x0000d] in /Users/builder/data/lanes/monodroid-mlion-master/294d4619/source/monodroid/src/Mono.Android/platforms/android-8/src/generated/Android.Views.View.cs:864
    07-29 10:47:03.007 E/mono-rt ( 1328):   at Android.Views.View/IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (intptr,intptr,intptr) [0x00010] in /Users/builder/data/lanes/monodroid-mlion-master/294d4619/source/monodroid/src/Mono.Android/platforms/android-8/src/generated/Android.Views.View.cs:834
    07-29 10:47:03.007 E/mono-rt ( 1328):   at (wrapper dynamic-method) object.98697a66-b91b-4751-81a4-a4ebdc5fcc05 (intptr,intptr,intptr) <IL 0x00017, 0x00043>
    07-29 10:47:03.017 E/mono-rt ( 1328):   at (wrapper native-to-managed) object.98697a66-b91b-4751-81a4-a4ebdc5fcc05 (intptr,intptr,intptr) <IL 0x00023, 0xffffffff>
    07-29 10:47:03.017 E/mono-rt ( 1328): 
    07-29 10:47:03.017 E/mono-rt ( 1328): =================================================================
    07-29 10:47:03.017 E/mono-rt ( 1328): Got a SIGSEGV while executing native code. This usually indicates
    07-29 10:47:03.017 E/mono-rt ( 1328): a fatal error in the mono runtime or one of the native libraries 
    07-29 10:47:03.017 E/mono-rt ( 1328): used by your application.
    07-29 10:47:03.017 E/mono-rt ( 1328): =================================================================
    07-29 10:47:03.017 E/mono-rt ( 1328): 
    Mono.Android.VisualStudio.MonoAndroidPackage Verbose: 0 : Entering OnTargetExited for: Mono.Android.VisualStudio.MonoAndroidDebuggerSession
    The program 'Mono' has exited with code 255 (0xff).
    Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:RunShellCommand]:      emulator-5554 am force-stop HelloWorldApp.MonoForAndroid
    Mono.AndroidTools.AndroidLogger Verbose: 0 : -- Start ForceStop - 07/29/2013 12:47:02 (2259ms) --
    Mono.AndroidTools.AndroidLogger Verbose: 0 : [INPUT] am force-stop HelloWorldApp.MonoForAndroid
    Mono.AndroidTools.AndroidLogger Verbose: 0 : [OUTPUT]
    
    Mono.AndroidTools.AndroidLogger Verbose: 0 : -- End ForceStop --
    

    Environment

    Microsoft Visual Studio 2010
    Version 10.0.40219.1 SP1Rel
    Microsoft .NET Framework
    Version 4.5.50709 SP1Rel
    
    Installed Version: Ultimate
    
    Xamarin.Android   4.7.11002 (294d4619)
    Visual Studio plugin to enable development for Xamarin.Android.
    
    Xamarin.iOS   1.1.200 (7d63692c)
    Visual Studio extension to enable development for Xamarin.iOS
    

    Starting update and test with 4.8

  • moljacmoljac HRBeta ✭✭✭
    edited August 2013

    For all that might hit this problem:

    it seems to be resolved in 4.8.1

    Environment

    Xamarin.Android   4.8.01013 (b76e8ec4)
    Visual Studio plugin to enable development for Xamarin.Android.
    
    Xamarin.iOS   1.3.250 (49348a51)
    Visual Studio extension to enable development for Xamarin.iOS
    
Sign In or Register to comment.