mobile icon indicating copy to clipboard operation
mobile copied to clipboard

WFS is sometimes crashing input on IOS

Open PatrikMizera opened this issue 3 years ago • 6 comments

IOS 15.1 Input: 1.2.0 also 1.3.0

  1. download project input-testing/tc06_format_wfs
  2. open the project
  3. input crash

https://user-images.githubusercontent.com/94351263/154967865-2d89a9b6-6874-4f42-b0ea-fbb7d6daacb4.MP4

PatrikMizera avatar Feb 21 '22 13:02 PatrikMizera

@PeterPetrik (with online-cog stuff)

It does not always crash on my device, but it always generates this error Log:

Loading  "/var/mobile/Containers/Data/Application/2ED52375-C0A5-41EA-AAD5-B3307E11B0A7/Documents/INPUT/projects/tc06_format_wfs/test_format_wfs.qgz" false
program received signal 12, thread:2d5f86;00:4e00000000000000;01:0000000000000000;02:8007000000000000;03:c085f23601000000;04:f001000000000000;05:c085f23601000000;06:a900000000000000;07:43f99d8b00000000;08:0301000000000000;09:0301000000000000;0a:b0f00d0000000000;0b:419f170000000000;0c:7424000000000000;0d:4502000000000000;0e:0010100000000000;0f:8a00000000000000;10:ff00000000000000;11:80bf0f0000000000;12:0000000000000000;13:1020218202000000;14:0000000000000000;15:1820218202000000;16:08e4f38102000000;17:f841b66b01000000;18:e842b66b01000000;19:0000000000000000;1a:90789b0901000000;1b:98704d3401000000;1c:0000000000000000;1d:603fb66b01000000;1e:e4e6190801000000;1f:203fb66b01000000;20:b03df6c601000000;21:00000020;metype:5;mecount:2;medata:10003;medata:c;memory:0x16bb63f60=a03fb66b01000000246e190801000000;memory:0x16bb63fa0=f03fb66b01000000fc5f190801000000;
"2022-02-22T08:59:17.928Z InputPROJ: custom missing grid used by context handler OSTN15_NTv2_OSGBtoETRS.gsb\n"
"2022-02-22T08:59:17.969Z InputPROJ: missing preffered grid: OSTN15_NTv2_OSGBtoETRS.gsb\n"
stale focus object Page_QMLTYPE_43_QML_268(0x28197e680) , doing manual update
Warning 6: driver SQLite does not support creation option SPATIALITE
ERROR 6: OGR was built without libspatialite support
... sorry, creating/writing any SpatiaLite DB is unsupported

"2022-02-22T08:59:18.543Z QGIS WFS: Warning: Cannot create temporary SpatiaLite cache.: GDALCreate() failed: OGR was built without libspatialite support\n... sorry, creating/writing any SpatiaLite DB is unsupported\n\n"

tomasMizera avatar Feb 22 '22 09:02 tomasMizera

I tested it within cog branch

tomasMizera avatar Feb 22 '22 09:02 tomasMizera

possible fix https://github.com/lutraconsulting/input-sdk/pull/66/commits/2f72626496a6d7311a49c36612549e510abf5837

PeterPetrik avatar Feb 22 '22 14:02 PeterPetrik

How to make it crash with cog branch (https://github.com/lutraconsulting/input/pull/1957):

  • download and open the project (it does not crash on my device, but generates the mentioned error)
  • close app
  • run app
  • now it crashes (when the project should be opened as default one)

Also from that point on, I am not able to open the project. I can open other projects though.

tomasMizera avatar Mar 10 '22 15:03 tomasMizera

This crash could also be related to proj datum grid not present, so it needs some proper debugging, and it could not be related to WFS maybe at all.

PeterPetrik avatar Mar 10 '22 15:03 PeterPetrik

I use WFS layers in a project and it crash every time I open the project on my IPhone 13

KlausAgerskov avatar Aug 25 '22 10:08 KlausAgerskov