bugDotGNU Portable.NET - Bugs: bug #8588, Problems with MarshalAs or/and...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #8588: Problems with MarshalAs or/and InteropServices Function Table (Delegates)

Submitted by:  None
Submitted on:  Fri 16 Apr 2004 02:31:43 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Fri 16 Apr 2004 02:31:43 AM UTC, original submission:

When Marhaling to native code of functions table error appears.
Actual Results:

Exception: STATUS_ACCESS_VIOLATION at eip=10227FE8
eax=00000007 ebx=01131000 ecx=0113107A edx=0113AE68 esi=0000000A
edi=10035014
ebp=0022EAA8 esp=0022EA8C program=D:\Programs\PNET\bin\ilrun.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame Function Args
0022EAA8 10227FE8 (004BDC10, 0022EAD0, 00000010, 00000000)
0022EAE8 004BDE3F (10098398, 01131000, 00000000, 0022ED50)
0022EDF8 00425796 (10034F60, 1007C6B8, 00000000, 00000000)
0022EE28 00412A1A (10034F60, 1007C6B8, 00412800, 0022EED8)
0022EE58 00412E86 (10034F60, 1007C6B8, 0022EED8, 0022EEE8)
0022EF10 00401D0E (00000002, 100201C8, 100200A8, 00000001)
0022EF80 61005DE0 (0022EF98, FFFFFFFF, 00000000, 00245780)
0022FF90 61005EE5 (00000000, 00000000, 00000000, 00000000)
End of stack trace

Expected Results:
"
a 5 10
test
"
without exceptions and errors

How often does this happen?
everytime

Additional Information:

compile strings (microsoft compilers used):
cl /LD testdll.cpp
csc test.cs
run strings:
mono test.exe

Anonymous

 

Attached Files
file #1191:  test.cs added by None (992B - text/plain - Source of bug demonstration sample (exe))
file #1190:  testdll.cpp added by None (375B - text/plain - Source of bug demonstration sample (dll))

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-04-16 None Attached File- => Added test.cs, #1198
2004-04-16 None Attached File- => Added testdll.cpp, #1197

Back to the top


Powered by Savane 3.3