Jump to content

Recommended Posts

Posted

Hi,

last few weeks I'm experimenting with Emby. I have with your help successfully connected my LG WebOS TV with Emby. I can play movies with subtiles. But I have one specific problem. After some time two events happened. Sometimes Emby crash, I posted logs, and created issue on GitHub (https://github.com/MediaBrowser/MediaBrowser/issues/1093), but so far no one answered. And In other case, Emby server is still running, but DLNA function "stop transmitting". Emby disappear from TV.  I have checked it with Kodi too. Emby is not visible on my LAN. As I wrote before, Emby process is still runnig. 

 

Because you need logs, I'm running Emby with this command on Debian Jessie:

sudo -u mediabrowser mono --trace=N:MediaBrowser --debug MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser | tee -a /tmp/mediabrowser-$(date +%F-%H%M%S).txt

Here are my logs:

https://www.dropbox.com/sh/e3qu39knjaw1dyk/AACL3ZP2CHvtQo3hswgMFYAja?dl=0

 

and these are few last lines from logs:

[0x7f3099c7b700:] EXCEPTION handling: System.ObjectDisposedException: The object was used after being disposed.
[0x7f3099c7b700:] EXCEPTION handling: System.ObjectDisposedException: The object was used after being disposed.
[0x7f3099c7b700:] EXCEPTION handling: System.ObjectDisposedException: The object was used after being disposed.
[0x7f3099c7b700:] EXCEPTION handling: System.Net.Sockets.SocketException: The descriptor is not a socket
[0x7f3099c7b700:] EXCEPTION handling: System.ObjectDisposedException: The object was used after being disposed.
[0x7f3099c7b700:] EXCEPTION handling: System.ObjectDisposedException: The object was used after being disposed.
[0x7f3099c7b700:] EXCEPTION handling: System.ObjectDisposedException: The object was used after being disposed.
[0x7f3099c7b700:] EXCEPTION handling: System.ObjectDisposedException: The object was used after being disposed.

Can someone help me to fix this issue ?

 

Thank You

Posted

I think the issue is if your network connection drops (or perhaps idles & sleeps??), then Emby server will stop broadcasting to clients and as a result clients wont' see the server anymore. I have seen this with Windows. We'll try to get it resolved soon.

Posted

Hi,

probably not. I'm still connected to the server over SSH and screen from my laptop, when this happens. Connection was not interrupted. TV is connected over Gbps ethernet switch to my NAS (Debian), and laptop is connected over Wifi.

 

I'm try to explain it. Emby stop broadcasting DLNA messages on network (it disappear), even when I watch movie and movie is not interrupted. After the movie is finished, I can't see Emby on discovered devices. It disappear even when I don't play any movie.

Happy2Play
Posted

Do you have "Blast alive message" checked?  If not I would try that option.

 

DLNA-Server

Posted (edited)

@@Happy2Play

yes, I have tried it before with "Blast alive message". No effect.

 

@@Luke

here is latest debug log with dlna debug https://www.dropbox.com/s/531jgxdp55msyao/mediabrowser-2015-05-08-233734.txt?dl=0

 

and here is wireshark log. 192.168.2.5 is my server, .8 is LGTV, .30 is laptop with Kodi

As you can see, 192.168.2.5 send last broadcast on packet 33347

