dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #9393] Calling managed method from unmanaged cod


From: Marcus Urban
Subject: [Pnet-developers] [bugs #9393] Calling managed method from unmanaged code fails
User-agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux 2.4.21-144-athlon; X11; i686; en_US, en) (KHTML, like Gecko)

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #9393] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9393>
Project: DotGNU Portable.NET
Submitted by: Marcus Urban
On: Sun 06/20/2004 at 03:27

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Calling managed method from unmanaged code fails

Original Submission:  The ldftn instruction should return a function pointer 
that can be passed to unmanaged code. The function pointer either points to 
native (JITted code) or a method thunk.

This does not appear to work correctly with Pnet. The attached code produces a 
segfault (but works correctly with Rotor and Mono). To run the test program, 
compile vt.c using 'gcc -shared -o libvt.so vt.c' and then compile vt.il using 
'ilasm vt.il'.






File Attachments
-------------------

-------------------------------------------------------
Date: Sun 06/20/2004 at 03:27  Name: vt.c  Size: 189KB   By: mathpup
C portion of test case
http://savannah.gnu.org/bugs/download.php?item_id=9393&amp;item_file_id=1418






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9393>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]