Skip to content
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

mp4 access crashes latest dev App #4121

Closed
ralfi opened this issue Jun 6, 2019 · 6 comments · Fixed by #4156
Closed

mp4 access crashes latest dev App #4121

ralfi opened this issue Jun 6, 2019 · 6 comments · Fixed by #4156
Assignees
Labels

Comments

@ralfi
Copy link

ralfi commented Jun 6, 2019

Hi nextcloudies,

ONLY on DEV app try to play mp4 videos crashes the app.

Logcat ...

06-06 13:18:45.291 27949 3233 D PlatformJobService: Run job, request{id=2, tag=OfflineSyncJob, transient=false}, waited 02:59:55 (+5 days), interval 00:15:00, flex 00:05:00
06-06 13:18:45.305 27949 3233 I JobExecutor: Executing request{id=2, tag=OfflineSyncJob, transient=false}, context PlatformJobService
06-06 13:18:45.319 27949 3242 D PlatformJobService: Run job, request{id=193, tag=MediaFoldersDetectionJob, transient=false}, waited 04:22:35, interval 00:15:00, flex 00:05:00
06-06 13:18:45.320 27949 3242 I JobExecutor: Executing request{id=193, tag=MediaFoldersDetectionJob, transient=false}, context PlatformJobService
06-06 13:18:45.321 27949 3243 I JobExecutor: Finished job{id=2, finished=true, result=SUCCESS, canceled=false, periodic=true, class=OfflineSyncJob, tag=OfflineSyncJob}
06-06 13:18:45.324 27949 3240 D PlatformJobService: Run job, request{id=192, tag=FilesSyncJob, transient=false}, waited 04:22:35, interval 00:15:00, flex 00:05:00
06-06 13:18:45.336 27949 3240 I JobExecutor: Executing request{id=192, tag=FilesSyncJob, transient=false}, context PlatformJobService
06-06 13:18:45.375 27949 3233 D PlatformJobService: Finished job, request{id=2, tag=OfflineSyncJob, transient=false} SUCCESS
06-06 13:18:45.426 27949 3248 I JobExecutor: Finished job{id=192, finished=true, result=SUCCESS, canceled=false, periodic=true, class=FilesSyncJob, tag=FilesSyncJob}
06-06 13:18:45.437 27949 3240 D PlatformJobService: Finished job, request{id=192, tag=FilesSyncJob, transient=false} SUCCESS
06-06 13:18:45.511 27949 3246 D MediaProvider: Reading images for 06
06-06 13:18:45.538 27949 3246 D MediaProvider: Reading images for Camera
06-06 13:18:45.564 27949 3246 D MediaProvider: Reading images for PIXEL PIE
06-06 13:18:45.596 27949 3246 D MediaProvider: Reading images for Screenshots
06-06 13:18:45.637 27949 3246 D MediaProvider: Reading images for WhatsApp Images
06-06 13:18:45.673 27949 3246 D MediaProvider: Reading videos for WhatsApp Video
06-06 13:18:45.723 27949 3246 V ArbitraryDataProvider: Updating arbitrary data with cloud id: global key: media_folders value: {"imageMediaFolders":["/storage/emulated/0/DCIM/Camera","/storage/emulated/0/Pictures/PIXEL PIE","/storage/emulated/0/DCIM/Screenshots","/storage/emulated/0/WhatsApp/Media/WhatsApp Images","/storage/emulated/0/WhatsApp/Media/WhatsApp Video"],"videoMediaFolders":[]}
06-06 13:18:45.730 27949 3246 I JobExecutor: Finished job{id=193, finished=true, result=SUCCESS, canceled=false, periodic=true, class=MediaFoldersDetectionJob, tag=MediaFoldersDetectionJob}
06-06 13:18:45.735 27949 3242 D PlatformJobService: Finished job, request{id=193, tag=MediaFoldersDetectionJob, transient=false} SUCCESS
06-06 13:30:21.772 27949 4594 D PlatformJobService: Run job, request{id=192, tag=FilesSyncJob, transient=false}, waited 04:34:11, interval 00:15:00, flex 00:05:00
06-06 13:30:21.774 27949 4594 I JobExecutor: Executing request{id=192, tag=FilesSyncJob, transient=false}, context PlatformJobService
06-06 13:30:21.996 27949 4593 D PlatformJobService: Run job, request{id=2, tag=OfflineSyncJob, transient=false}, waited 03:11:32 (+5 days), interval 00:15:00, flex 00:05:00
06-06 13:30:21.996 27949 4593 I JobExecutor: Executing request{id=2, tag=OfflineSyncJob, transient=false}, context PlatformJobService
06-06 13:30:22.041 27949 4619 D OwnCloudClient #20: Creating OwnCloudClient
06-06 13:30:22.047 27949 4619 D AccountUtils: Restoring cookies for <user_id>@nextcloud."FQDN"
06-06 13:30:22.053 27949 4619 D OwnCloudClient #20: REQUEST GET /index.php/204
06-06 13:30:22.060 27949 4619 V NativeCrypto: SSL shutdown failed: ssl=0x766729b5c8: I/O error during system call, Broken pipe
06-06 13:30:22.062 27949 4619 D AdvancedSslSocketFactory: Creating SSL Socket with remote nextcloud."FQDN":443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@87ce254
06-06 13:30:22.063 27949 4619 D AdvancedSslSocketFactory: ... with connection timeout 60000 and socket timeout 60000
06-06 13:30:22.176 27949 4619 I ServerNameIndicator: SSLSocket implementation: com.google.android.gms.org.conscrypt.Java8FileDescriptorSocket
06-06 13:30:22.176 27949 4619 I ServerNameIndicator: SNI done, hostname: nextcloud.
06-06 13:30:22.227 27949 4623 D PlatformJobService: Run job, request{id=193, tag=MediaFoldersDetectionJob, transient=false}, waited 04:34:12, interval 00:15:00, flex 00:05:00
06-06 13:30:22.228 27949 4623 I JobExecutor: Executing request{id=193, tag=MediaFoldersDetectionJob, transient=false}, context PlatformJobService
06-06 13:30:22.281 27949 4637 D OwnCloudClient #21: Creating OwnCloudClient
06-06 13:30:22.288 27949 4637 D AccountUtils: Restoring cookies for <user_id>@nextcloud."FQDN"
06-06 13:30:22.290 27949 4637 D OwnCloudClient #21: REQUEST GET /index.php/204
06-06 13:30:22.315 27949 4637 V NativeCrypto: SSL shutdown failed: ssl=0x766729ce88: I/O error during system call, Broken pipe
06-06 13:30:22.317 27949 4597 I JobExecutor: Finished job{id=192, finished=true, result=SUCCESS, canceled=false, periodic=true, class=FilesSyncJob, tag=FilesSyncJob}
06-06 13:30:22.320 27949 4637 D AdvancedSslSocketFactory: Creating SSL Socket with remote nextcloud.:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@d5586de
06-06 13:30:22.321 27949 4637 D AdvancedSslSocketFactory: ... with connection timeout 60000 and socket timeout 60000
06-06 13:30:22.322 27949 4637 I ServerNameIndicator: SNI done, hostname: nextcloud."FQDN"
06-06 13:30:22.417 27949 4594 D PlatformJobService: Finished job, request{id=192, tag=FilesSyncJob, transient=false} SUCCESS
06-06 13:30:22.492 27949 4641 D MediaProvider: Reading images for 06
06-06 13:30:22.529 27949 4641 D MediaProvider: Reading images for Camera
06-06 13:30:22.564 27949 4641 D MediaProvider: Reading images for PIXEL PIE
06-06 13:30:22.613 27949 4641 D MediaProvider: Reading images for Screenshots
06-06 13:30:22.632 27949 4641 D MediaProvider: Reading images for WhatsApp Images
06-06 13:30:22.683 27949 4641 D MediaProvider: Reading videos for WhatsApp Video
06-06 13:30:22.778 27949 4641 V ArbitraryDataProvider: Updating arbitrary data with cloud id: global key: media_folders value: {"imageMediaFolders":["/storage/emulated/0/DCIM/Camera","/storage/emulated/0/Pictures/PIXEL PIE","/storage/emulated/0/DCIM/Screenshots","/storage/emulated/0/WhatsApp/Media/WhatsApp Images","/storage/emulated/0/WhatsApp/Media/WhatsApp Video"],"videoMediaFolders":[]}
06-06 13:30:22.905 27949 4641 I JobExecutor: Finished job{id=193, finished=true, result=SUCCESS, canceled=false, periodic=true, class=MediaFoldersDetectionJob, tag=MediaFoldersDetectionJob}
06-06 13:30:23.107 27949 4623 D PlatformJobService: Finished job, request{id=193, tag=MediaFoldersDetectionJob, transient=false} SUCCESS
06-06 13:30:23.183 27949 4619 D OfflineSyncJob: /: enter
06-06 13:30:23.194 27949 4637 D OwnCloudClient #22: Creating OwnCloudClient
06-06 13:30:23.205 27949 4619 D OfflineSyncJob: /: currentEtag:
06-06 13:30:23.208 27949 4637 D AccountUtils: Restoring cookies for <user_id>@nextcloud."FQDN"
06-06 13:30:23.211 27949 4637 D OwnCloudClient #22: REQUEST GET /index.php/204
06-06 13:30:23.229 27949 4619 D OwnCloudClient #1: REQUEST PROPFIND /remote.php/webdav/
06-06 13:30:23.777 27949 4619 D OfflineSyncJob: /: eTag unchanged
06-06 13:30:23.786 27949 4619 I JobExecutor: Finished job{id=2, finished=true, result=SUCCESS, canceled=false, periodic=true, class=OfflineSyncJob, tag=OfflineSyncJob}
06-06 13:30:23.794 27949 4593 D PlatformJobService: Finished job, request{id=2, tag=OfflineSyncJob, transient=false} SUCCESS
06-06 13:31:54.767 4861 6240 D ConnectivityService: filterNetworkStateForUid() uid: 10331, pid: 27949
06-06 13:31:54.767 4861 6240 D ConnectivityService: filterNetworkStateForUid() uid: 10331, pid: 27949, networkInfo: [type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
06-06 13:31:54.770 4861 6500 D ConnectivityService: filterNetworkStateForUid() uid: 10331, pid: 27949

@ralfi ralfi added the bug label Jun 6, 2019
@ralfi
Copy link
Author

ralfi commented Jun 13, 2019

Wow, only me?

@ezaquarii
Copy link
Collaborator

ezaquarii commented Jun 13, 2019

Hi @ralfi, thank you for the effort of taking the logcat output.

The log you pasted does not contain any stacktrace. If you application really crashed, there should be one. Could you please try the following:

  1. Reproduce the crash
  2. adb logcat -d > file.txt
  3. Open the file in editor and look for string FATAL - there should be something that . looks like a stacktrace.

Without a stacktrace it is pretty much impossible to deduce what happened, unless somebody actually reproduces the problem on a device/emulator.

@ralfi
Copy link
Author

ralfi commented Jun 13, 2019

Hi ezaquarii, its realy crashed but i will do how you told me...

@olebittner
Copy link
Contributor

olebittner commented Jun 14, 2019

Hi there
Problem occurs for me too.

Steps to reproduce:

  1. Open nextcloud app
  2. Try to play any mp4 video
  3. App crashes

Device:

Pixel 3 XL running Android 10 beta 4 (QPP4.190502.019)
Nextcloud app version: 3.7.0 RC2 and DEV-version 20190605

Stacktrace:

java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.nextcloud.client.account.UserAccountManager.isMediaStreamingSupported(android.accounts.Account)' on a null object reference

Full stacktrace as gist for readability

@ralfi
Copy link
Author

ralfi commented Jun 14, 2019

Hi ezaquarii,

dump again, also appears with the 3.7.x Pre-Releases but not with the latest 3.6.2 Release.

06-14 15:33:14.881 18009 18886 D OwnCloudClient #6: REQUEST PROPFIND /remote.php/webdav/thinki%20Daten/
06-14 15:33:15.059 18009 18887 D OwnCloudClient #6: REQUEST GET /status.php
06-14 15:33:15.162 18009 18887 D UpdateOCVersionOperation: Got new OC version 16.0.1.1
06-14 15:33:15.163 18009 18887 I UpdateOCVersionOperation: Check for update of Nextcloud server version at https://nextcloud.FQDN/remote.php/webdav: Operation finished with HTTP status code -1 (success)
06-14 15:33:15.168 18009 18887 D OwnCloudClient #6: REQUEST GET /ocs/v1.php/cloud/capabilities
06-14 15:33:15.240 18009 18886 I ReadFolderRemoteOperation: Synchronized /thinki Daten/: Operation finished with HTTP status code 207 (success)
06-14 15:33:15.240 18009 18886 D RefreshFolderOperation: Synchronizing [email protected]/thinki Daten/
06-14 15:33:15.247 18009 18886 D RefreshFolderOperation: Remote folder /thinki Daten/ changed - starting update of local data
06-14 15:33:15.261 18009 18886 D FileDataStorageManager: Saving folder /thinki Daten/ with 15 children and 0 files to remove
06-14 15:33:15.297 18009 18887 D GetRemoteCapabilitiesOperation: Successful response: {"ocs":{"meta":{"status":"ok","statuscode":100,"message":"OK","totalitems":"","itemsperpage":""},"data":{"version":{"major":16,"minor":0,"micro":1,"string":"16.0.1","edition":""},"capabilities":{"core":{"pollinterval":60,"webdav-root":"remote.php/webdav"},"bruteforce":{"delay":0},"activity":{"apiv2":["filters","filters-api","previews","rich-strings"]},"ocm":{"enabled":true,"apiVersion":"1.0-proposal1","endPoint":"https://nextcloud.FQDN/ocm","resourceTypes":[{"name":"file","shareTypes":["user","group"],"protocols":{"webdav":"/public.php/webdav/"}}]},"richdocuments":{"mimetypes":["application/vnd.oasis.opendocument.text","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.graphics","application/vnd.oasis.opendocument.presentation","application/vnd.lotus-wordpro","application/vnd.visio","application/vnd.wordperfect","application/msonenote","application/msword","application/rtf","text/rtf","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.template.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],"mimetypesNoDefaultOpen":["image/svg+xml","application/pdf","text/plain","text/csv","text/spreadsheet"],"collabora":{"convert-to":{"available":false},"hasMobileSupport":true,"hasTemplateSaveAs":true,"productName":"LOOL"},"direct_editing":true,"templates":true,"productName":"LOOL"},"dav":{"chunking":"1.0"},"external":{"v1":["sites","device","groups","redirect"]},"files_sharing":{"api_enabled":true,"public":{"enabled":true,"password":{"enforced":false},"expire_date":{"enabled":true,"days":"7","enforced":false},"multiple_links":true,"send_mail":false,"upload":true,"upload_files_drop":true},"resharing":true,"user":{"send_mail":false,"expire_date":{"enabled":true}},"group_sharing":true,"group":{"enabled":true,"expire_date":{"enabled":true}},"default_permissions":31,"federation":{"outgoing":true,"incoming":true,"expire_date":{"enabled":true}},"sharebymail":{"enabled":true,"upload_files_drop":{"enabled":true},"password":{"enabled":true},"expire_date":{"enabled":true}}},"fulltextsearch":{"remote":true,"providers":[{"id":"files","name":"Files"}]},"notifications":{"ocs-endpoints":["list","get","delete","delete-all","icons","rich-strings"],"push":["devices","object-data"],"admin-notifications":["ocs","cli"]},"password_policy":{"minLength":8,"enforceNonCommonPassword":true,"enforceNumericCharacters":false,"enforceSpecialCharacters":false,"enforceUpperLowerCase":false},"spreed":{"features":["audio","video","chat-v2","guest-signaling","empty-group-room","guest-display-names","multi-room-users","favorites","last-room-activity","no-ping","system-messages","mention-flag","in-call-flags","notification-levels","invite-groups-and-mails","locked-one-to-one-rooms","read-only-rooms"]},"theming":{"name":"Nextcloud","url":"https://nextcloud.com","slogan":"ein sicherer Ort f\u00fcr all meine Daten","color":"#0B6EDB","color-text":"#ffffff","color-element":"#0B6EDB","logo":"https://nextcloud.FQDN/c
06-14 15:33:15.299 18009 18887 D GetRemoteCapabilitiesOperation: *** Added version
06-14 15:33:15.300 18009 18887 D GetRemoteCapabilitiesOperation: *** Added core
06-14 15:33:15.300 18009 18887 D GetRemoteCapabilitiesOperation: *** Added files_sharing
06-14 15:33:15.301 18009 18887 D GetRemoteCapabilitiesOperation: *** Added files
06-14 15:33:15.301 18009 18887 D GetRemoteCapabilitiesOperation: *** Added theming
06-14 15:33:15.301 18009 18887 D GetRemoteCapabilitiesOperation: *** Added notifications
06-14 15:33:15.302 18009 18887 D GetRemoteCapabilitiesOperation: *** Added external
06-14 15:33:15.304 18009 18887 D GetRemoteCapabilitiesOperation: *** Get Capabilities completed
06-14 15:33:15.317 18009 18886 D FileDataStorageManager: Sending 16 operations to FileContentProvider
06-14 15:33:15.317 18009 18886 D FileContentProvider: applying batch in provider com.owncloud.android.providers.FileContentProvider@7a643fb (temporary: false)
06-14 15:33:15.357 4861 5032 I InputDispatcher: Delivering key to (18009): action: 0x0 (0), displayId: 0, '74a97f9'
06-14 15:33:15.358 18009 18009 D ViewRootImpl@b8d06e1[FileDisplayActivity]: ViewPostIme key 0
06-14 15:33:15.364 18009 18886 D FileContentProvider: applied batch in provider com.owncloud.android.providers.FileContentProvider@7a643fb
06-14 15:33:15.368 18009 18887 D OwnCloudClient #6: REQUEST GET /ocs/v1.php/cloud/user
06-14 15:33:15.375 18009 18886 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
06-14 15:33:15.377 18009 18886 D OwnCloudClient #6: REQUEST GET /ocs/v2.php/apps/files_sharing/api/v1/shares
06-14 15:33:15.377 18009 18009 D FileDisplayActivity: Received broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
06-14 15:33:15.386 18009 18009 D FileDisplayActivity: Setting progress visibility to true
06-14 15:33:15.437 4861 5032 I InputDispatcher: Delivering key to (18009): action: 0x1 (0), displayId: 0, '74a97f9'
06-14 15:33:15.438 18009 18009 D ViewRootImpl@b8d06e1[FileDisplayActivity]: ViewPostIme key 1
06-14 15:33:15.449 18009 18009 V FileDisplayActivity: onPause() start
06-14 15:33:15.451 18009 18009 D FileDisplayActivity: onPause() ending
06-14 15:33:15.451 18009 18009 V FileDisplayActivity: onPause() end
06-14 15:33:15.458 4861 6566 D InputDispatcher: Focus left window (18009): 74a97f9 0
06-14 15:33:15.473 18009 18009 D ViewRootImpl@b8d06e1[FileDisplayActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
06-14 15:33:15.474 18009 18009 D InputMethodManager: prepareNavigationBarInfo() DecorView@62aac06[FileDisplayActivity]
06-14 15:33:15.474 18009 18009 D InputMethodManager: getNavigationBarColor() -855310
06-14 15:33:15.510 18009 18009 D InputTransport: Input channel destroyed: fd=69
06-14 15:33:15.513 18009 18887 I RefreshFolderOperation: Got display name: com.owncloud.android.lib.common.UserInfo@77b63fd
06-14 15:33:15.513 18009 18887 D RefreshFolderOperation: Checking changes in [email protected]/
06-14 15:33:15.515 18009 18887 D OwnCloudClient #6: REQUEST PROPFIND /remote.php/webdav/
06-14 15:33:15.594 4322 4322 I SurfaceFlinger: Device | 0x745d9b5060 | 0002 | RGBA_8888 | 0.0 0.0 1080.0 2220.0 | 19 39 1061 2181 | com.nextcloud.client/com.owncloud.an[...]ctivity.FileDisplayActivity[18009]#0
06-14 15:33:15.617 18009 18887 I RefreshFolderOperation: Checked [email protected]/ : changed
06-14 15:33:15.619 18009 18887 D OwnCloudClient #6: REQUEST PROPFIND /remote.php/webdav/
06-14 15:33:15.674 18009 18886 D GetRemoteSharesForFileOperation: Got 0 shares
06-14 15:33:15.685 18009 18886 D FileDataStorageManager: Sending 15 operations to FileContentProvider
06-14 15:33:15.685 18009 18886 D FileContentProvider: applying batch in provider com.owncloud.android.providers.FileContentProvider@7a643fb (temporary: false)
06-14 15:33:15.699 18009 18886 D FileContentProvider: applied batch in provider com.owncloud.android.providers.FileContentProvider@7a643fb
06-14 15:33:15.699 18009 18886 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED
06-14 15:33:15.758 18009 18887 I ReadFolderRemoteOperation: Synchronized /: Operation finished with HTTP status code 207 (success)
06-14 15:33:15.758 18009 18887 D RefreshFolderOperation: Synchronizing [email protected]/
06-14 15:33:15.761 18009 18887 D RefreshFolderOperation: Remote folder / changed - starting update of local data
06-14 15:33:15.764 18009 18887 D FileDataStorageManager: Saving folder / with 7 children and 0 files to remove
06-14 15:33:15.788 18009 18887 D FileDataStorageManager: Sending 8 operations to FileContentProvider
06-14 15:33:15.788 18009 18887 D FileContentProvider: applying batch in provider com.owncloud.android.providers.FileContentProvider@7a643fb (temporary: false)
06-14 15:33:15.792 4322 4364 E BufferQueueProducer: [com.nextcloud.client/com.owncloud.android.ui.activity.FileDisplayActivity[18009]#0] disconnect: not connected (req=1)
06-14 15:33:15.792 18009 18540 W libEGL : EGLNativeWindowType 0x79dc3b3010 disconnect failed
06-14 15:33:15.792 18009 18540 D OpenGLRenderer: eglDestroySurface = 0x79de39cd80, 0x79dc3b3000
06-14 15:33:15.796 4322 4364 I SurfaceFlinger: id=14295 Removed com.nextcloud.client/com.owncloud.android.ui.activity.FileDisplayActivity[18009]#0 (0/68)
06-14 15:33:15.799 18009 18009 D ViewRootImpl@b8d06e1[FileDisplayActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x5 surface={valid=false 0} changed=true
06-14 15:33:15.801 18009 18009 D ViewRootImpl@b8d06e1[FileDisplayActivity]: Surface release. android.view.WindowManagerGlobal.setStoppedState:669 android.app.Activity.performStop:7646 android.app.ActivityThread.callActivityOnStop:4352 android.app.ActivityThread.performStopActivityInner:4330 android.app.ActivityThread.handleStopActivity:4405 android.app.servertransaction.TransactionExecutor.performLifecycleSequence:192 android.app.servertransaction.TransactionExecutor.cycleToPath:165 android.app.servertransaction.TransactionExecutor.executeLifecycleState:142
06-14 15:33:15.801 18009 18009 D FileDisplayActivity: onStop() ending
06-14 15:33:15.803 18009 18887 D FileContentProvider: applied batch in provider com.owncloud.android.providers.FileContentProvider@7a643fb
06-14 15:33:15.804 4322 4322 I Layer : id=14295 onRemoved com.nextcloud.client/com.owncloud.android.ui.activity.FileDisplayActivity[18009]#0
06-14 15:33:15.815 18009 18009 D FileDisplayActivity: onDestroy() ending
06-14 15:33:15.819 18009 18887 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
06-14 15:33:15.822 18009 18887 D OwnCloudClient #6: REQUEST GET /ocs/v2.php/apps/files_sharing/api/v1/shares
06-14 15:33:15.827 18009 18009 D ViewRootImpl@b8d06e1[FileDisplayActivity]: dispatchDetachedFromWindow
06-14 15:33:15.827 18009 18009 D ViewRootImpl@b8d06e1[FileDisplayActivity]: Surface release. android.view.ViewRootImpl.doDie:7931 android.view.ViewRootImpl.die:7899 android.view.WindowManagerGlobal.removeViewLocked:497 android.view.WindowManagerGlobal.removeView:435 android.view.WindowManagerImpl.removeViewImmediate:124 android.app.ActivityThread.handleDestroyActivity:4722 android.app.servertransaction.DestroyActivityItem.execute:39 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145
06-14 15:33:15.831 18009 18009 D InputTransport: Input channel destroyed: fd=81
06-14 15:33:15.832 18009 18009 V OperationsService: Destroying service
06-14 15:33:15.843 18009 18009 V FileDownloader: Destroying service
06-14 15:33:15.844 18009 18009 V FileUploader: Destroying service
06-14 15:33:15.940 18009 18887 D GetRemoteSharesForFileOperation: Got 0 shares
06-14 15:33:15.949 18009 18887 D FileDataStorageManager: Sending 7 operations to FileContentProvider
06-14 15:33:15.950 18009 18887 D FileContentProvider: applying batch in provider com.owncloud.android.providers.FileContentProvider@7a643fb (temporary: false)
06-14 15:33:15.958 18009 18887 D FileContentProvider: applied batch in provider com.owncloud.android.providers.FileContentProvider@7a643fb
06-14 15:33:15.958 18009 18887 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED
06-14 15:34:57.653 4861 4861 D MARsPolicyManager: UFZ : com.nextcloud.client(18009)
06-14 15:34:57.683 18009 19412 D PlatformJobService: Run job, request{id=2, tag=OfflineSyncJob, transient=false}, waited 00:10:00, interval 00:15:00, flex 00:05:00
06-14 15:34:57.684 18009 19412 I JobExecutor: Executing request{id=2, tag=OfflineSyncJob, transient=false}, context PlatformJobService
06-14 15:34:57.694 4861 6502 D ConnectivityService: filterNetworkStateForUid() uid: 10336, pid: 18009
06-14 15:34:57.694 4861 6502 D ConnectivityService: filterNetworkStateForUid() uid: 10336, pid: 18009, networkInfo: [type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
06-14 15:34:57.700 4861 6502 D ConnectivityService: filterNetworkStateForUid() uid: 10336, pid: 18009
06-14 15:34:57.700 4861 6502 D ConnectivityService: filterNetworkStateForUid() uid: 10336, pid: 18009, networkInfo: [type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
06-14 15:34:57.714 18009 19413 D OwnCloudClient #8: Creating OwnCloudClient
06-14 15:34:57.719 18009 19413 D AccountUtils: Restoring cookies for [email protected]
06-14 15:34:57.721 18009 19413 D OwnCloudClient #8: REQUEST GET /index.php/204
06-14 15:34:57.728 18009 19413 V NativeCrypto: SSL shutdown failed: ssl=0x79de243708: I/O error during system call, Broken pipe
06-14 15:34:57.729 18009 19413 D AdvancedSslSocketFactory: Creating SSL Socket with remote nextcloud.FQDN:443, local null:0, params: org.apache.com

@MeMi69
Copy link

MeMi69 commented Jun 16, 2019

Not only you @ralfi. Same bug here

Steps to reproduce:

Open nextcloud app
Try to play any mp4 video
App crashes
App crashes on display mp4 thumbs also

Device: Huawei Mate 9
Android: 9.0.1.179
App version 3.7.0 RC2 crashes

App version 3.6.2 works.

@ezaquarii ezaquarii self-assigned this Jun 16, 2019
ezaquarii added a commit that referenced this issue Jun 16, 2019
ezaquarii added a commit that referenced this issue Jun 16, 2019
1) Bitmap decoder does not work with vector drawables directly
2) Dependency injection in PreviewMediaFragment

Fixes #4121
Fixes #4129
Fixes #4150

Signed-off-by: Chris Narkiewicz <[email protected]>
backportbot-nextcloud bot pushed a commit that referenced this issue Jun 20, 2019
1) Bitmap decoder does not work with vector drawables directly
2) Dependency injection in PreviewMediaFragment

Fixes #4121
Fixes #4129
Fixes #4150

Signed-off-by: Chris Narkiewicz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants