{"action":"created","issue":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/1143","repository_url":"https://api.github.com/repos/xonsh/xonsh","labels_url":"https://api.github.com/repos/xonsh/xonsh/issues/1143/labels{/name}","comments_url":"https://api.github.com/repos/xonsh/xonsh/issues/1143/comments","events_url":"https://api.github.com/repos/xonsh/xonsh/issues/1143/events","html_url":"https://github.com/xonsh/xonsh/issues/1143","id":158788575,"number":1143,"title":"Crash when run from gdb","user":{"login":"kirbyfan64","id":1690697,"avatar_url":"https://avatars.githubusercontent.com/u/1690697?v=3","gravatar_id":"","url":"https://api.github.com/users/kirbyfan64","html_url":"https://github.com/kirbyfan64","followers_url":"https://api.github.com/users/kirbyfan64/followers","following_url":"https://api.github.com/users/kirbyfan64/following{/other_user}","gists_url":"https://api.github.com/users/kirbyfan64/gists{/gist_id}","starred_url":"https://api.github.com/users/kirbyfan64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirbyfan64/subscriptions","organizations_url":"https://api.github.com/users/kirbyfan64/orgs","repos_url":"https://api.github.com/users/kirbyfan64/repos","events_url":"https://api.github.com/users/kirbyfan64/events{/privacy}","received_events_url":"https://api.github.com/users/kirbyfan64/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xonsh/xonsh/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xonsh/xonsh/milestones/4","html_url":"https://github.com/xonsh/xonsh/milestones/v0.4.0","labels_url":"https://api.github.com/repos/xonsh/xonsh/milestones/4/labels","id":1779851,"number":4,"title":"v0.4.0","description":"","creator":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"open_issues":179,"closed_issues":153,"state":"open","created_at":"2016-05-20T22:54:44Z","updated_at":"2016-06-19T18:09:52Z","due_on":"2016-06-30T04:00:00Z","closed_at":null},"comments":8,"created_at":"2016-06-06T22:19:09Z","updated_at":"2016-06-19T19:14:45Z","closed_at":null,"body":"```\r\nryan@DevPC-LX ~/fy $ gdb build/fy\r\nGNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1\r\nCopyright (C) 2014 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-linux-gnu\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>.\r\nFind the GDB manual and other documentation resources online at:\r\n<http://www.gnu.org/software/gdb/documentation/>.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nReading symbols from build/fy...(no debugging symbols found)...done.\r\n(gdb) run\r\nStarting program: /home/ryan/fy/build/fy \r\nTraceback (most recent call last):\r\n  File \"/media/ryan/stuff/anaconda/bin/xonsh\", line 9, in <module>\r\n    load_entry_point('xonsh==0.3.0', 'console_scripts', 'xonsh')()\r\n  File \"/home/ryan/stuff/anaconda/lib/python3.4/site-packages/xonsh/main.py\", line 233, in main\r\n    run_code_with_cache(args.command, shell.execer, mode='single')\r\n  File \"/home/ryan/stuff/anaconda/lib/python3.4/site-packages/xonsh/codecache.py\", line 182, in run_code_with_cache\r\n    run_compiled_code(ccode, glb, loc, mode)\r\n  File \"/home/ryan/stuff/anaconda/lib/python3.4/site-packages/xonsh/codecache.py\", line 57, in run_compiled_code\r\n    func(code, glb, loc)\r\n  File \"6c307e9a77dbb5d35a4aae7de5d259a4\", line 1, in <module>\r\nNameError: name 'home' is not defined\r\nDuring startup program exited with code 1.\r\n(gdb) \r\n```\r\n\r\ngdb seems to always use the login shell, which is in my case Xonsh. Evidently, Xonsh doesn't seem to like that too much..."},"comment":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/comments/227014947","html_url":"https://github.com/xonsh/xonsh/issues/1143#issuecomment-227014947","issue_url":"https://api.github.com/repos/xonsh/xonsh/issues/1143","id":227014947,"user":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"created_at":"2016-06-19T19:14:45Z","updated_at":"2016-06-19T19:14:45Z","body":"We could certianly have a command line option that would load the comparability layer, though."}}
{"actor":{"display_login":"scopatz"}}