[Mono-bugs] [Bug 442647] Runtime crash when nested delegates are used with async callbacks in a static generic function

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 12 09:10:15 EST 2008


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

User brian at sooloos.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=442647#c2





--- Comment #2 from Brian Luczkiewicz <brian at sooloos.com>  2008-11-12 07:10:15 MST ---
Created an attachment (id=251630)
 --> (https://bugzilla.novell.com/attachment.cgi?id=251630)
binary for testcase

on mono 2.0.1, running this binary results in:

z at zubuntu ~ $ mono t.exe

Unhandled Exception: System.TypeLoadException: A type load exception has
occurred.
  at Foo.CacheHelper[String] (System.String key, IDictionary`2 dict,
Callback`1 startrequest, .EndRequestDelegate`1 endrequest, .Callback`1 cb)
[0x00000] 
  at Foo.Main (System.String[] args) [0x00000] 
z at zubuntu ~ $ mono --version
Mono JIT compiler version 2.0.1 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none

on windows xp with .net 3.5:

zorander at zxp desktop $ ./t.exe 

Unhandled Exception: System.BadImageFormatException: An attempt was made to
load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at Foo.<CacheHelper>c__AnonStorey2`1.<>m__5()
   at Foo.CacheHelper[T](String key, IDictionary`2 dict, Callback`1
startrequest, EndRequestDelegate`1 endrequest, Callback`1 cb)
   at Foo.Main(String[] args)

The fact that it fails on both platforms might point towards a compiler
bug..feel free to recategorize this if you agree.


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