[coudy@dell Stiahnuté]$ cat /root/Desktop/wireshark.csv 
"No.","Time","Source","Destination","Protocol","Length","Info"
"199","17.933723000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"200","17.933788000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"1019","37.656255000","192.168.2.5","239.255.255.250","SSDP","136","M-SEARCH * HTTP/1.1 "
"1020","37.656350000","192.168.2.5","239.255.255.250","SSDP","136","M-SEARCH * HTTP/1.1 "
"1021","37.656544000","192.168.2.5","239.255.255.250","SSDP","136","M-SEARCH * HTTP/1.1 "
"1022","37.670707000","192.168.2.5","239.255.255.250","SSDP","375","NOTIFY * HTTP/1.1 "
"1023","37.670881000","192.168.2.5","239.255.255.250","SSDP","427","NOTIFY * HTTP/1.1 "
"1024","37.671435000","192.168.2.5","239.255.255.250","SSDP","439","NOTIFY * HTTP/1.1 "
"1025","37.671738000","192.168.2.5","239.255.255.250","SSDP","441","NOTIFY * HTTP/1.1 "
"1026","37.672003000","192.168.2.5","239.255.255.250","SSDP","455","NOTIFY * HTTP/1.1 "
"1027","37.672177000","192.168.2.5","239.255.255.250","SSDP","380","NOTIFY * HTTP/1.1 "
"1053","38.401688000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"1054","38.621277000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"1111","40.644350000","192.168.2.5","239.255.255.250","SSDP","375","NOTIFY * HTTP/1.1 "
"1112","40.644519000","192.168.2.5","239.255.255.250","SSDP","427","NOTIFY * HTTP/1.1 "
"1113","40.644761000","192.168.2.5","239.255.255.250","SSDP","439","NOTIFY * HTTP/1.1 "
"1114","40.648975000","192.168.2.5","239.255.255.250","SSDP","441","NOTIFY * HTTP/1.1 "
"1115","40.652069000","192.168.2.5","239.255.255.250","SSDP","455","NOTIFY * HTTP/1.1 "
"1116","40.652311000","192.168.2.5","239.255.255.250","SSDP","380","NOTIFY * HTTP/1.1 "
"1217","68.459347000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"1218","68.680309000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"1221","72.224429000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"1222","72.224570000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"1252","98.548340000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"1253","98.769813000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"4510","125.530382000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"4511","125.530515000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"4915","128.725614000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"4981","128.947517000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"7432","158.809147000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"7452","159.030540000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"8819","179.841226000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"8820","179.841321000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"9510","188.919176000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"9515","189.140774000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"24339","218.999217000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"24340","219.219688000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"24361","234.148451000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"24362","234.148551000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"24989","249.107299000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"24990","249.329087000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"31951","279.193470000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"31952","279.413824000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"32171","288.453168000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"32172","288.453715000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"32302","309.291875000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"32311","309.512377000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"33345","337.649863000","192.168.2.5","239.255.255.250","SSDP","136","M-SEARCH * HTTP/1.1 "
"33346","337.650007000","192.168.2.5","239.255.255.250","SSDP","136","M-SEARCH * HTTP/1.1 "
"33347","337.650206000","192.168.2.5","239.255.255.250","SSDP","136","M-SEARCH * HTTP/1.1 "
"33447","339.382912000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"33454","339.605012000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"33513","340.744114000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"33514","340.744280000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"34360","359.037845000","192.168.2.8","239.255.255.250","SSDP","289","NOTIFY * HTTP/1.1 "
"34361","359.088188000","192.168.2.8","239.255.255.250","SSDP","298","NOTIFY * HTTP/1.1 "
"34362","359.138595000","192.168.2.8","239.255.255.250","SSDP","329","NOTIFY * HTTP/1.1 "
"34363","359.188948000","192.168.2.8","239.255.255.250","SSDP","341","NOTIFY * HTTP/1.1 "
"34364","359.439427000","192.168.2.8","239.255.255.250","SSDP","289","NOTIFY * HTTP/1.1 "
"34365","359.489818000","192.168.2.8","239.255.255.250","SSDP","298","NOTIFY * HTTP/1.1 "
"34366","359.540244000","192.168.2.8","239.255.255.250","SSDP","329","NOTIFY * HTTP/1.1 "
"34367","359.590609000","192.168.2.8","239.255.255.250","SSDP","341","NOTIFY * HTTP/1.1 "
"34369","360.697496000","192.168.2.8","239.255.255.250","SSDP","373","NOTIFY * HTTP/1.1 "
"34370","360.747938000","192.168.2.8","239.255.255.250","SSDP","382","NOTIFY * HTTP/1.1 "
"34371","360.798339000","192.168.2.8","239.255.255.250","SSDP","429","NOTIFY * HTTP/1.1 "
"34372","360.848781000","192.168.2.8","239.255.255.250","SSDP","427","NOTIFY * HTTP/1.1 "
"34373","360.899188000","192.168.2.8","239.255.255.250","SSDP","439","NOTIFY * HTTP/1.1 "
"34374","360.949553000","192.168.2.8","239.255.255.250","SSDP","437","NOTIFY * HTTP/1.1 "
"34375","361.200065000","192.168.2.8","239.255.255.250","SSDP","373","NOTIFY * HTTP/1.1 "
"34376","361.250421000","192.168.2.8","239.255.255.250","SSDP","382","NOTIFY * HTTP/1.1 "
"34377","361.301011000","192.168.2.8","239.255.255.250","SSDP","429","NOTIFY * HTTP/1.1 "
"34378","361.351456000","192.168.2.8","239.255.255.250","SSDP","427","NOTIFY * HTTP/1.1 "
"34379","361.401860000","192.168.2.8","239.255.255.250","SSDP","439","NOTIFY * HTTP/1.1 "
"34380","361.452254000","192.168.2.8","239.255.255.250","SSDP","437","NOTIFY * HTTP/1.1 "
"34891","369.467457000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"34892","369.687123000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"36224","394.050655000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"36225","394.050857000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"36334","399.561494000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"36335","399.781763000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"37398","429.651323000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"37409","429.875317000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"37586","448.308828000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"37587","448.308949000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"37741","459.696447000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"37742","459.917923000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"38450","489.779594000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"38451","490.000637000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"38704","501.613698000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"38705","501.613813000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"39124","519.935935000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"39125","520.157401000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"45664","550.014178000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"45673","550.234857000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"45675","550.438375000","192.168.2.8","239.255.255.250","SSDP","318","NOTIFY * HTTP/1.1 "
"45676","550.438760000","192.168.2.8","239.255.255.250","SSDP","279","NOTIFY * HTTP/1.1 "
"45677","550.439153000","192.168.2.8","239.255.255.250","SSDP","296","NOTIFY * HTTP/1.1 "
"45678","550.439404000","192.168.2.8","239.255.255.250","SSDP","318","NOTIFY * HTTP/1.1 "
"45682","555.980199000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"45683","555.980239000","192.168.2.30","239.255.255.250","SSDP","202","M-SEARCH * HTTP/1.1 "
"49794","580.190596000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "
"49797","580.410615000","192.168.2.7","239.255.255.250","SSDP","204","M-SEARCH * HTTP/1.1 "

