java.net.SocketException: sendto failed: EBADF (Bad file descriptor)

Stack Overflow | Ziad Halabi | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android Media Proxy Connection stopping

    Stack Overflow | 10 months ago | Ziad Halabi
    java.net.SocketException: sendto failed: EBADF (Bad file descriptor)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.net.SocketException: sendto failed: EPIPE (Broken pipe)

    GitHub | 2 years ago | zourb
    java.net.SocketException: sendto failed: EPIPE (Broken pipe)
  4. 0

    OkHttp throwing exception on 401.

    GitHub | 2 years ago | jojojames
    java.net.SocketException: sendto failed: EPIPE (Broken pipe)

  1. jk 5 times, last 9 months ago
  2. Indri Yunita 10 times, last 1 month ago
  3. bluebunnty 9 times, last 6 months ago
  4. ajinkya_w 541 times, last 6 months ago
  5. mukky 1 times, last 8 months ago
6 more registered users
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    sendto failed: EBADF (Bad file descriptor)

    at libcore.io.IoBridge.maybeThrowAfterSendto()
  2. Android
    IoBridge.sendto
    1. libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:542)
    2. libcore.io.IoBridge.sendto(IoBridge.java:511)
    2 frames
  3. Java RT
    PlainSocketImpl$PlainSocketOutputStream.write
    1. java.net.PlainSocketImpl.write(PlainSocketImpl.java:500)
    2. java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:37)
    3. java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:266)
    3 frames
  4. com.example.android
    MediaProxy.run
    1. com.example.android.wifidirect.MediaProxy.processRequestOld(MediaProxy.java:138)
    2. com.example.android.wifidirect.MediaProxy.run(MediaProxy.java:98)
    2 frames