[Mono-bugs] [Bug 568219] New: Crash calling native functions inside a lock with "linears" optimization enabled

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 4 19:01:35 EST 2010



           Summary: Crash calling native functions inside a lock with
                    "linears" optimization enabled
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: casey.s.marshall at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=334908)
 --> (http://bugzilla.novell.com/attachment.cgi?id=334908)
test case

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
(KHTML, like Gecko) Chrome/ Safari/532.5

The "linears" JIT optimization causes the attached program to crash. This
program is calling native methods in the HDF5 1.8.0 library
(http://www.hdfgroup.org/HDF5/ -- I've tried to reproduce with a simple
implementation of the native code, but haven't been successful so far).

The crash appears to happen as the program leaves the lock() region.

Reproducible: Always

Steps to Reproduce:
1. gmcs bug.cs
2. mono bug.exe
3. mono --optimize=all,-linears bug.exe
Actual Results:  
Program crashes with a SIGSEGV if the linears optimization is on.

Expected Results:  
Program runs successfully.

Configure bugmail: http://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