[Mono-bugs] [Bug 691076] New: Runtime crashes when SocketAsyncEventArgs is disposed

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Apr 30 19:37:04 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=691076#c0


           Summary: Runtime crashes when SocketAsyncEventArgs is disposed
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.10.x
          Platform: x86-64
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: autumnspirit at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


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

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7)
AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.57 Safari/534.24

The runtime crashes when a SocketAsyncEventArgs is disposed before the socket
is closed, and async activity occurs.

Reproducible: Always

Steps to Reproduce:
1. gmcs Kaboom.cs
2. mono Kaboom.exe
3. While process is running, do "telnet localhost 8888" and press Enter to send
a CRLF
Actual Results:  
Stacktrace:


Native stacktrace:

    0   mono                                0x000b6ea9 0x0 + 749225
    1   mono                                0x00006e0e 0x0 + 28174
    2   libSystem.B.dylib                   0x9542a45b _sigtramp + 43
    3   ???                                 0xffffffff 0x0 + 4294967295
    4   mono                                0x001f7993 0x0 + 2062739
    5   mono                                0x001f983a 0x0 + 2070586
    6   mono                                0x001f98da 0x0 + 2070746
    7   mono                                0x0023796b 0x0 + 2324843
    8   mono                                0x00268e87 0x0 + 2526855
    9   libSystem.B.dylib                   0x953f17fd _pthread_start + 345
    10  libSystem.B.dylib                   0x953f1682 thread_start + 34

Debug info from gdb:

/tmp/mono-gdb-commands.HsN6bi:1: Error in sourced command file:
unable to debug self

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

Abort trap


Expected Results:  
Not to crash.

Mono versions 2.8.x seem fine.

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