[Mono-bugs] [Bug 504411] Mprotect fails with ENOMEM in GC_remap

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 1 04:23:32 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=504411

http://bugzilla.novell.com/show_bug.cgi?id=504411#c11


Jo Shields <directhex at apebox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |directhex at apebox.org

--- Comment #11 from Jo Shields <directhex at apebox.org> 2010-02-01 09:23:30 UTC ---
I've just run into the same bug on Mono 2.4, SLES10, IA-64.

The message reported by the user is:
Mprotect failed at 0x2000000003b1c000 (length 32768) with errno 12
Mprotect remapping failed
Stacktrace:

  at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific
(intptr,int) <0xffffffff>
  at Mono.Security.Protocol.Tls.SslStreamBase.Read (byte[],int,int) <0x0069f>
  at System.IO.Stream.ReadByte () <0x000df>
  at Novell.Directory.Ldap.Asn1.Asn1Identifier..ctor (System.IO.Stream)
<0x0006f>
  at Novell.Directory.Ldap.Connection/ReaderThread.Run () <0x0023f>
  at (wrapper delegate-invoke) System.Threading.ThreadStart.invoke_void__this__
() <0xffffffff>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /usr/bin/mono(mono_handle_native_sigsegv+0x1ffffffffdb53db0)
[0x400000000010d670]
        [0xa0000000000107e0]
        [0xa000000000010621]
        /lib/libc.so.6.1(gsignal-0x238d1b0) [0x200000000022c740]
        /lib/libc.so.6.1(abort-0x238ab70) [0x200000000022ed90]
        /usr/bin/mono [0x400000000038d840]
        /usr/bin/mono [0x40000000003bc720]
        /usr/bin/mono [0x4000000000387740]
        /usr/bin/mono [0x40000000003878b0]
        /usr/bin/mono [0x400000000037ff20]
        /usr/bin/mono [0x4000000000380820]
        /usr/bin/mono [0x4000000000380ee0]
        /usr/bin/mono [0x4000000000384210]
        /usr/bin/mono(mono_array_new_specific+0x200000000025f738)
[0x40000000002a8110]
        [0x2000000000aa2bf0]
        [0x2000000002a45c40]
        [0x2000000002a454b0]
        [0x2000000002a45140]
        [0x2000000002a43680]
        [0x2000000002a44f90]
        [0x2000000000ac45c0]
        /usr/bin/mono [0x400000000003c710]
        /usr/bin/mono(mono_runtime_invoke+0x1ffffffffdce0f00)
[0x400000000029a810]
        /usr/bin/mono [0x4000000000214640]
        /usr/bin/mono [0x4000000000344ed0]
        /usr/bin/mono [0x4000000000384c50]
        /lib/libpthread.so.0 [0x2000000000471050]
        /lib/libc.so.6.1(__clone2-0x2255c10) [0x2000000000363d10]

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Aborted (core dumped)

There's about 900 gig of free memory, so I doubt the ENOMEM is accurate

-- 
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