java.io.IOException

write failed: EBADF (Bad file descriptor)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web16821

  • write failed: EBADF (Bad file descriptor)
  • via Stack Overflow by Anthony
    , 4 months ago
    write failed: EBADF (Bad file descriptor)
  • write failed: EBADF (Bad file descriptor)
  • Stack trace

    • java.io.IOException: write failed: EBADF (Bad file descriptor) at libcore.io.IoBridge.write(IoBridge.java:498) at java.io.FileOutputStream.write(FileOutputStream.java:186) at com.crashlytics.android.core.CodedOutputStream.refreshBuffer(CodedOutputStream.java:668) at com.crashlytics.android.core.CodedOutputStream.flush(CodedOutputStream.java:678) at io.fabric.sdk.android.services.common.CommonUtils.flushOrLog(CommonUtils.java:768) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.writeSessionApp(CrashlyticsUncaughtExceptionHandler.java:889) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.doOpenSession(CrashlyticsUncaughtExceptionHandler.java:606) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.handleUncaughtException(CrashlyticsUncaughtExceptionHandler.java:301) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.access$200(CrashlyticsUncaughtExceptionHandler.java:56) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler$7.call(CrashlyticsUncaughtExceptionHandler.java:278) at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler$7.call(CrashlyticsUncaughtExceptionHandler.java:275) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at io.fabric.sdk.android.services.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:75) at io.fabric.sdk.android.services.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:30) at java.lang.Thread.run(Thread.java:818) Caused by: android.system.ErrnoException: write failed: EBADF (Bad file descriptor) at libcore.io.Posix.writeBytes(Native Method) at libcore.io.Posix.write(Posix.java:271) at libcore.io.BlockGuardOs.write(BlockGuardOs.java:313) at libcore.io.IoBridge.write(IoBridge.java:493)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 2 weeks ago
    Once, 2 weeks ago
    Unknown user
    2 times, 7 months ago
    4 times, 1 year ago
    4 times, 1 year ago
    15 more bugmates