andcbii 12 Posted September 6, 2018 Share Posted September 6, 2018 My emby server has been running flawlessly for a few months now. Unfortunately it has unexpectedly crashed the last two nights in a row. I've been having problem with cloud sync to both google and dropbox, but i'm not sure if that is related to this or not. I've attached my log files. I'm not sure if anyone can figure out why it's crashing. NAS info: Model: RS-3412xs CPU: Core i3-2100 RAM: 4096 MB DSM: 6.2-23739 Update 2 20180905.txt 20180906.txt Link to comment Share on other sites More sharing options...
Luke 37065 Posted September 6, 2018 Share Posted September 6, 2018 Hi, try turning off the real-time monitor for your emby libraries. Link to comment Share on other sites More sharing options...
solabc16 379 Posted September 6, 2018 Share Posted September 6, 2018 Hello @@andcbii If you can run the 'send logs' utility, we should be able to confirm the cause: https://github.com/MediaBrowser/Wiki/wiki/Synology-:-How-to-Send-us-Support-Logs Best - James Link to comment Share on other sites More sharing options...
andcbii 12 Posted September 11, 2018 Author Share Posted September 11, 2018 Since i posted this thread the issues has gone away... Link to comment Share on other sites More sharing options...
Luke 37065 Posted September 12, 2018 Share Posted September 12, 2018 Thanks for the feedback ! Link to comment Share on other sites More sharing options...
solabc16 379 Posted September 12, 2018 Share Posted September 12, 2018 Hello @@andcbii - did you turn real-time monitoring off, or has it been stable since without making that change? Best - James Link to comment Share on other sites More sharing options...
djhifi 55 Posted September 15, 2018 Share Posted September 15, 2018 Since i posted this thread the issues has gone away... Which shouldn't refrain you from answering the questions posted by the ones who tried helping you out. It would be useful for future reference. That's why forums exist, to help EACH OTHER, not just your own issues. Cheers Link to comment Share on other sites More sharing options...
andcbii 12 Posted September 15, 2018 Author Share Posted September 15, 2018 Which shouldn't refrain you from answering the questions posted by the ones who tried helping you out. It would be useful for future reference. That's why forums exist, to help EACH OTHER, not just your own issues. Cheers Sorry if my prior post wasn’t clear. Emby was crashing over night(3 or 5 days in a row). I posted the logs I could and before I could test the suggestion Luke made my issue suddenly resolved its self. I didn’t take any action the issue just went away. 1 Link to comment Share on other sites More sharing options...
Brudertac 15 Posted September 16, 2018 Share Posted September 16, 2018 Emby crashes every time Scanning one of my Libraries. Have uploaded Logs: "sendlogs_SPOCK_synology_apollolake_918+_20180916T180913UTC.tgz" But, i have disabled Realtime Scanning. It crashes also when i manually start Scanning the Library... Thanks to the Team. Brudertac Link to comment Share on other sites More sharing options...
Luke 37065 Posted September 16, 2018 Share Posted September 16, 2018 Can you please attach the emby server log? Thanks. Link to comment Share on other sites More sharing options...
solabc16 379 Posted September 16, 2018 Share Posted September 16, 2018 Hello @@Brudertac Thanks for running the logs utility, the issue is being caused by a crash in the Mono runtime. This looks a little unusual and is not being caused by the usual suspect of the real-time file monitor. I'll need to look into this a little further. Are there any further details you can provide - anything you've changed configuration or system wise? When did it start, assuming it was ok before? Luke, FYI... Stacktrace: at <unknown> <0xffffffff> at (wrapper managed-to-native) object.__icall_wrapper_mono_gc_alloc_vector (intptr,intptr,intptr) [0x00000] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at (wrapper alloc) object.AllocVector (intptr,intptr) <0x0014b> at string.Concat (string[]) [0x00010] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at ServiceStack.PlatformExtensions.UniqueKey (System.Reflection.PropertyInfo) [0x0005e] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.PlatformExtensions.GetAttributes (System.Reflection.PropertyInfo) [0x00000] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.PlatformExtensions.AllAttributes (System.Reflection.PropertyInfo) [0x00008] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.ReflectionExtensions/<>c.<OnlySerializableProperties>b__39_2 (System.Reflection.PropertyInfo) [0x00000] in <baf35bb601f84127ae4f5606cf82a48c>:0 at System.Linq.Utilities/<>c__DisplayClass1_0`1<TSource_REF>.<CombinePredicates>b__0 (TSource_REF) [0x0000e] in <f14d8ac97f284f81a535548258af130d>:0 at System.Linq.Utilities/<>c__DisplayClass1_0`1<TSource_REF>.<CombinePredicates>b__0 (TSource_REF) [0x00000] in <f14d8ac97f284f81a535548258af130d>:0 at System.Linq.Enumerable/WhereArrayIterator`1<TSource_REF>.ToArray () [0x00022] in <f14d8ac97f284f81a535548258af130d>:0 at System.Linq.Enumerable.ToArray<TSource_REF> (System.Collections.Generic.IEnumerable`1<TSource_REF>) [0x0001f] in <f14d8ac97f284f81a535548258af130d>:0 at ServiceStack.ReflectionExtensions.OnlySerializableProperties (System.Reflection.PropertyInfo[],System.Type) [0x000a1] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.ReflectionExtensions.GetSerializableProperties (System.Type) [0x00016] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.Text.TypeConfig`1<T_REF>.Create () [0x00037] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.Text.TypeConfig`1<T_REF>.Init () [0x00007] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.Text.TypeConfig`1<T_REF>..cctor () [0x00000] in <baf35bb601f84127ae4f5606cf82a48c>:0 at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001e] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at <unknown> <0xffffffff> at (wrapper managed-to-native) object.__icall_wrapper_mono_generic_class_init (intptr) [0x00000] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at ServiceStack.Text.Common.JsReader`1<TSerializer_REF>.GetCoreParseStringSegmentFn<T_REF> () [0x003b1] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.Text.Common.JsReader`1<TSerializer_REF>.GetParseStringSegmentFn<T_REF> () [0x0003d] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.Text.Json.JsonReader`1<T_REF>.Refresh () [0x0000d] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.Text.Json.JsonReader`1<T_REF>..cctor () [0x00000] in <baf35bb601f84127ae4f5606cf82a48c>:0 at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001e] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at <unknown> <0xffffffff> at ServiceStack.Text.Json.JsonReader.GetParseStringSegmentFn (System.Type) [0x0007b] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.Text.Json.JsonReader/<>c__DisplayClass2_0.<GetParseFn>b__0 (string) [0x00000] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.Text.JsonSerializer.DeserializeFromString (string,System.Type) [0x0000e] in <baf35bb601f84127ae4f5606cf82a48c>:0 at ServiceStack.Text.JsonSerializer.DeserializeFromStream (System.Type,System.IO.Stream) [0x00012] in <baf35bb601f84127ae4f5606cf82a48c>:0 at Emby.Common.Implementations.Serialization.JsonSerializer.DeserializeFromStream (System.IO.Stream,System.Type) [0x00022] in <ea7199aea78e429a84e168a1e154646a>:0 at Emby.Server.Implementations.Data.SqliteItemRepository.GetItem (System.Collections.Generic.IReadOnlyList`1<SQLitePCL.pretty.IResultSetValue>,MediaBrowser.Controller.Entities.InternalItemsQuery,bool,bool,bool,bool,bool,bool,bool) [0x00047] in <ea7199aea78e429a84e168a1e154646a>:0 at Emby.Server.Implementations.Data.SqliteItemRepository/<>c__DisplayClass67_0.<GetItems>b__0 (SQLitePCL.pretty.IDatabaseConnection) [0x00132] in <ea7199aea78e429a84e168a1e154646a>:0 at SQLitePCL.pretty.DatabaseConnection.RunInTransaction<T_REF> (SQLitePCL.pretty.IDatabaseConnection,System.Func`2<SQLitePCL.pretty.IDatabaseConnection, T_REF>,SQLitePCL.pretty.TransactionMode) [0x0003f] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 at Emby.Server.Implementations.Data.ManagedConnection.RunInTransaction<T_REF> (System.Func`2<SQLitePCL.pretty.IDatabaseConnection, T_REF>,SQLitePCL.pretty.TransactionMode) [0x00000] in <ea7199aea78e429a84e168a1e154646a>:0 at Emby.Server.Implementations.Data.SqliteItemRepository.GetItems (MediaBrowser.Controller.Entities.InternalItemsQuery) [0x004a4] in <ea7199aea78e429a84e168a1e154646a>:0 at Emby.Server.Implementations.Library.LibraryManager.GetItemsResult (MediaBrowser.Controller.Entities.InternalItemsQuery) [0x00064] in <ea7199aea78e429a84e168a1e154646a>:0 at MediaBrowser.Controller.Entities.Folder.QueryRecursive (MediaBrowser.Controller.Entities.InternalItemsQuery) [0x001c2] in <695d6b858b2f4b2e944983f02fe76166>:0 at MediaBrowser.Controller.Entities.UserRootFolder.GetItemsInternal (MediaBrowser.Controller.Entities.InternalItemsQuery) [0x00008] in <695d6b858b2f4b2e944983f02fe76166>:0 at MediaBrowser.Controller.Entities.Folder.GetItems (MediaBrowser.Controller.Entities.InternalItemsQuery) [0x0009a] in <695d6b858b2f4b2e944983f02fe76166>:0 at Emby.Dlna.ContentDirectory.ControlHandler.GetChildrenSorted (MediaBrowser.Controller.Entities.BaseItem,MediaBrowser.Controller.Entities.User,MediaBrowser.Model.Dlna.SearchCriteria,MediaBrowser.Model.Dlna.SortCriteria,System.Nullable`1<int>,System.Nullable`1<int>) [0x00166] in <1f9e05a452874f06bc60ce79c9edf781>:0 at Emby.Dlna.ContentDirectory.ControlHandler.HandleSearch (System.Collections.Generic.IDictionary`2<string, string>,MediaBrowser.Controller.Entities.User,string) [0x0017c] in <1f9e05a452874f06bc60ce79c9edf781>:0 at Emby.Dlna.ContentDirectory.ControlHandler.GetResult (string,System.Collections.Generic.IDictionary`2<string, string>) [0x000c8] in <1f9e05a452874f06bc60ce79c9edf781>:0 at Emby.Dlna.Service.BaseControlHandler.ProcessControlRequestInternal (Emby.Dlna.ControlRequest) [0x00082] in <1f9e05a452874f06bc60ce79c9edf781>:0 at Emby.Dlna.Service.BaseControlHandler.ProcessControlRequest (Emby.Dlna.ControlRequest) [0x0001a] in <1f9e05a452874f06bc60ce79c9edf781>:0 at Emby.Dlna.ContentDirectory.ContentDirectory.ProcessControlRequest (Emby.Dlna.ControlRequest) [0x0009a] in <1f9e05a452874f06bc60ce79c9edf781>:0 at Emby.Dlna.Api.DlnaServerService.PostAsync (System.IO.Stream,Emby.Dlna.IUpnpService) [0x00043] in <1f9e05a452874f06bc60ce79c9edf781>:0 at Emby.Dlna.Api.DlnaServerService.Post (Emby.Dlna.Api.ProcessContentDirectoryControlRequest) [0x0000d] in <1f9e05a452874f06bc60ce79c9edf781>:0 at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object,object) [0x00000] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute (System.Type,MediaBrowser.Model.Services.IRequest,object,object,string) [0x00076] in <ea7199aea78e429a84e168a1e154646a>:0 at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost,object,MediaBrowser.Model.Services.IRequest) [0x00054] in <ea7199aea78e429a84e168a1e154646a>:0 at Emby.Server.Implementations.Services.ServiceHandler/<ProcessRequestAsync>d__13.MoveNext () [0x00155] in <ea7199aea78e429a84e168a1e154646a>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Emby.Server.Implementations.Services.ServiceHandler/<ProcessRequestAsync>d__13> (Emby.Server.Implementations.Services.ServiceHandler/<ProcessRequestAsync>d__13&) [0x0002c] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost,MediaBrowser.Model.Services.IRequest,MediaBrowser.Model.Services.IResponse,MediaBrowser.Model.Logging.ILogger,string,System.Threading.CancellationToken) [0x0004d] in <ea7199aea78e429a84e168a1e154646a>:0 at Emby.Server.Implementations.HttpServer.HttpListenerHost/<RequestHandler>d__60.MoveNext () [0x00981] in <ea7199aea78e429a84e168a1e154646a>:0 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Emby.Server.Implementations.HttpServer.HttpListenerHost/<RequestHandler>d__60> (Emby.Server.Implementations.HttpServer.HttpListenerHost/<RequestHandler>d__60&) [0x0002c] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IHttpRequest,string,string,string,System.Threading.CancellationToken) [0x0004d] in <ea7199aea78e429a84e168a1e154646a>:0 at EmbyServer.SocketSharp.WebSocketSharpListener.InitTask (SocketHttpListener.Net.HttpListenerContext,System.Threading.CancellationToken) [0x0008b] in <674f05e6c9e14fbaa7955ba5ed6025ed>:0 at EmbyServer.SocketSharp.WebSocketSharpListener/<>c__DisplayClass31_0.<ProcessContext>b__0 () [0x00000] in <674f05e6c9e14fbaa7955ba5ed6025ed>:0 at System.Threading.Tasks.Task`1<TResult_REF>.InnerInvoke () [0x0000f] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at System.Threading.Tasks.Task.ExecutionContextCallback (object) [0x00000] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) [0x00050] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at System.Threading.Tasks.Task.ExecuteEntry (bool) [0x00058] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <9f46da0973534d9c8737c50aeebf5ecb>:0 at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) [0x0001e] in <9f46da0973534d9c8737c50aeebf5ecb>:0 I've also attached a couple of the most recent server logs. Best - James server.txt server-63672725256.txt server-63672725055.txt Link to comment Share on other sites More sharing options...
Brudertac 15 Posted September 16, 2018 Share Posted September 16, 2018 Nice to hear that you found the Problem in the Log. Thats a good thing I havent change anything on the System. I was on Vacation and did not use Emby for 2 or 3 Weeks..., so it is possible that Emby updated itself? Link to comment Share on other sites More sharing options...
solabc16 379 Posted September 16, 2018 Share Posted September 16, 2018 Hello @@Brudertac Emby Server will not update itself, just to make that clear for anyone reading. The package can be auto-updated, but this is a DSM feature that has to be enabled by the end user. Version 3.5.2.0 is the latest stable release. From the start of the logs (2018-03-01), the first time this occurs is at some point after the package was started on 2018-08-13. After this point it's happening quite frequently. One common reference I'm seeing in the stack trace are calls to DLNA and SSDP services. Have you added any new media devices to your network recently? Best - James Link to comment Share on other sites More sharing options...
Brudertac 15 Posted September 16, 2018 Share Posted September 16, 2018 Hi James, thanks for making this clear. Autoupdate is not enabled on my Synology Box. I have changed my DSL Router about a week ago. But i do not think that this is the Problem... TV etc are the same. Also no Firmware Update on the TV or other DLNA Devices. Can i do any other thing to Help? best regards Brudertac Link to comment Share on other sites More sharing options...
solabc16 379 Posted September 16, 2018 Share Posted September 16, 2018 Hello @Brudertac Does your new router have any service discovery / UPnP features your old router didn't? Have you enabled any other media services on your Synology box, e.g. VideoStation? I can see DLNA requests that appear to be originating from the box itself, this has caused some issues in the past. Best - James Link to comment Share on other sites More sharing options...
Luke 37065 Posted September 17, 2018 Share Posted September 17, 2018 I'm not sure about that one. So much as changed about the databases in the next 3.6 release that it will probably be resolved anyway, but I'm not sure of what could be done in 3.5.2. This is just a guess though, but i bet if you were to repackage 3.5.2 using the netframework zip, then you probably wouldn't see this. But that doesn't support ImageMagick so that might not be an option for you. Link to comment Share on other sites More sharing options...
Brudertac 15 Posted September 17, 2018 Share Posted September 17, 2018 Does your new router have any service discovery / UPnP features your old router didn't? Have you enabled any other media services on your Synology box, e.g. VideoStation? I can see DLNA requests that appear to be originating from the box itself, this has caused some issues in the past. Hi @@solabc16 No, the Router is just a new Version, with same Features (only some Phone Functions are new) and same Firmware as the old one. I have VideoStation and Audiostation running. I can disable Videostation because this is not used but AudioStation i have to keep Running. But, those two are running since or before i installed Emby on the Box, it never was a Problem. I will disable VideoStation today and check this. For Testing i will also disable AudioStation. best regards Brudertac Link to comment Share on other sites More sharing options...
Brudertac 15 Posted September 17, 2018 Share Posted September 17, 2018 So, i had disabled Synology Mediaserver, VideoStation, AudioStation and the Fritz!Box MediaServer. (Never used this one). But Emby crashed again. So this makes no difference. Link to comment Share on other sites More sharing options...
solabc16 379 Posted September 17, 2018 Share Posted September 17, 2018 Hello @@Brudertac Thanks for trying that out. It would appear something in the environment has changed, but rather than try to get to the bottom of it, the pragmatic approach is probably to get you onto an updated version of the package. This will still be based on the latest stable, but take advantage of a number of other improvements we have been workings on. e.g. https://emby.media/community/index.php?/topic/62073-updated-emby-server-now-available-for-fs1018-and-ds3018xs-broadwellnk/ and https://emby.media/community/index.php?/topic/62040-emby-server-now-available-for-rs2818rp-rs2418rs2418rp-and-ds1618-denverton/ Let me know if you're willing to try the updated version, and I'll take you through it via PM. Best - James Link to comment Share on other sites More sharing options...
Brudertac 15 Posted September 17, 2018 Share Posted September 17, 2018 Hello @@solabc16 i really like to test it. Is it available for the DS918+? best regards Brudertac Link to comment Share on other sites More sharing options...
solabc16 379 Posted September 17, 2018 Share Posted September 17, 2018 Hello @@Brudertac It will be... give me 24hrs and I'll update the current 'apollolake' package with the latest improvements. I'll drop you a PM once it's ready. Best - James 1 Link to comment Share on other sites More sharing options...
solabc16 379 Posted September 19, 2018 Share Posted September 19, 2018 Hello @@Brudertac In case you haven't seen it, I've sent you a PM with details on running an updated stable. Best - James Link to comment Share on other sites More sharing options...
Brudertac 15 Posted September 19, 2018 Share Posted September 19, 2018 Hi @@solabc16 Thanks for making this so fast available! Great news: Scan of all Library's runs fine. No Crash happened. I will test the rest (Streaming etc) later today. best regards Brudertac Link to comment Share on other sites More sharing options...
solabc16 379 Posted September 19, 2018 Share Posted September 19, 2018 Hello @@Brudertac Thanks for the update, great news... I look forward to hearing back with further details later. Also, appreciate if you can let us know if there is any noticeable difference in performance. Best - James Link to comment Share on other sites More sharing options...
Brudertac 15 Posted September 20, 2018 Share Posted September 20, 2018 Hello @@Brudertac Also, appreciate if you can let us know if there is any noticeable difference in performance. Hi @@solabc16 Well, the new Build runs very good. It is notable faster. Browsing the Library on my LG TV is really better now. I have made a short Test with Transcoding, but 4K Movies are very hard for my 918+. Synology say that it can handle one 4K Transcoding but i have no smooth Playback here.... (But, i do not need this on my TV, it can Play the Files without Transcoding....) Playing Music also works fine. All was tested in my LAN. No access from external Location. (I do not use this currently) best regards Brudertac Link to comment Share on other sites More sharing options...
Recommended Posts