Giter VIP home page Giter VIP logo

topshelf.azure's People

Contributors

phatboyg avatar

Stargazers

 avatar Jake Almer avatar Kevin Davlin avatar  avatar Raj Kumar Pandey avatar Halid Cisse avatar Jeff avatar GuoHai avatar Hartono Halim avatar Bryan Perdue avatar Akos Orban avatar Michał Kupiec avatar michaelrose avatar Phil Britton avatar Aleksandr Pruks avatar Ugo Lattanzi avatar

Watchers

 avatar Dru Sellers avatar Jake Almer avatar James Cloos avatar Aleksandr Pruks avatar  avatar Raj Kumar Pandey avatar  avatar  avatar

topshelf.azure's Issues

Unhandled exception can cause TopshelfRoleEntryPoint to throw ObjectDisposedException.

If a service hosted with TopshelfRoleEntryPoint throws an unhandled exception, this can cause TopshelfRoleEntryPoint to throw an ObjectDisposedException, as follows.

Our best guess as to the erring line is https://github.com/Topshelf/Topshelf.Azure/blob/master/src/Topshelf.Azure/TopshelfRoleEntryPoint.cs#L126

Application: WaWorkerHost.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ObjectDisposedException
Stack:
   at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean ByRef)
   at Microsoft.Win32.Win32Native.SetEvent(Microsoft.Win32.SafeHandles.SafeWaitHandle)
   at System.Threading.EventWaitHandle.Set()
   at Topshelf.TopshelfRoleEntryPoint.OnStop()
   at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.StopRoleInternal()
   at Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge.<StopRole>b__4()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.