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)

Submitter:  None
Submitted:  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
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
without exceptions and errors

How often does this happen?

Additional Information:

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



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


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.13-a854.
Corresponding source code