[Mono-bugs] [Bug 458931] New: [FreeBSD-7 AMD64] bug in test pinvoke2.cs

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Dec 13 17:09:22 EST 2008


           Summary: [FreeBSD-7 AMD64] bug in test pinvoke2.cs
           Product: Mono: Runtime
           Version: 2.0.x
          Platform: 64bit
        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
          Found By: System Test

Description of Problem:

There is a bug on mono_test_marshal_stringbuilder_array, so pinvoke test does
not pass.
Its the only test that is failing on FreeBSD. 
Its only for AMD64. On i386 works fine.

Steps to reproduce the problem:
1. Compile mono from bsd-sharp: 
1.1  svn checkout http://bsd-sharp.googlecode.com/svn/trunk bsd-sharp
1.2  cd bsd-sharp/lang/mono; make tests
you can see the patches applied on bsd-sharp/lang/mono/files, that makes other
tests pass ok.

Actual Results:
(gdb) r pinvoke2.exe
Starting program: /usr/local/bin/mono pinvoke2.exe
[New LWP 100532]
[New Thread 0x906180 (LWP 100532)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x906180 (LWP 100532)]
0x00000000005a7471 in GC_FreeBSDGetDataStart (max_page_size=4096,
etext_addr=0x60fd16) at os_dep.c:1420
1420                *(VOLATILE char *)next_page;
(gdb) c

Program received signal SIGSEGV, Segmentation fault.
0x00000000005a733b in GC_find_limit (p=0x8209c0 "@\n\202", up=0) at
813                     GC_noop1((word)(*result));
(gdb) c
[New Thread 0x906480 (LWP 100393)]
[New Thread 0x906600 (LWP 100429)]
Breakpoint 2 at 0x8019ad5cc: file libtest.c, line 986.
Pending breakpoint "mono_test_marshal_stringbuilder_array" resolved

Breakpoint 2, mono_test_marshal_stringbuilder_array (array=0x7fffffffe260) at
986             if (strcmp (array [0], "ABC"))
(gdb) p array[0]
$1 = 0x9110d8 ""

Expected Results:
mono_test_marshal_stringbuilder_arrayof libtest.c is returning 1 instead of 0.

How often does this happen? 

Additional Information:

If you need other information i would happily provide it.

This is the only test that doesnt pass.


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