[Mono-bugs] [Bug 471751] New: [FreeBSD x86] Failure of winx64structs test
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Feb 2 18:03:14 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=471751
User pneumann at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471751#c471747
Summary: [FreeBSD x86] Failure of winx64structs 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:
The test test_0_Ret_In_RAX is failing.
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) b mono_test_Winx64_struct4_ret
Function "mono_test_Winx64_struct4_ret" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (mono_test_Winx64_struct4_ret) pending.
(gdb) r winx64structs.exe
Starting program: /usr/local/bin/mono winx64structs.exe
[New LWP 100172]
[New Thread 0x8401100 (LWP 100172)]
[New Thread 0x8464000 (LWP 100186)]
[New Thread 0x8464c00 (LWP 100189)]
Breakpoint 2 at 0x28c6bb46: file libtest.c, line 3598.
Pending breakpoint "mono_test_Winx64_struct4_ret" resolved
[Switching to Thread 0x8401100 (LWP 100172)]
Breakpoint 2, mono_test_Winx64_struct4_ret () at libtest.c:3598
3598 ret.a = 4;
(gdb) p ret
$1 = {a = -16 '�', b = 75 'K', c = 10437, d = 3217024213}
(gdb) n
3599 ret.b = 5;
(gdb) n
3600 ret.c = 0x1234;
(gdb) n
3601 ret.d = 0x87654321;
(gdb) p ret
$2 = {a = 4 '\004', b = 5 '\005', c = 4660, d = 3217024213}
(gdb) n
3602 return ret;
(gdb) p ret
$3 = {a = 4 '\004', b = 5 '\005', c = 4660, d = 2271560481}
(gdb) c
Continuing.
test_0_Ret_In_RAX failed: got 401, expected 0
Regression tests: 12 ran, 1 failed in winx64structs
Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 0x8464c00 (LWP 100189)]
0x2854c037 in __error () from /lib/libthr.so.3
(gdb)
In line 299 in the file winx64structs.cs, the value of
winx64_struct4 t_winx64_struct4 = mono_test_Winx64_struct4_ret ();
is:
a=6 b=0 c=0 d=3217023800
Expected Results:
a=4 b=5 c=0x1234 d=0x87654321
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
or with previous reported bug #471747
(this is 2.4 RC1)
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