Bug 319590 (MONO76768) - SIGSEGV While accessing a type in a loaded assembly
Summary: SIGSEGV While accessing a type in a loaded assembly
Status: RESOLVED MOVED
Alias: MONO76768
Product: Mono: Runtime
Classification: Mono
Component: JIT (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Paolo Molaro
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-20 14:46 UTC by Pedro Santos
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Failing Application (107.79 KB, application/octet-stream)
2005-11-20 14:47 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:38:45 UTC


---- Reported by pre@oninetspeed.pt 2005-11-20 07:46:50 MST ----

Notes:
* This worked in Mono 1.1.8
* I am using generics

I am loading and assembly with Assembly.LoadFrom. Then I am accessing a
type in that assembly and I get the following. This is a plugin based
project and I am using NAnt to build it. This makes it dificult to create a
small failing example. 

I am hoping that someone could just spot the problem with this output and I
am attaching the assemblies. To run, just:

mono Odin.exe

-----------------------------------------------------------------------
pre:~/Projects/Midgard/Odin/bin $ mono Odin.exe

=================================================================
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.
=================================================================

Stacktrace:

in <0x4> (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
in <0xfffffdbd> (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
in <0x8d> System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in <0x1a> System.Reflection.MethodBase:Invoke (object,object[])
in <0x4be> Mono.GetOptions.OptionDetails:DoIt (string)
in <0xbb> Mono.GetOptions.OptionDetails:ProcessArgument (string,string)
in <0x180> Mono.GetOptions.OptionList:ProcessArgs (string[])
in <0x4b> Mono.GetOptions.Options:ProcessArgs (string[])
in <0x3b> Odin.Tests:Main (string[])
in <0x50c4e7c7> (wrapper runtime-invoke)
System.Object:runtime_invoke_void_string[] (object,intptr,intptr,intptr)

Native stacktrace:

        mono(mono_handle_native_sigsegv+0xc0) [0x813a0b0]
        mono [0x8126506]
        [0xffffe440]
        mono(mono_compile_create_var+0x56) [0x810a736]
        mono [0x8123bcd]
        mono [0x81251cf]
        mono [0x8125ddd]
        mono [0x81260ce]
        mono [0x81260fa]
        mono [0x8126399]
        mono(mono_runtime_invoke+0x27) [0x808e3e7]
        mono(mono_runtime_invoke_array+0x1b0) [0x808f410]
        mono [0x8095d04]
        [0xb74e2fc4]
        [0xb74e2d56]
        [0xb73aab33]
        [0xb73c8f77]
        [0xb73c87ec]
        [0xb73c5519]
        [0xb74d8c64]
        [0xb74d7d7c]
        [0xb74d7c13]
        mono [0x81263b0]
        mono(mono_runtime_invoke+0x27) [0x808e3e7]
        mono(mono_runtime_exec_main+0x5a) [0x808f12a]
        mono(mono_runtime_run_main+0x19f) [0x808edbf]
        mono [0x805cdf1]
        mono(mono_main+0x75c) [0x805d70c]
        mono [0x805c17b]
        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xf8) [0xb7de58c8]
        mono [0x805c0b1]
Aborted

-----------------------------------------------------------------------



---- Additional Comments From pre@oninetspeed.pt 2005-11-20 07:47:46 MST ----

Created an attachment (id=168852)
Failing Application




---- Additional Comments From vargaz@gmail.com 2005-11-21 07:53:52 MST ----



*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO74982 ***

Imported an attachment (id=168852)

Unknown operating system unknown. Setting to default OS "Other".
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"