Socket crashes on AccessViolationException when the peer side aborts (net2.0 beta2)

Hi,

  I experienced a weird problem with socket on my machine. On my colleague's it works like a charm.
 When I have socket, waiting for incomming data (after I called BeginReceive) and the peer side aborts - eg. I kill the telnet.exe who I used as a client, the socket throws AccessViolationException on unknown module.

The crash itself is in
> imon.dll!20b0cd39()  

did anyone experienced something similar, or it's problem on my machine

regards
  georgem



Answer this question

Socket crashes on AccessViolationException when the peer side aborts (net2.0 beta2)

  • Streetsmart

    I did. Was the e-mail already delivered I used two independet mail servers to send it, so you can get two copies (sorry)
  • Gabriel160938

    I sent you an email with stack dump, code and compiled executable.


  • Ilya Tumanov

    Could you tell us a little more info
    Do you have a call stack
    Can you send me your code that produces the issue
    Or even a dump file

  • Rajesh_B

    Hi,

      did you find something from the info I sent, or the fault is somewhere on my side

  • Andy_Paul

    sorry for being annoying, but just checking, if you received that email
  • Mardo

    Thats the correct address to use.  Just be sure to strip off the (PleaseDontSpam) stuff.

  • Mitch0820

    My Apologies. I did get this. Due to a filter it moved email from unknown addresses to a differnet folder and I missed it.

     



  • mgaur

    Of course I can Smile. I sent it to the address, mr. Durgaprasad Gorti presents here on the pages dgorti@... If there's another address, I have no problem to send it there.

    I didn't received any error notification or something.

  • WarrenB

    Is it possible for you to resend this Sorry for the confusion.
    send this to Durgaprasad.Gorti@dontspam.microsoft.com.dontspam



  • Jimmm

    Did you find something

    regards
      georgem

  • dcaton2

    Unfortunately, I can't get this to repro on my side using a current build and the dump file you sent contains only a mini dump and is not enough information for me to debug this.  Can you run under a debugger and catch the exception   Native debuggers can be found at:

    http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx

    You can then lauch your app, attach Windbg.exe to the process (comes with the above mentioned install package).  Once Windbg.exe is attached to your application, cause the error to occur.  You should see an AccessViolation message in Windbg.exe's command window.  Run the command

    .dump -f c:\SocketAccessViolation.dmp

    Please send a zipped copy of that dmp file to Durga.  Also, do you have access to a more recent build   If so, please run with a newer version and see if it still fails with the error.

     



  • LICNYC

    Yes I got it, I am just not getting time to look into it.

     



  • Godwin Lang

    done, resent
  • Ben Wyrosdick

    I spoke with Durga and he did not get the e-mail.  Can you resend the stack trace and repro



  • Socket crashes on AccessViolationException when the peer side aborts (net2.0 beta2)