Edited by coudy
Posted

I think I have a fix for this although it will have to wait until the next release. A new beta went out today, and this is too risky to add into the stable release. It will be in the following stable release.

Posted

How I can switch from stable releases to beta on Linux ? It is enough change in Dashboard > Advanced > Updates from Official Relase to Beta ?  Emby will self update, or I need to use beta apt repository ?

Posted

No, we don't currently publish betas for linux. you'd have to build from source

Posted

Right, it won't be activated until after the release

Posted

I thought that changes are in current dev (cloned from git)

Posted (edited)

Hi, I have updated kernel to 4.1rc3 and updated emby dev from github to version Version 3.0.5611.12305.

It seems to be stable, so far 2h29min uptime without crash or disappearing Emby from TV

root@nas:/etc/cron.d# systemctl status mediabrowser
● mediabrowser.service - LSB: starts instance of MediaBrowser Server
   Loaded: loaded (/etc/init.d/mediabrowser)
   Active: active (running) since St 2015-05-13 07:55:03 CEST; 2h 29min ago
   CGroup: /system.slice/mediabrowser.service
           └─1006 /usr/bin/mono MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser

uname -a
Linux nas 4.1.0-rc3-emby #1 SMP Wed May 13 07:17:53 CEST 2015 x86_64 GNU/Linux

edit1: I have tried latest stable version from apt repository Version 3.0.5607.2, and it seems to be stable too.

Probably all problems was caused by mentioned bug in kernel.

Edited by coudy
Posted

Well done!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...