{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/5490","repository_url":"https://api.github.com/repos/aspnet/EntityFramework","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/5490/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/5490/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/5490/events","html_url":"https://github.com/aspnet/EntityFramework/issues/5490","id":156501630,"number":5490,"title":"\"Process is terminated due to StackOverflowException\" on Mac - works perfectly on Windows, how can I see further details?","user":{"login":"mleader1","id":5477158,"avatar_url":"https://avatars.githubusercontent.com/u/5477158?v=3","gravatar_id":"","url":"https://api.github.com/users/mleader1","html_url":"https://github.com/mleader1","followers_url":"https://api.github.com/users/mleader1/followers","following_url":"https://api.github.com/users/mleader1/following{/other_user}","gists_url":"https://api.github.com/users/mleader1/gists{/gist_id}","starred_url":"https://api.github.com/users/mleader1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mleader1/subscriptions","organizations_url":"https://api.github.com/users/mleader1/orgs","repos_url":"https://api.github.com/users/mleader1/repos","events_url":"https://api.github.com/users/mleader1/events{/privacy}","received_events_url":"https://api.github.com/users/mleader1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-24T13:03:13Z","updated_at":"2016-05-24T13:58:25Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying out ASP.NET RC2 + EF Core, i created a simple Web Api app connecting to our existing database with the following setting:\r\n\r\n1. WebApi:  simple ASP.NET Core 1.0 (RC2)   and on default port 5000\r\n    Test Url:    /sites/{id:long}\r\n    Data Layer testing code:   very simple  ( sudo code:    ` dbContext.Sites.FirstOrDefault(site=>site.Id == id)` \r\n\r\n2. As obviously as you can see it's a crazy simple Get request,  it works without any problem on Windows\r\n\r\nHowever today I downloaded my testing repository code to my Mac, issues happened:\r\n\r\n1.  compile and run without any problem\r\n2.  Web server kestrel 5000 opened without any problem, web page opened without issue\r\n3.  When visiting  /sites/2   ==> which worked on Windows, now it immediately failed with the following error:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5477158/15504582/9220ba9a-21b7-11e6-9185-6b3c2ce64139.png)\r\n\r\n**The only line of code in the Controller is  just calling the Get method usign the DbContext**\r\nObviously the code worked in Windows environment, so it's highly unlikely any bug in the testing code (no mention it's very simple)\r\n\r\nOne thing worth mentioning is that the database I connect to is a shadow copy of our production database that has over 100 tables in it. And the first kick start of the Asp.Net testing app takes about 20 seconds to boot up (not sure whether it is related to the entities scaffolded but it took just blink of a second without referencing the ef entities which I separated in another project)\r\n\r\nAnother thing to mention is that the database sits in Azure SQL v12.\r\n\r\nI will now try to connect to a simple demo database and check whether that works, but regardless I think it's an issue worth reporting so here it goes...\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/comments/221278697","html_url":"https://github.com/aspnet/EntityFramework/issues/5490#issuecomment-221278697","issue_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/5490","id":221278697,"user":{"login":"mleader1","id":5477158,"avatar_url":"https://avatars.githubusercontent.com/u/5477158?v=3","gravatar_id":"","url":"https://api.github.com/users/mleader1","html_url":"https://github.com/mleader1","followers_url":"https://api.github.com/users/mleader1/followers","following_url":"https://api.github.com/users/mleader1/following{/other_user}","gists_url":"https://api.github.com/users/mleader1/gists{/gist_id}","starred_url":"https://api.github.com/users/mleader1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mleader1/subscriptions","organizations_url":"https://api.github.com/users/mleader1/orgs","repos_url":"https://api.github.com/users/mleader1/repos","events_url":"https://api.github.com/users/mleader1/events{/privacy}","received_events_url":"https://api.github.com/users/mleader1/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T13:58:25Z","updated_at":"2016-05-24T13:58:25Z","body":"hi,\r\n\r\na further update here:  I've tried hooking up with another existing database with <20 data tables, it works without any issues on MacOSX\r\n\r\nSo I guess it's something weird happening with the database has a level of complexity... Since it works in Windows environment I'll stick onto this till next stable release of EF Core.\r\n\r\nHowever if anyone can shed some lights of this issue above or **a way to dig more logging information** that'll be highly appreciated - you know geeks always seek for answers... \r\n\r\nCheers"}}
{"actor":{"display_login":"mleader1"}}