android / android/ndk-samples

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

Open
#957 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
10.5k
Forks
4.3k
PR merge metrics
No merged PRs in 30d

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

Contributor guide

Open the contributing guide

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.