{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/17170","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/17170/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/17170/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/17170/events","html_url":"https://github.com/NixOS/nixpkgs/issues/17170","id":167004979,"number":17170,"title":"Something between 125ffff..d458029 broke xterm","user":{"login":"matthiasbeyer","id":427866,"avatar_url":"https://avatars.githubusercontent.com/u/427866?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiasbeyer","html_url":"https://github.com/matthiasbeyer","followers_url":"https://api.github.com/users/matthiasbeyer/followers","following_url":"https://api.github.com/users/matthiasbeyer/following{/other_user}","gists_url":"https://api.github.com/users/matthiasbeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasbeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasbeyer/subscriptions","organizations_url":"https://api.github.com/users/matthiasbeyer/orgs","repos_url":"https://api.github.com/users/matthiasbeyer/repos","events_url":"https://api.github.com/users/matthiasbeyer/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasbeyer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/0.kind:%20bug","name":"0.kind: bug","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":43,"created_at":"2016-07-22T09:23:01Z","updated_at":"2016-07-28T20:08:30Z","closed_at":null,"body":"## Issue description\r\n\r\nI submitted a bug report in https://github.com/NixOS/nixpkgs/issues/17158, then in https://github.com/neovim/neovim/issues/5101 because I thought it would be neovim which crashes, but it wasn't. It was xterm.\r\n\r\nI start xterm through i3 with (from my `~/.i3/config`):\r\n\r\n```\r\nbindsym Mod4+Return exec xterm -bg grey18 -fg grey90\r\n```\r\n\r\nWhen I then open a file with nvim, xterm crashes (I do not believe anymore that nvim crashes, because the xterm gets killed as well and I cannot think of any reason why a crashing nvim would kill a xterm). This _also_ happens when setting `:set ft=mail` in nvim, for some reasons. It might also happen with other filetypes. Here goes my ftplugin for `mail`, for completeness:\r\n\r\n```viml\r\n\" mails\r\n\" -----\r\nsetlocal textwidth=70\r\nsetlocal wrap\r\n\r\nsetlocal fo=aw\r\n\r\nset colorcolumn=71\r\n```\r\n\r\nI `nixos-rebuild switch --rollback`ed to my generation `121`, which was at unstable channel with commit   125ffff - I was on generation `122` with commit d458029 before. Everything worked again (that's why nixos is awesome, guys! :tada: ).\r\n\r\nI diffed the nixpkgs tree between this commits. The only change to the definition of the xterm package itself is a98ae8e1526055c347409540d3d5c9dd104b81cb. **Can someone test xterm with reverted a98ae8e1526055c347409540d3d5c9dd104b81cb - to check whether this is the issue?** (I'm in the hot phase of my bachelors thesis and cannot do this right now).\r\n\r\nIf I use `git diff 125ffff..d458029` there are a _lot_ of changes which might affect xterm as well... so I'm not sure whether a98ae8e1526055c347409540d3d5c9dd104b81cb is the issue here.\r\n\r\n### Steps to reproduce\r\n\r\n1. Be on nixos-unstable at commit d458029\r\n1. Open xterm via i3 with `bindsym Mod4+Return exec xterm -bg grey18 -fg grey90` (It doesn't crash when you open an xterm via a commandline call in your already opened xterm, even if you pass the same parameters :curly_loop: )\r\n1. Open a file with `nvim` (aliased to `vim` for me): `nvim some_existing_file`.\r\n1. If the above doesn't work, try to `set ft=mail` in nvim.\r\n\r\n## Technical details\r\n\r\n* System: 16.09pre86979.d458029 (Flounder)\r\n* Nix version: nix-env (Nix) 1.11.2\r\n* Nixpkgs version: \"16.09pre86979.d458029\"\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/236009974","html_url":"https://github.com/NixOS/nixpkgs/issues/17170#issuecomment-236009974","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/17170","id":236009974,"user":{"login":"vrthra","id":70410,"avatar_url":"https://avatars.githubusercontent.com/u/70410?v=3","gravatar_id":"","url":"https://api.github.com/users/vrthra","html_url":"https://github.com/vrthra","followers_url":"https://api.github.com/users/vrthra/followers","following_url":"https://api.github.com/users/vrthra/following{/other_user}","gists_url":"https://api.github.com/users/vrthra/gists{/gist_id}","starred_url":"https://api.github.com/users/vrthra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrthra/subscriptions","organizations_url":"https://api.github.com/users/vrthra/orgs","repos_url":"https://api.github.com/users/vrthra/repos","events_url":"https://api.github.com/users/vrthra/events{/privacy}","received_events_url":"https://api.github.com/users/vrthra/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T20:08:30Z","updated_at":"2016-07-28T20:08:30Z","body":"@fpletz The commit is harmless, and adds one option for configuration. I think that might be useful."}}
{"actor":{"display_login":"vrthra"}}