{"action":"created","issue":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/16369","repository_url":"https://api.github.com/repos/mantidproject/mantid","labels_url":"https://api.github.com/repos/mantidproject/mantid/issues/16369/labels{/name}","comments_url":"https://api.github.com/repos/mantidproject/mantid/issues/16369/comments","events_url":"https://api.github.com/repos/mantidproject/mantid/issues/16369/events","html_url":"https://github.com/mantidproject/mantid/issues/16369","id":156454151,"number":16369,"title":"OSX: Crash on startup when determing network proxy information","user":{"login":"martyngigg","id":733773,"avatar_url":"https://avatars.githubusercontent.com/u/733773?v=3","gravatar_id":"","url":"https://api.github.com/users/martyngigg","html_url":"https://github.com/martyngigg","followers_url":"https://api.github.com/users/martyngigg/followers","following_url":"https://api.github.com/users/martyngigg/following{/other_user}","gists_url":"https://api.github.com/users/martyngigg/gists{/gist_id}","starred_url":"https://api.github.com/users/martyngigg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martyngigg/subscriptions","organizations_url":"https://api.github.com/users/martyngigg/orgs","repos_url":"https://api.github.com/users/martyngigg/repos","events_url":"https://api.github.com/users/martyngigg/events{/privacy}","received_events_url":"https://api.github.com/users/martyngigg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mantidproject/mantid/labels/Component:%20Framework","name":"Component: Framework","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"martyngigg","id":733773,"avatar_url":"https://avatars.githubusercontent.com/u/733773?v=3","gravatar_id":"","url":"https://api.github.com/users/martyngigg","html_url":"https://github.com/martyngigg","followers_url":"https://api.github.com/users/martyngigg/followers","following_url":"https://api.github.com/users/martyngigg/following{/other_user}","gists_url":"https://api.github.com/users/martyngigg/gists{/gist_id}","starred_url":"https://api.github.com/users/martyngigg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martyngigg/subscriptions","organizations_url":"https://api.github.com/users/martyngigg/orgs","repos_url":"https://api.github.com/users/martyngigg/repos","events_url":"https://api.github.com/users/martyngigg/events{/privacy}","received_events_url":"https://api.github.com/users/martyngigg/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mantidproject/mantid/milestones/58","html_url":"https://github.com/mantidproject/mantid/milestones/Release%203.8","labels_url":"https://api.github.com/repos/mantidproject/mantid/milestones/58/labels","id":1505614,"number":58,"title":"Release 3.8","description":"","creator":{"login":"granrothge","id":5910574,"avatar_url":"https://avatars.githubusercontent.com/u/5910574?v=3","gravatar_id":"","url":"https://api.github.com/users/granrothge","html_url":"https://github.com/granrothge","followers_url":"https://api.github.com/users/granrothge/followers","following_url":"https://api.github.com/users/granrothge/following{/other_user}","gists_url":"https://api.github.com/users/granrothge/gists{/gist_id}","starred_url":"https://api.github.com/users/granrothge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/granrothge/subscriptions","organizations_url":"https://api.github.com/users/granrothge/orgs","repos_url":"https://api.github.com/users/granrothge/repos","events_url":"https://api.github.com/users/granrothge/events{/privacy}","received_events_url":"https://api.github.com/users/granrothge/received_events","type":"User","site_admin":false},"open_issues":549,"closed_issues":16,"state":"open","created_at":"2016-01-13T20:00:53Z","updated_at":"2016-05-24T10:20:05Z","due_on":"2016-10-16T23:00:00Z","closed_at":null},"comments":2,"created_at":"2016-05-24T08:57:12Z","updated_at":"2016-05-24T10:51:10Z","closed_at":null,"body":"<!-- TEMPLATE FOR BUG REPORTS -->\r\n\r\n### Expected behavior\r\n\r\nNo crash\r\n\r\n### Actual behavior\r\n\r\nCrash with following error report:\r\n```\r\nThread 9 Crashed:\r\n0   com.apple.CoreFoundation       0x00007fff916d459c CFStringGetCString + 44\r\n1   libMantidKernel.dylib          0x000000010752421e Mantid::Kernel::toString(__CFString const*) + 94\r\n2   libMantidKernel.dylib          0x000000010752454d Mantid::Kernel::proxyFromDictionary(__CFDictionary const*) + 205\r\n3   libMantidKernel.dylib          0x0000000107524986 Mantid::Kernel::proxyInformationFromPac(__CFDictionary const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Mantid::Kernel::Logger&) + 902\r\n4   libMantidKernel.dylib          0x0000000107524c8d Mantid::Kernel::findHttpProxy(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Mantid::Kernel::Logger&) + 109\r\n5   libMantidKernel.dylib          0x0000000107524fe8 Mantid::Kernel::NetworkProxy::getHttpProxy(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 24\r\n6   libMantidKernel.dylib          0x00000001073acae0 Mantid::Kernel::ConfigServiceImpl::getProxy(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 368\r\n7   libMantidKernel.dylib          0x00000001073ddbb2 Mantid::Kernel::InternetHelper::setupProxyOnSession(Poco::Net::HTTPClientSession&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 50\r\n8   libMantidKernel.dylib          0x00000001073de7f5 Mantid::Kernel::InternetHelper::sendHTTPRequest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_ostream<char, std::__1::char_traits<char> >&) + 277\r\n9   libMantidKernel.dylib          0x00000001073de46c Mantid::Kernel::InternetHelper::sendRequest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_ostream<char, std::__1::char_traits<char> >&) + 316\r\n10  libMantidKernel.dylib          0x00000001075130c8 Mantid::Kernel::UsageServiceImpl::sendReport(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 360\r\n11  libMantidKernel.dylib          0x0000000107513aa0 Poco::ActiveRunnable<int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, Mantid::Kernel::UsageServiceImpl>::run() + 64\r\n12  libPocoFoundation.dylib        0x0000000108536f56 Poco::PooledThread::run() + 116\r\n13  libPocoFoundation.dylib        0x0000000108534ca0 Poco::ThreadImpl::runnableEntry(void*) + 98\r\n14  libsystem_pthread.dylib        0x00007fff8aeec99d _pthread_body + 131\r\n15  libsystem_pthread.dylib        0x00007fff8aeec91a _pthread_start + 168\r\n16  libsystem_pthread.dylib        0x00007fff8aeea351 thread_start + 13\r\n```\r\n\r\n### Steps to reproduce the behavior\r\n\r\nUser submission that is difficult to reproduce. It seems to involve having the script repository installed, having usage reporting enabled and possibly only affects OSX El Capitan.\r\n\r\n### Platforms affected\r\n\r\nOSX"},"comment":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/comments/221233787","html_url":"https://github.com/mantidproject/mantid/issues/16369#issuecomment-221233787","issue_url":"https://api.github.com/repos/mantidproject/mantid/issues/16369","id":221233787,"user":{"login":"martyngigg","id":733773,"avatar_url":"https://avatars.githubusercontent.com/u/733773?v=3","gravatar_id":"","url":"https://api.github.com/users/martyngigg","html_url":"https://github.com/martyngigg","followers_url":"https://api.github.com/users/martyngigg/followers","following_url":"https://api.github.com/users/martyngigg/following{/other_user}","gists_url":"https://api.github.com/users/martyngigg/gists{/gist_id}","starred_url":"https://api.github.com/users/martyngigg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martyngigg/subscriptions","organizations_url":"https://api.github.com/users/martyngigg/orgs","repos_url":"https://api.github.com/users/martyngigg/repos","events_url":"https://api.github.com/users/martyngigg/events{/privacy}","received_events_url":"https://api.github.com/users/martyngigg/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T10:51:10Z","updated_at":"2016-05-24T10:51:10Z","body":"I have found some steps to reproduce this. It will need to be done at a site that uses an  proxy autoconfiguration script.\r\n\r\n* make sure the OS X network proxy settings are set to use the autoconfiguration script\r\n* enable usage reports in MantidPlot by adding `usagereports.enabled = 1` to `$HOME/.mantid/Mantid.user.properties`\r\n* start MantidPlot -> :boom:"}}
{"actor":{"display_login":"martyngigg"}}