[Mono-bugs] [Bug 413621] New: Mono runtime segfault on serializing structs of floats on IA64

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jul 31 10:48:22 EDT 2008


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


           Summary: Mono runtime segfault on serializing structs of floats
                    on IA64
           Product: Mono: Runtime
           Version: 1.2.6
          Platform: IA64
        OS/Version: SLES 9
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: interop
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: lortiz at interactivesupercomputing.com
         QAContact: mono-bugs at lists.ximian.com
                CC: vargaz at gmail.com
          Found By: Component Test


Created an attachment (id=231085)
 --> (https://bugzilla.novell.com/attachment.cgi?id=231085)
Zip file containg failing and working examples

Source code and Makefile to build the failing example

I get a segfault on running the attached program that calls a C function from
C# and passes it a struct parameter with float members. If the struct is passed
to the C function as a void*, it seems to work fine which leads me to believe
that there is a bug in serializing the struct during the P/Invoke call. Note
that the C function must be called twice in a row in order to make the program
crash.

To run the example, please run 'make' .

Zoltan had fixed a similar problem in Bug 402585 with structures containing
doubles.

lfo at isc-altix:~> mono --version
Mono JIT compiler version 1.2.6 (URL:
file:///fs/svn/Mono/branches/ISC_BigBlob126/mono/mini r8)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  ia64
        Disabled:      none

This version of mono has the fix for Bug 402585 incorporated into
mono/mini/mini-ia64.c , so the double precision complex case passes, while the
single precision complex case fails.


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


More information about the mono-bugs mailing list