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
QField ver. 1.8.2 crashes after photo collecting attempt (Android, Samsung Galaxy Tablet) #1671
Comments
@maciejsznajder , could you attach a simple project with which you can replicate the crash? |
Also, Can you check in the settings if "use native camera" is enabled or disabled? |
Thank you for your responses @m-kuhn @nirvn
|
@maciejsznajder , are you saying that the first project that is as you described "pure QGIS" doesn't crash neither for you and your friend whereas the QSYNC packed one does? |
No, both things are the very same project. The difference is that the second one has been turned into QField pack with QSync. I have decided to provide them both just in case. If I am correct, only the second one (treated with QSync) can be used in QField. And its photo widget doesn`t work on my friend tablet as described previously. |
@maciejsznajder , both crashes on your friend's device, right? |
No, only the second one (the one treated with QSync) was tested on the tablet. Correct me if I am wrong, but I thought that before I load anything to the QField, I need to export that project via QSync plugin? |
HI All, Just in case, my friend tested the QField 1.8.3 and the issue is still there. It seems like QField photo widget can`t work on Android 10 for some reason... |
In Qgis 1.8.4 on samsung galaxy A70, with android 10, the feature works fine, without any resulting crashes. |
Hello, |
Interesting. As I am mainly a user and not a programmer, I will continue to follow this topic, try a few devices and report if the same happens to me. |
Hello, |
Hi, everybody Device: Samsung Galaxy Tab A 2020 Thank you. |
Hi all, I agree that the issue is RANDOM, or at least doesn't happen on the very first taken picture. I guess it can be linked with memory lack or something, because the first picture is working, at the second picture (on the same entity), the photo is slow to disappear and at third Qfield crashes. Sometimes on fourth. Sometimes on second or first with native camera. Another clue: I'm pretty sure it's a hardware issue, happening on certain devices. 3rd clue: there is really less crashes with the minimal Qfield camera than with the native camera. (but there is some) @m-kuhn how can we report some informations when the crash occurs ? (I have already activated dev mode on the device but don't know how to access the stack trace. Thanks! |
If you could use |
Hi, So i ran adb logcat on my crashing project. I collected two log files, the first one with Native Camera and the second one with Internal Qfield Camera (the 2 attempts crashed): logcats.zip Thank you for investigating. |
That is indeed very possible. The time i said that no problem happened, i
had a relatively small project. Now i started using approx. 3-5 times
bigger project and Qfield is notably slower.
I will add a photo layer and test this out.
Kind regards.
V V čet., 6. maj 2021 ob 10:57 je oseba samueldurante <
***@***.***> napisala:
… Hi,
i tried to reproduce the crash with a minimal project but was'nt able to
do it, the native camera went well. I wonder if the crash happen only when
the project is big enough.
So i ran adb logcat on my crashing project. I collected two log files, the
first one with Native Camera and the second one with Internal Qfield Camera
(the 2 attempts crashed): logcats.zip
<https://github.com/opengisch/QField/files/6433167/logcats.zip>
Thank you for investigating.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1671 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARSH6ZWGZUMZVGIANVHVERTTMJKWXANCNFSM4XI6NGUA>
.
|
Thanks for the report @samueldurante For reference, here's the important bits of the logs
Same problem for both implementations (i.e. it doesn't depend on the implementation) |
@m-kuhn, i wonder why the abstract you posted is only the part produced on "2021-04-22" because the crash occurs today (2021-05-06), like all other parts of the log. |
True, the crash above happened on multiple days but not today, so it's probably not the one you are experiencing. |
Hi, I would like to leave here my experience with a Samsung Galaxy Tab A (SM T-515) with Android 10, the latest available version of QField and Open Camera and projects created with QGIS 3.16. What I observe with "use native camera" enabled is that is possible to survey features and for each one take a picture and all works ok, meaning that once the picture is taken the Open Camera App "disappear/minimize", the focus goes back to QField and the thumbnail is shown in the QField form. But... sooner or later (seems pretty random) after taking the picture the Open Camera App does not minimize/disappear... so the user obviously tries to take the picture again, and at this point QField does not seem to crashes but rather to bring the user back to the initial screen (the one that allows to choose what project to open), causing anyway to loose the data gathered up to the point of taking the picture. I said that it "does not seem" a crash because if instead "use native camera" is disabled, then taking pictures works fine until... at some point (seems also random) QField crashes, and in this case the App closes completely. Trying to use other Camera Apps (like the one that comes by default with the Galaxy Tab) does not help: after taking the picture the App asks to accept or discard the photo, accepting it does not make the focus return to QField. None of the above happens with another device I use in the field, a CAT S41. |
Thank you for the report @gioman |
Stack trace for the Crash
Reset (not sure if that's the relevant part, but the No such file or directory part looks suspicious)
|
I am experiencing the exact same issue as @gioman with qfield 2.03 on a samsung galaxy s20 FE. Qfield resets randomly after qfield requests a picture to be taken twice now and then |
i have 20 Samsung tab active pro with the same trouble . we messaged qfield directly to ask for direct support with 0 answer. im trying here to get some help cuz the qfield site is a total joke with 0 answer can i pay someone here to work? and fix this because qfield seem to like to add new feature but stability not realy |
We are really sorry, this ended up in a spam folder, we will get back to you asap! |
Thanks a lot sir
…On Tue, 17 Aug 2021 at 07:34, Matthias Kuhn ***@***.***> wrote:
We are really sorry, this ended up in a spam folder, we will get back to
you asap!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1671 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVHTUINASFPOFH4Q4ZDQ3YLT5JCNPANCNFSM4XI6NGUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
[image: Logo]
Andre jr Savage
Concepteur
M: 514-424-6920
E: ***@***.*** | www.fotech.ca
1450 Richelieu,Beloeil J3G 4R7
|
Hi,
That doesn't seem to be device's specific because it happens on different devices, Android's version ... I tried the Master Dev version but it worse, cause everytime i want to take a picture, the app crashes. I can't even take a picture in this version. If you could fix this problem, I will be gratefull. Thanks a lot for the past and future dev |
@raekorlechef did you get in touch? If not, please email me directly (matthias@opengis.ch). All: can you verify the problem with the demo project? |
Thanks for providing development APKs. I took the liberty to test them but I fear I could observe no improvement. Tested on a Galaxy S20 FE and Galaxy Tab S7 (with RAMPlus activated):
|
Could someone make a test with #4488 (comment) and reduced rendering quality? |
No armv7-android architecture to test ? |
@VxTedxV , it's been replaced by arm-neon-android. Please pick that one. |
Made some tests with a 1Go tiled raster (.vrt). Lowest quality improves rendering speed, especially when moving at low scale, and a bit when zooming. Even the lowest quality remains readable (with text on raster). Note : if the map is rotated, it makes more time to render whatever the quality choosen. I like to have faster rendering and be able to render higher quality if needed with the same data. |
@VxTedxV the test to make is about photos taken within QField, not project layers. |
was testing #4488, sorry |
If someone is able to test an affected camera with lower rendering quality in #4488 , that would be great |
I could not try specifically #4488 on the tablet for the mentioned reason. |
Is someone still able to reproduce this problem with lower rendering quality in with #4488 and internal QField camera? |
The QField project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. |
So, we believed this issue resolved, but my team started to experience the problem again last week, even on new phones. It seems like it starts without problem, but after a while, the crashes become more and more present, to a point where taking picture is impossible. This leads me to believe it has to do with the RAM more than to the actual weght of the pictures...? |
Thank you for the feedback @OBVYamaska , can you add the following information a) which version of QField are you using? |
Same problem has been reported to me from a Samsung S6 Lite user. I asked to test the APK here #4488 |
The QField project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. |
problem still there. |
👍
Can you provide answers to these questions? |
I asked to the tablet owner. |
Hi should be able to test it in the next few days. |
Same problem again. I can't seem to install the APK on our Samsung Galaxy Tab A (SM-T510) running Android 11. However, with the regular app (2.8.7), while the problem is still there with the native camera, it seems to be gone when using the QField minimalist camera! I will try to test this further this week, but so far, I could not get the app to crash in this configuration. I'd like to add that simply switching the camera was not enough before (it's been a few months since I tried, so I don't know which version changed this). |
Thank you for the update. |
Is this superseded by #4704 ? |
Hi All,
I`m having issue with QField ver. 1.8.2 and its photo widget so I decided to register at GitHub, wondering if anyone had similar problem?
I have created a project in QGIS to perform simple survey to collect photos. Everything works perfect with my Samsung Galaxy Tablet. However, my friend (who has almost similiar tablet) is having issues with the photo widget. Everytime when he attempts to take a picture the QField app crashes.
We had this issue last year already and we solved it by using 'Simple Camera' app from Google Store instead of Samsung`s default camera app. Sadly, this solution is not working anymore.
The 'almost' word might be a key. This time I suspect the different specs of our devices might be the reason of that photo problem but I have no way to prove it, it`s only my guess.
My tablet specs (photo widget works fine)
Galaxy Tab A (2016)
Model no. SM-T585
Android version 8.1.0
My friend`s tablet specs (project crashes)
Galaxy Tab A
Model no. SM-T515
Android version 10
PS. I have just noticed today that QField has been updated to 1.8.3. I haven`t had a chance to look into this new version yet.
The text was updated successfully, but these errors were encountered: