owncloud / ios-app

📱The all-new iOS app for ownCloud
https://owncloud.org/news/new-ios-app-ready-public-app-store/
GNU General Public License v3.0
214 stars 124 forks source link

iOs App crashes when trying to display a picture #1326

Open MarSan2021 opened 8 months ago

MarSan2021 commented 8 months ago

I am using the latest Version of the app (12.1 Build 288) on iOs 16.6.1 on iPhone 12. When I browse a folder in the app, navigate to a directory and click on an JPG to display, the app crashes without error-message.

Logfile:

2024-02-25 11:21:41.268000+0100 ownCloud[5277:1209403] [dbug] | [HTTP, Request, …] REQUEST BE6D28A3-4E2E-4E19-882E-4EE3E31A2CC1 {"request":{"body":{"data":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<D:propfind xmlns:D=\"DAV:\" xmlns:oc=\"http:\/\/owncloud.org\/ns\">\n<D:prop>\n<D:resourcetype\/>\n<D:getlastmodified\/>\n<D:getcontentlength\/>\n<D:getcontenttype\/>\n<D:getetag\/>\n<oc:id\/>\n<oc:size\/>\n<oc:permissions\/>\n<oc:favorite\/>\n<oc:share-types\/>\n<oc:owner-id\/>\n<oc:owner-display-name\/>\n<\/D:prop>\n<\/D:propfind>\n","length":339},"info":{"id":"BE6D28A3-4E2E-4E19-882E-4EE3E31A2CC1","required-signals":["coreOnline","authAvailable"],"method":"PROPFIND","url-session-task-id":92,"url":"https:\/\/cloud.***.***\/remote.php\/dav\/files\/***\/...\/"},"header":{"Prefer":"return=minimal","Cookie":"oc53qol9b9yi=e8unl...tussiei7t4; oc_sessionPassphrase=6ILYx...FekFYMdO","X-Request-ID":"BE6D28A3-4E2E-4E19-882E-4EE3E31A2CC1","Original-Request-ID":"BE6D28A3-4E2E-4E19-882E-4EE3E31A2CC1","Depth":"1","Content-Type":"application\/xml","User-Agent":"ownCloudApp\/12.1 (App\/288; iOS\/16.6.1; iPhone)","Authorization":"Basic [redacted:0]","Accept-Language":"de"}}} [… PROPFIND, RequestID:BE6D...2CC1, URLSessionTaskID:92] [OCHTTPPipeline.m:1238|FULL]
2024-02-25 11:21:41.278000+0100 ownCloud[5277:1209390] [dbug] | [CORE, ItemList] Cached Set(2): (\n    "<OCItem: 0x13a5a4b20, type: 1, name: ..., path: /**.../, size: 8482541 bytes, MIME-Type: (null), Last modified: 2023-09-18 05:43:14 +0000, Last used: (null), driveID: (null), fileID: 00000271oc53qol9b9yi, eTag: \"6507e396d333c\", parentID: 00188915oc53qol9b9yi, localID: 8FA98A7A....BEFE, parentLocalID: EB3ED...7A1E, shareable, owner: <OCUser: 0x2839f9800, userName: ***, displayName: ***>>"\n) [OCCore+ItemList.m:359|FULL]
2024-02-25 11:21:41.278000+0100 ownCloud[5277:1209390] [dbug] | [CORE, ItemList] Retrieved Set(1): (null) [OCCore+ItemList.m:360|FULL]
2024-02-25 11:21:41.295000+0100 ownCloud[5277:1209423] [dbug] | [IPNC] Posting notification 'com.owncloud.occore.update.A9DA5...CDAA1' (ignoreSelf=1) [OCIPNotificationCenter.m:228|FULL]
2024-02-25 11:21:41.295000+0100 ownCloud[5277.1209365] [dbug] | [IPNC] Received notification 'com.owncloud.occore.update.A9DA5...CDAA1' [OCIPNotificationCenter.m:169|FULL]
jesmrec commented 8 months ago

No able to reproduce.

A test account in your server would help to check if server is involved in the problem. If you want, you can forward such info to ios-app@owncloud.com.

Legion112 commented 8 months ago

I see the ave issue. I run server locally over http

azta commented 3 months ago

I have the same problem nearly 5 months after @MarSan2021 sent the report. (iPhone app crashes showing any image format)

This is with the rolling release from 23rd of July 2024 @jesmrec

As the issue is still open but without comments I imagine it was a problem with iOS 16.6.1 like @MarSan2021 had or like 16.1.2 like I (still) have.

I will upgrade to the latest iOS (17.5.1) tomorrow and report back. Maybe it could be necessary to have a minimum iOS version for the iPhone app, or look at what changed in their api.

azta commented 3 months ago

@all issue could be closed. Updating to iOS 17.5.1 resolves the problem here at least.

jesmrec commented 3 months ago

@azta let's keep it open till the reporter @MarSan2021 confirms it's ok

paladincorners commented 1 month ago

Hello, confirming the issue happens on iOS 16.7. Given that the iOS app currently supports iOS 15 onwards, not sure the issue should just be closed with the solution to update to iOS 17+? Not all devices are able to update.

jesmrec commented 1 month ago

something we can do here @felix-schwarz ?