[Mono-bugs] [Bug 472600] New: Environment.StackTrace assert in cctor called from generic call.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 4 15:32:16 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=472600


           Summary: Environment.StackTrace assert in cctor called from
                    generic call.
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: RHEL 4
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: generics
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: billholmes54 at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=270154)
 --> (https://bugzilla.novell.com/attachment.cgi?id=270154)
File to reproduce.

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.5)
Gecko/2008120122 Firefox/3.0.5

Assert is in get_generic_context_from_stack_frame 
g_assert (generic_info);

Caused by a null generic_info argument being passed to
get_method_from_stack_frame when called from ves_icall_get_frame_info.

Reproducible: Always

Steps to Reproduce:
1.Compile and run the attached program.

Actual Results:  

** ERROR **: file mini-exceptions.c: line 277
(get_generic_context_from_stack_frame): assertion failed: (generic_info)
aborting...
Stacktrace:

  at (wrapper managed-to-native) System.Diagnostics.StackFrame.get_frame_info
(int,bool,System.Reflection.MethodBase&,int&,int&,string&,int&,int&) <0x00075>
  at (wrapper managed-to-native) System.Diagnostics.StackFrame.get_frame_info
(int,bool,System.Reflection.MethodBase&,int&,int&,string&,int&,int&)
<0xffffffff>
  at System.Diagnostics.StackFrame..ctor (int,bool) <0x0004f>
  at System.Diagnostics.StackTrace.init_frames (int,bool) <0x00087>
  at System.Diagnostics.StackTrace..ctor (int,bool) <0x0001b>
  at System.Environment.get_StackTrace () <0x00023>
  at EventInfoTestClass..cctor () <0x0000b>
  at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>
  at Test.TestEventSubscription<object> () <0xffffffff>
  at Test.TestEventSubscription<object> () <0x0002c>
  at Test.Main () <0x00013>
  at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x48583a]
        /lib64/tls/libpthread.so.0 [0x355080c4f0]
        /lib64/tls/libc.so.6(gsignal+0x3d) [0x354ff2e21d]
        /lib64/tls/libc.so.6(abort+0xfe) [0x354ff2fa1e]
        /usr/lib64/libglib-2.0.so.0 [0x355222ed28]
        /usr/lib64/libglib-2.0.so.0(g_log+0x83) [0x355222edb3]
        mono [0x483205]
        mono [0x483276]
        mono [0x483e5b]
        [0x40010a95]

Debug info from gdb:

thread apply all bt: No such file or directory.

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list