Closed yoasif closed 3 years ago
i have the same problem. its running for around ~4:20 minutes and after every i would say crash its slightly less time until the next crash. Its also happens in the 1.12.1 version. Im using an chromecast with GoogleTV.
I can only provide these log entry but i think it doesent bring anything. i didnt get any other log ffrom the crash:
[2021-10-10 00:20:15.686 +02:00] [ERR] Error processing request. URL "GET" "/Users/dae105cab0994116af963e52148d0a8e/Images/Primary". System.NullReferenceException: Object reference not set to an instance of an object. at Jellyfin.Api.Controllers.ImageController.GetUserImage(Guid userId, ImageType imageType, String tag, Nullable
1 format, Nullable
1 maxWidth, Nullable1 maxHeight, Nullable
1 percentPlayed, Nullable1 unplayedCount, Nullable
1 width, Nullable1 height, Nullable
1 quality, Nullable1 fillWidth, Nullable
1 fillHeight, Nullable1 cropWhitespace, Nullable
1 addPlayedIndicator, Nullable1 blur, String backgroundColor, String foregroundLayer, Nullable
1 imageIndex) at lambda_method813(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker. g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker. Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware. g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.Invoke(HttpContext context) at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context) at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
an interesting phenomen of the crash is that after it happens a few time and i push the back button on my remote controller than i came back to the dashboard multiple times (these dashboards dont refresh themselfes) until i get to a working dashboard and after the next back button push i exit the app (i hope its understandable what i mean š ) Oh and when i use the cast feature of my android app its working perfectly without problems
Same here on Amazon fire stick (gen 2) with both official versions (0.12.0/0.12.1). I got back to the latest beta where all is working fine (so I can't post logs right now).
an interesting phenomen of the crash is that after it happens a few time and i push the back button on my remote controller than i came back to the dashboard multiple times (these dashboards dont refresh themselfes) until i get to a working dashboard and after the next back button push i exit the app (i hope its understandable what i mean š ) Oh and when i use the cast feature of my android app its working perfectly without problems
It's like with every crash it launches a new dashboard and you've to close them all down before getting to the working one to navigate or exit the app.
Can't approve that completly, I'm trying the last beta (version 7) and yes I have less Crashs but there still there :/ but mutch less often. Only around 1 or 2 times now and not every 4 minutes but in a shorter time frame now. Around 2:30 minutes until first crash
You're actually right... I tried watching a movie and it crashed again (2-3 times and then it stopped), but seems like it did it at a random times for me (and I didn't had the dashboard bug now). But that's all weird as I used that version for a week and maybe more without these issues... Maybe it's because I previously updated to it from an older version and I now installed it directly... Anyway, I'm gonna install the previous stable version now for sure.
When I/we could get a version with local bug loging I can provide these crash log when I can access it without root and a file browser :)
Thanks @douglasg14b for grouping all the similar issues! I read some of them and that definitely helped me figuring out why the issue wasn't happening before, but is happening now!
As I mentioned yesterday, I didn't had issues on the latest beta, but got some crashes now and they all started with my update to the new stable release...
Well, it was because I reinstalled the app and all my settings were reset! I had ExoPlayer set by default before and it was on auto now and probably trying to play the things with the bugged libVLC.
Setting ExoPlayer to be the preferred one fixed the crashing issue for me even on the new stable release 0.12.1
If I'm not wrong, the maintainer of the code said somewhere that this issue is hard to fix (because the old and messed up libVLC implementation) and it's most probably not going to be fixed here, but in the Playback rewrite!
So till then guys, try setting the default player to something different than libVLC and check if it's working normally again for you too.
Good luck and good day to all of you!
Setting ExoPlayer to be the preferred one fixed the crashing issue for me even on the new stable release 0.12.1
Thanks @siankatabg. What in the freakin hell.. that worked. This issue has been driving me crazy ever since I tested 0.12.1 prior to its official Amazon roll-out a few days ago. Earlier today I factory reset my 4K fire stick, but the problem persisted. More time than necessary has been wasted on my side, and that isn't even the part about this which upsets me the most. I'm most upset about the fact that I am still not 99+% confident in knowing which side the root problem resides.
Can approve that I have no crashes anymore with exoplayer
Closing this issue as duplicate of #1061. See my comment (https://github.com/jellyfin/jellyfin-androidtv/issues/1061#issuecomment-939736611) for some additional information.
Let me know if this issue is different (not a crash during/before/after playback) so I can re-open it.
Describe the bug
Logs
FFmpeg logs
No response
Media info of the file
Application version
0.12.0
Device information
Nvidia Shield
Android version
Android 9, Shield 8.2.3 (32.6.518.0)
Jellyfin server version
10.7.7