Jump to content

Crash when disconnecting VPN


bfahner

Recommended Posts

bfahner

Hi,

 

I'm not sure whether I should report a bug, but it seems that when I disconnect my VPN connection, MediaBrowser (version 3.0.5518.7, using Mono version 3.12.1) crashes. Somehow I think it can't handle the event of a disappearing interface (nullpointer?).

 

Relevant debug log output:

2015-03-16 15:32:46.7085 Debug - HttpServer: HTTP Response 200 to x.x.x.x. Response time: 973.645 ms.
        Url: http://mymediaserverhost:8096/Items/6fe012b19902ea50b48ca69234d01df8/Images/Primary?height=400&width=533&tag=f30778e8a5e8821a185d90ddc10bd1cd&quality=90
2015-03-16 15:32:46.7462 Debug - HttpServer: HTTP Response 200 to x.x.x.x. Response time: 390.687 ms.
        Url: http://mymediaserverhost:8096/Items/34390a4f6f428f66f5733641959ce084/Images/Primary?height=400&width=400&tag=81ac670e35a06c02d91f21444c11bb08&quality=90
2015-03-16 15:32:46.7962 Debug - HttpServer: HTTP Response 200 to x.x.x.x. Response time: 604.493 ms.
        Url: http://mymediaserverhost:8096/Items/19b90d19ec899b1691ed6cbeead5e483/Images/Primary?height=400&width=400&tag=4dfe235930ff90004732caa915f773b8&quality=90
2015-03-16 15:32:52.4464 Error - Main: UnhandledException
        *** Error Report ***
        Version: 3.0.5518.7
        Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe -programdata /home/kodi/.mediabrowser
        Operating system: Unix 3.13.0.45
        Processor count: 2
        64-Bit OS: True
        64-Bit Process: True
        Program data path: /home/kodi/.mediabrowser
        Mono: 3.12.1 (tarball Fri Mar  6 19:12:47 UTC 2015)
        Application Path: /opt/mediabrowser/MediaBrowser.Server.Mono.exe
        Object reference not set to an instance of an object
        System.NullReferenceException
          at System.Net.NetworkInformation.LinuxNetworkChange.OnAddressChanged (System.Object unused) [0x00000] in <filename unknown>:0

And the unhandled.txt:

Object reference not set to an instance of an object
System.NullReferenceException
  at System.Net.NetworkInformation.LinuxNetworkChange.OnAddressChanged (System.Object unused) [0x00000] in <filename unknown>:0

I can reproduce this issue consistently. I have a feeling such errors also happen when I delete files, but I haven't been able to reproduce that one yet.

 

Hopefully you'll be able to help. Perhaps I can set it to ignore specific interfaces?

 

Thanks,

 

Bauke 

Edited by bfahner
Link to comment
Share on other sites

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...