[Mono-bugs] [Bug 672446] New: [regression] native stacktrace when Castle generic Resolve by anonymous object

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 16 04:31:32 EST 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=672446#c0


           Summary: [regression] native stacktrace when Castle generic
                    Resolve by anonymous object
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.10.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: generics
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: piotr.wysocki at mlabs.pl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=414359)
 --> (http://bugzilla.novell.com/attachment.cgi?id=414359)
failing testcase

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13)
Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13

((IKernel) container).Resolve<MainClass> (new { foo = "bar" })
crashes mono

mono 2.10, Castle.Windsor 2.5.2, Castle.Core 2.5.2

Reproducible: Always

Steps to Reproduce:
Compile the attached Main.cs with references to Castle.Core and Castle.Windsor
2.5.2

Actual Results:  
Success
Hello World!
Stacktrace:

  at Castle.Windsor.WindsorContainer.Resolve<T> (object) <IL 0x00007, 0x00083>
  at (wrapper remoting-invoke-with-check)
Castle.Windsor.WindsorContainer.Resolve (object) <IL 0x00039, 0xffffffff>
  at MonoCastleAnonResolveFail.MainClass.Main (string[]) [0x0003f] in
/home/wysek/secpl/MonoCastleAnonResolveFail/MonoCastleAnonResolveFail/Main.cs:28
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>

Native stacktrace:

        /opt/mono-2.10/bin/mono() [0x48d43b]
        /opt/mono-2.10/bin/mono() [0x4e1a6f]
        /opt/mono-2.10/bin/mono() [0x41500b]
        /lib/libpthread.so.0(+0xfb40) [0x7fc5050f6b40]
        /opt/mono-2.10/bin/mono() [0x491258]
        /opt/mono-2.10/bin/mono() [0x491a4d]
        [0x410bf16a]


Expected Results:  
Success
Success

The exact DLL's of Castle 2.5.2 I used are available here:
http://www.cs.put.poznan.pl/pwysocki/Castle-2.5.2

The failing testcase runs ok on mono 2.6.7 and 2.8.2.

I am not sure what component is this bug related to.

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