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

Crash on video playback #7193

Closed
goldengel opened this issue Nov 1, 2020 · 4 comments
Closed

Crash on video playback #7193

goldengel opened this issue Nov 1, 2020 · 4 comments
Labels

Comments

@goldengel
Copy link

Steps to reproduce

  1. Upload new MP4 on Windows client
  2. select new folders and MP4 file on Android App
  3. play the video
  4. After Playback of 5 seconds
  5. click in video
  6. the app crashes

Error log of Android app

************ CAUSE OF ERROR ************

android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{b3ba260 u0 com.nextcloud.android.beta/com.nextcloud.client.media.PlayerService}
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1946)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7397)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)

************ APP INFORMATION ************
ID: com.nextcloud.android.beta
Version: 20201014
Build flavor: versionDev

************ DEVICE INFORMATION ************
Brand: Nokia
Device: B2N_sprout
Model: Nokia 7 plus
Id: QKQ1.190828.002
Product: Onyx_00WW

************ FIRMWARE ************
SDK: 29
Release: 10
Incremental: 00WW_4_15H

Expected behaviour

  • Tell us what should happen

Actual behaviour

  • Tell us what happens

Can you reproduce this problem on https://try.nextcloud.com?

  • Please create a test demo account and see if this still happens there.
  • If yes, please open up a bug report
  • If not, please verify server setup and ask for help on forum

Environment data

Android version:

Device model:

Stock or customized system:

Nextcloud app version:

Nextcloud server version:

Reverse proxy:

Logs

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

@goldengel goldengel added the bug label Nov 1, 2020
@AndyScherzinger
Copy link
Member

@goldengel can you reliably reproduce this crash this way? Cause this might help a lot since talking to @ezaquarii @tobiasKaminsky made it clear we lack a consistent description of steps to produce this error.

@goldengel
Copy link
Author

goldengel commented Nov 1, 2020

I think it's when there is no video cache on first Playback and it starts to play video. Then it also has no audio. I had no more crash when downloading the same video.

I can share the video folder in private way if really needed.

here again the log of another video. I ve tested with 12 videos.

************ CAUSE OF ERROR ************

android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{9ed460c u0 com.nextcloud.android.beta/com.nextcloud.client.media.PlayerService}
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1946)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7397)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)

************ APP INFORMATION ************
ID: com.nextcloud.android.beta
Version: 20201014
Build flavor: versionDev

************ DEVICE INFORMATION ************
Brand: Nokia
Device: B2N_sprout
Model: Nokia 7 plus
Id: QKQ1.190828.002
Product: Onyx_00WW

************ FIRMWARE ************
SDK: 29
Release: 10
Incremental: 00WW_4_15H

@AndyScherzinger AndyScherzinger changed the title Chasch on video playback Crash on video playback Nov 1, 2020
@rbwrightjr91
Copy link

Not sure if useful, but I am also seeing this issue:

************ CAUSE OF ERROR ************

android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{365fa36 u0 com.nextcloud.client/.media.PlayerService}
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2005)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7656)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30140051
Build flavor: gplay

************ DEVICE INFORMATION ************
Brand: google
Device: redfin
Model: Pixel 5
Id: RD1A.201105.003.C1
Product: redfin

************ FIRMWARE ************
SDK: 30
Release: 11
Incremental: 6886399

@tobiasKaminsky
Copy link
Member

Duplicate of #6905, as it is the same root cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants