exportSyncFdForQSRILocked: Failed to dup() QSRI sync fd : sterror: Bad file descriptor errno: 9

Open
#957 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, cpp

Research direction

Start by reproducing the error with the Vulkan sample and trace the reported exportSyncFdForQSRILocked path in the sample or emulator-facing code. Determine why the QSRI sync file descriptor is invalid, then verify that the repeated Bad file descriptor errors no longer occur during the sample run.

Written by the indexing model from the issue text.

Description

When run vulkan sample, there always will show this error in emulator.

2023-08-23 11:32:49.133  5248-5273  goldfish_vulkan         com.android.hellovk                  E  exportSyncFdForQSRILocked: Failed to dup() QSRI sync fd : sterror: Bad file descriptor errno: 9
2023-08-23 11:32:49.148  5248-5273  goldfish_vulkan         com.android.hellovk                  E  exportSyncFdForQSRILocked: Failed to dup() QSRI sync fd : sterror: Bad file descriptor errno: 9
2023-08-23 11:32:49.165  5248-5273  goldfish_vulkan         com.android.hellovk                  E  exportSyncFdForQSRILocked: Failed to dup() QSRI sync fd : sterror: Bad file descriptor errno: 9
2023-08-23 11:32:49.182  5248-5273  goldfish_vulkan         com.android.hellovk                  E  exportSyncFdForQSRILocked: Failed to dup() QSRI sync fd : sterror: Bad file descriptor errno: 9
2023-08-23 11:32:49.198  5248-5273  goldfish_vulkan         com.android.hellovk                  E  exportSyncFdForQSRILocked: Failed to dup() QSRI sync fd : sterror: Bad file descriptor errno: 9
2023-08-23 11:32:49.215  5248-5273  goldfish_vulkan         com.android.hellovk                  E  exportSyncFdForQSRILocked: Failed to dup() QSRI sync fd : sterror: Bad file descriptor errno: 9
2023-08-23 11:32:49.232  5248-5273  goldfish_vulkan         com.android.hellovk                  E  exportSyncFdForQSRILocked: Failed to dup() QSRI sync fd : sterror: Bad file descriptor errno: 9
Dominant language
C++
Stars
10.5k
Forks
4.2k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/ndk-samples

All issues in android/ndk-samples

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.