[Mono-bugs] [Bug 471747] New: [FreeBSD x86] Failure of pinvoke2 test

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 2 17:54:10 EST 2009


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


           Summary: [FreeBSD x86] Failure of pinvoke2 test
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.4.x
          Platform: x86
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: pneumann at gmail.com
         QAContact: mono-bugs at lists.ximian.com
                CC: rkumpera at novell.com
          Found By: ---


Description of Problem:

There seem to be a bug on mono_test_marshal_amd64_pass_return_struct2 that
makes the pinvoke2.cs test not pass. It happends on i386 only. On amd64 it
passes ok.

Steps to reproduce the problem:
1. Get the latest mono with svn co http://bsd-sharp.googlecode.com/svn/trunk
bsd-sharp
2. cd bsd-sharp/lang/mono; make tests
Patches applied are on the files/ subdirectory.


Actual Results:
(gdb) r pinvoke2.exe
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/local/bin/mono pinvoke2.exe
Error in re-setting breakpoint 2:
Function "mono_test_marshal_amd64_pass_return_struct2" not defined.
Error in re-setting breakpoint 2:
Function "mono_test_marshal_amd64_pass_return_struct2" not defined.
Error in re-setting breakpoint 2:
Function "mono_test_marshal_amd64_pass_return_struct2" not defined.
Error in re-setting breakpoint 2:
Function "mono_test_marshal_amd64_pass_return_struct2" not defined.
Error in re-setting breakpoint 2:
Function "mono_test_marshal_amd64_pass_return_struct2" not defined.
Error in re-setting breakpoint 2:
Function "mono_test_marshal_amd64_pass_return_struct2" not defined.
Error in re-setting breakpoint 2:
Function "mono_test_marshal_amd64_pass_return_struct2" not defined.
[New LWP 100152]
Error in re-setting breakpoint 2:
Function "mono_test_marshal_amd64_pass_return_struct2" not defined.
Error in re-setting breakpoint 2:
Function "mono_test_marshal_amd64_pass_return_struct2" not defined.
[New Thread 0x8401100 (LWP 100152)]
[New Thread 0x8464000 (LWP 100206)]
[New Thread 0x8464c00 (LWP 100207)]
[Switching to Thread 0x8401100 (LWP 100152)]

Breakpoint 2, mono_test_marshal_amd64_pass_return_struct2 (s={i = 5, j = -5})
at libtest.c:1552
1552        s.i ++;
(gdb) p s
$5 = {i = 5, j = -5}
(gdb) n
1553        s.j ++;
(gdb) p s
$6 = {i = 6, j = -5}
(gdb) p s
$7 = {i = 6, j = -5}
(gdb) n
1555        return s;
(gdb) p s
$8 = {i = 6, j = -4}
(gdb) c
Continuing.
test_0_amd64_struct2 failed: got 1, expected 0
Regression tests: 72 ran, 1 failed in Tests

Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 0x8464c00 (LWP 100207)]
0x2854c037 in __error () from /lib/libthr.so.3



Expected Results:
In line 1037 of pinvoke2.cs, s2.i should be 6 and s2.j should be 4.
Their values are 6 and -1077943496.

How often does this happen? 
Alwais

Additional Information:

Maybe this has something to do with
http://anonsvn.mono-project.com/viewvc/trunk/mono/mono/mini/decompose.c?view=log&pathrev=123706

(This is 2.4 RC1)

If you need additional information, just tell!
Thanks.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list