{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/2858","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2858/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2858/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2858/events","html_url":"https://github.com/spyder-ide/spyder/issues/2858","id":120754247,"number":2858,"title":"Spyder crashes at startup in new conda environment python 3.4 on Windows 8.1 x64","user":{"login":"silicium14","id":13800015,"avatar_url":"https://avatars.githubusercontent.com/u/13800015?v=3","gravatar_id":"","url":"https://api.github.com/users/silicium14","html_url":"https://github.com/silicium14","followers_url":"https://api.github.com/users/silicium14/followers","following_url":"https://api.github.com/users/silicium14/following{/other_user}","gists_url":"https://api.github.com/users/silicium14/gists{/gist_id}","starred_url":"https://api.github.com/users/silicium14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silicium14/subscriptions","organizations_url":"https://api.github.com/users/silicium14/orgs","repos_url":"https://api.github.com/users/silicium14/repos","events_url":"https://api.github.com/users/silicium14/events{/privacy}","received_events_url":"https://api.github.com/users/silicium14/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Windows","name":"Windows","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-07T11:30:57Z","updated_at":"2016-01-12T09:54:24Z","closed_at":null,"body":"(1). **The bug**\r\n\r\nI create a new environment with `conda create --name testspyder python=3.4 spyder`\r\nthen I `activate testspyder`. When I don't specify spyder version, 2.3.8 is installed (`spyder=2.3.8=py34_0`).\r\nWhen I try to start spyder in this environment, it crashes at startup, showing a Windows popup saying `python.exe has stopped working`. There is no console output with `--show-console`.\r\n\r\nWhen I try to debug it with Microsoft Visual Studio 2015 (suggested to me by the debug button in the Windows popup), the following message appears:\r\n\r\n```\r\nUnhandled exception at 0x0000000063B347AF (QtGui4.dll) in python.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.\r\n```\r\n\r\nAccording to this message the problem seems to be related to Qt.\r\n\r\nThe same problem occurs with spyder 2.3.7 (```spyder=2.3.7=py34_3```):\r\n\r\n```\r\nconda create --name testspyder python=3.4 spyder=2.3.7\r\n```\r\n\r\n(2). **Package version comparison**\r\nMy spyder 2.3.7 is running OK in my \"stable\" environment. This stable environment is created with installing the anaconda meta package. From continuum.io:\r\n\r\n> The anaconda metapackage is designed for people who want to keep a stable set of packages, which have been tested together.\r\n\r\nI decided to make 2 packages versions comparison:\r\n\r\n1. between my stable environment and `conda create --name testspyder python=3.4 spyder` (2.3.8)\r\n2. between my stable environment and `conda create --name testspyder python=3.4 spyder=2.3.7`\r\n\r\nI only listed the packages common to the 2 compared environments AND with different versions.\r\n\r\n1. anaconda stable vs `conda create --name testspyder python=3.4 spyder`\r\n\r\n```\r\nname: stable\t\t\t\t\tname: testspyder (2.3.8)\r\ndependencies:                   dependencies:\r\n- libtiff=4.0.6=vc10_0          - libtiff=4.0.6=vc10_1\r\n- msvc_runtime=1.0.0=vc10_0     - msvc_runtime=1.0.1=vc10_0\r\n- path.py=8.1.2=py34_0          - path.py=8.1.2=py34_1\r\n- psutil=3.2.2=py34_0           - psutil=3.3.0=py34_0\r\n- pyqt=4.11.4=py34_2            - pyqt=4.11.4=py34_4\r\n- python=3.4.3=3                - python=3.4.3=5\r\n- pytz=2015.6=py34_0            - pytz=2015.7=py34_0\r\n- qt=4.8.7=vc10_4               - qt=4.8.7=vc10_5\r\n- qtconsole=4.1.0=py34_0        - qtconsole=4.1.1=py34_0\r\n- setuptools=18.4=py34_0        - setuptools=18.5=py34_0\r\n- sip=4.16.9=py34_1             - sip=4.16.9=py34_2\r\n- spyder=2.3.7=py34_3           - spyder=2.3.8=py34_0\r\n```\r\n\r\n2. anaconda stable vs `conda create --name testspyder python=3.4 spyder=2.3.7`\r\n\r\n```\r\nname: stable\t\t\t\t\tname: testspyder (2.3.7)\r\ndependencies:                   dependencies:\r\n- libtiff=4.0.6=vc10_0          - libtiff=4.0.6=vc10_1\r\n- msvc_runtime=1.0.0=vc10_0     - msvc_runtime=1.0.1=vc10_0\r\n- path.py=8.1.2=py34_0          - path.py=8.1.2=py34_1\r\n- psutil=3.2.2=py34_0           - psutil=3.3.0=py34_0\r\n- pyqt=4.11.4=py34_2            - pyqt=4.11.4=py34_4\r\n- python=3.4.3=3                - python=3.4.3=5\r\n- pytz=2015.6=py34_0            - pytz=2015.7=py34_0\r\n- qt=4.8.7=vc10_4               - qt=4.8.7=vc10_5\r\n- qtconsole=4.1.0=py34_0        - qtconsole=4.1.1=py34_0\r\n- setuptools=18.4=py34_0        - setuptools=18.5=py34_0\r\n- sip=4.16.9=py34_1             - sip=4.16.9=py34_2\r\n```\r\n\r\nI hope this helps. If this is not a spyder bug, then I hope this will help to identify the Qt / PyQt / ? bug.\r\nThis issue seems to be differs from https://github.com/spyder-ide/spyder/issues/2834 since PyQwt is not installed in any of the 3 environments I present."},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/170856704","html_url":"https://github.com/spyder-ide/spyder/issues/2858#issuecomment-170856704","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2858","id":170856704,"user":{"login":"liubenyuan","id":171338,"avatar_url":"https://avatars.githubusercontent.com/u/171338?v=3","gravatar_id":"","url":"https://api.github.com/users/liubenyuan","html_url":"https://github.com/liubenyuan","followers_url":"https://api.github.com/users/liubenyuan/followers","following_url":"https://api.github.com/users/liubenyuan/following{/other_user}","gists_url":"https://api.github.com/users/liubenyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/liubenyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liubenyuan/subscriptions","organizations_url":"https://api.github.com/users/liubenyuan/orgs","repos_url":"https://api.github.com/users/liubenyuan/repos","events_url":"https://api.github.com/users/liubenyuan/events{/privacy}","received_events_url":"https://api.github.com/users/liubenyuan/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T09:54:24Z","updated_at":"2016-01-12T09:54:24Z","body":"I would be glad to helping solving this problem. Spyder failed to start occasionally when I update anaconda or matplotlib. "}}