{"action":"created","issue":{"url":"https://api.github.com/repos/themotleyfool/Klondike/issues/112","labels_url":"https://api.github.com/repos/themotleyfool/Klondike/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/themotleyfool/Klondike/issues/112/comments","events_url":"https://api.github.com/repos/themotleyfool/Klondike/issues/112/events","html_url":"https://github.com/themotleyfool/Klondike/issues/112","id":106594892,"number":112,"title":"ObjectDisposedException: The object was used after being disposed.","user":{"login":"potz","id":5178184,"avatar_url":"https://avatars.githubusercontent.com/u/5178184?v=3","gravatar_id":"","url":"https://api.github.com/users/potz","html_url":"https://github.com/potz","followers_url":"https://api.github.com/users/potz/followers","following_url":"https://api.github.com/users/potz/following{/other_user}","gists_url":"https://api.github.com/users/potz/gists{/gist_id}","starred_url":"https://api.github.com/users/potz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potz/subscriptions","organizations_url":"https://api.github.com/users/potz/orgs","repos_url":"https://api.github.com/users/potz/repos","events_url":"https://api.github.com/users/potz/events{/privacy}","received_events_url":"https://api.github.com/users/potz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-15T16:32:48Z","updated_at":"2015-09-15T18:12:02Z","closed_at":null,"body":"Got this while serving klondike through a nginx reverse proxy.\r\n\r\n```\r\nStacktrace:\r\n\r\n\r\nNative stacktrace:\r\n\r\n        mono() [0x4accac]\r\n        mono() [0x50451f]\r\n        mono() [0x42a7c7]\r\n        /lib/x86_64-linux-gnu/libpthread.so.0(+0xf0a0) [0x7f44710590a0]\r\n        mono() [0x4a9cf8]\r\n        mono() [0x4adc92]\r\n        mono() [0x503729]\r\n        [0x40b121ee]\r\n\r\nDebug info from gdb:\r\n\r\n\r\n=================================================================\r\nGot a SIGSEGV while executing native code. This usually indicates\r\na fatal error in the mono runtime or one of the native libraries \r\nused by your application.\r\n=================================================================\r\n\r\nRunning interactively\r\n2015-09-14 17:10:10,622 [1] INFO  Klondike.SelfHost.KlondikeService - Using ServerFactory Nowin\r\n2015-09-14 17:10:10,945 [1] INFO  NuGet.Lucene.LucenePackageRepository - Refreshing index. Package count: 0\r\n2015-09-14 17:10:13,038 [Threadpool worker] INFO  NuGet.Lucene.LucenePackageRepository - Synchronizing packages with filesystem.\r\n2015-09-14 17:10:13,113 [1] INFO  Klondike.SelfHost.KlondikeService - Listening for HTTP requests on address(es): http://*:8080/\r\nPress <enter> to stop.\r\n\r\nUnhandled Exception:\r\nSystem.ObjectDisposedException: The object was used after being disposed.\r\n  at System.Threading.WaitHandle.CheckDisposed () [0x00000] in <filename unknown>:0 \r\n  at System.Threading.EventWaitHandle.Reset () [0x00000] in <filename unknown>:0 \r\n  at (wrapper remoting-invoke-with-check) System.Threading.EventWaitHandle:Reset ()\r\n  at System.Threading.Timer+Scheduler.SchedulerThread () [0x00000] in <filename unknown>:0 \r\n  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 \r\n[ERROR] FATAL UNHANDLED EXCEPTION: System.ObjectDisposedException: The object was used after being disposed.\r\n  at System.Threading.WaitHandle.CheckDisposed () [0x00000] in <filename unknown>:0 \r\n  at System.Threading.EventWaitHandle.Reset () [0x00000] in <filename unknown>:0 \r\n  at (wrapper remoting-invoke-with-check) System.Threading.EventWaitHandle:Reset ()\r\n  at System.Threading.Timer+Scheduler.SchedulerThread () [0x00000] in <filename unknown>:0 \r\n  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/themotleyfool/Klondike/issues/comments/140487133","html_url":"https://github.com/themotleyfool/Klondike/issues/112#issuecomment-140487133","issue_url":"https://api.github.com/repos/themotleyfool/Klondike/issues/112","id":140487133,"user":{"login":"potz","id":5178184,"avatar_url":"https://avatars.githubusercontent.com/u/5178184?v=3","gravatar_id":"","url":"https://api.github.com/users/potz","html_url":"https://github.com/potz","followers_url":"https://api.github.com/users/potz/followers","following_url":"https://api.github.com/users/potz/following{/other_user}","gists_url":"https://api.github.com/users/potz/gists{/gist_id}","starred_url":"https://api.github.com/users/potz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potz/subscriptions","organizations_url":"https://api.github.com/users/potz/orgs","repos_url":"https://api.github.com/users/potz/repos","events_url":"https://api.github.com/users/potz/events{/privacy}","received_events_url":"https://api.github.com/users/potz/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T18:12:02Z","updated_at":"2015-09-15T18:12:02Z","body":"I'm using klondike.zip from the latest successful appveyor build ([Build 119](https://ci.appveyor.com/project/chriseldredge/klondike/build/119)) which uses commit 439bd85be1fa6ac90fb0f785ad0f00c319cee262.\r\n\r\nMono version is 3.12.\r\n\r\nThe following Dockerfile is being used to run Klondike as self-hosted:\r\n\r\n```\r\nFROM mono:3.12.0\r\n\r\nMAINTAINER Potiguar Faga <potz@potz.me>\r\n\r\nENV KLONDIKE_APPVEYOR_BUILD kq2qvufd2iy8nvtm\r\n\r\n# Create system user klondike in group klondike\r\n# (Run this first so the User ID gets assigned consistently, regardless of dependencies added later)\r\nRUN useradd -rmU klondike\r\n\r\nRUN apt-get update && \\\r\n    apt-get install -y --no-install-recommends unzip && \\\r\n    mkdir /data && chown klondike:klondike /data && \\\r\n    mkdir /app && \\\r\n    curl -sSL https://ci.appveyor.com/api/buildjobs/${KLONDIKE_APPVEYOR_BUILD}/artifacts/Klondike.zip -o /app/klondike.zip && \\\r\n    cd /app && unzip klondike.zip && rm klondike.zip && \\\r\n    apt-get purge -y unzip && \\\r\n    rm -rf /var/lib/apt/lists/*\r\n\r\nCOPY Settings.config /app/\r\n\r\n# Must have write-access to home directory\r\nVOLUME /home/klondike\r\n\r\n# Store packages on /data\r\nVOLUME /data\r\n\r\nEXPOSE 8080\r\nWORKDIR /app\r\nUSER klondike\r\n\r\nCMD [ \"mono\", \"/app/bin/Klondike.SelfHost.exe\", \"--interactive\" ]\r\n```\r\n\r\nAlso, the Settings.config file being used to build the docker image is exactly the default, but with paths changed for the packages locations:\r\n\r\n```\r\n  <add key=\"packagesPath\" value=\"/data/nuget/packages\" />\r\n  <add key=\"lucenePath\" value=\"/data/nuget/index\" />\r\n  <add key=\"symbolsPath\" value=\"/data/nuget/symbols\" />\r\n```\r\n\r\nHope that helps."}}