-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fdsan: attempted to close file descriptor 0 #26
Comments
Does the unaltered example app work on your devices? You can try installing it from this archive: https://github.com/alexey-pelykh/UVCCamera/actions/runs/12465875213/artifacts/2355594257 |
If the example crashes for you - a crash log would be helpful. If the example does not crash for you - I'd suggest checking if you've integrated the library into your application as shown in the example |
I was able to ran it from last day, now got this error, this happens sometimes Here are logs
|
Thanks for the logs! I'll be able to work on the fix now |
Does the same issue happen to you using the original unmodified example? |
Actually, I'm unable to test your shared apk on my device, as apks build in flutter 3.27. shows only blank black page on my device, and only works if I build with "flutter run --no-enable-impeller" |
🤔 We definitely need to isolate that within an example app. What device are you using? Oppo F19? |
yes, Oppo F19 pro |
I installed now your shared apk on another device (Infinix X6525), it crashes instantly whenever I tap on available usb camera, but on Oppo F19 Pro, it works fine when I myself build project with "flutter run --no-enable-impeller" and crashes only if I disconnect and reconnect usb camera |
Could you please repeat the tests with most recent https://github.com/alexey-pelykh/UVCCamera/actions/runs/12486753231/artifacts/2360287621 and capture logs of the crashes. I'm researching into the impeller issue meanwhile |
for Oppo F19, I can say it is working fine if I run with but for Infinix X6525, your above apk crashed and my code with 0.0.8, available latest package version it crashes D/UvcCameraPlatform(12842): UsbConfiguration[mId=1,mName=null,mAttributes=128,mMaxPower=250,mInterfaces=[ |
it says to me
"Device permission is not granted" and then app is crashed! , on an other phone, it is not crashed nor this message is shown, but streaming does not start
I have requested all perms in manifest ,
like given below, and Camera and Microphone is already granted
The text was updated successfully, but these errors were encountered: