{"action":"created","issue":{"url":"https://api.github.com/repos/gnunn1/terminix/issues/101","repository_url":"https://api.github.com/repos/gnunn1/terminix","labels_url":"https://api.github.com/repos/gnunn1/terminix/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/gnunn1/terminix/issues/101/comments","events_url":"https://api.github.com/repos/gnunn1/terminix/issues/101/events","html_url":"https://github.com/gnunn1/terminix/issues/101","id":135677105,"number":101,"title":"Segmentation fault when editing profiles","user":{"login":"phw","id":29852,"avatar_url":"https://avatars.githubusercontent.com/u/29852?v=3","gravatar_id":"","url":"https://api.github.com/users/phw","html_url":"https://github.com/phw","followers_url":"https://api.github.com/users/phw/followers","following_url":"https://api.github.com/users/phw/following{/other_user}","gists_url":"https://api.github.com/users/phw/gists{/gist_id}","starred_url":"https://api.github.com/users/phw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phw/subscriptions","organizations_url":"https://api.github.com/users/phw/orgs","repos_url":"https://api.github.com/users/phw/repos","events_url":"https://api.github.com/users/phw/events{/privacy}","received_events_url":"https://api.github.com/users/phw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gnunn1/terminix/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-23T09:05:29Z","updated_at":"2016-02-25T04:01:33Z","closed_at":null,"body":"This is a strange one. When editing profiles sometimes terminix crashes with a segmentation fault. I have not yet found out how to reliable reproduce this, but it happens while inside a profile. I tried to reproduce it with the debug build and I got a crash with this output:\r\n\r\n```\r\n2016-02-23T09:57:54.824:app.d:main:23 Starting terminix...\r\n2016-02-23T09:57:54.825:app.d:main:31 No terminix UUID found\r\n2016-02-23T09:57:54.825:app.d:main:50 Creating app\r\n2016-02-23T09:57:54.825:app.d:main:54 Running application...\r\n2016-02-23T09:57:54.886:application.d:onAppStartup:241 Startup App Signal\r\n2016-02-23T09:57:54.886:util.d:findResource:169 looking for resource /usr/local/share/terminix/resources/terminix.gresource\r\n2016-02-23T09:57:54.886:util.d:findResource:169 looking for resource /usr/share/terminix/resources/terminix.gresource\r\n2016-02-23T09:57:54.886:util.d:findResource:173 Resource found and registered /usr/share/terminix/resources/terminix.gresource\r\n2016-02-23T09:57:54.887:application.d:onAppStartup:244 Monitoring shortcuts\r\n2016-02-23T09:57:54.912:application.d:applyPreferences:274 Default menu accelerator is F10\r\n2016-02-23T09:57:54.913:application.d:onCommandLine:215 App processing command line\r\n2016-02-23T09:57:54.914:cmdparams.d:this:93 Command line parameters:\r\n2016-02-23T09:57:54.914:cmdparams.d:this:94 \tworking-directory=\r\n2016-02-23T09:57:54.914:cmdparams.d:this:95 \tsession=\r\n2016-02-23T09:57:54.914:cmdparams.d:this:96 \tprofile=\r\n2016-02-23T09:57:54.914:cmdparams.d:this:97 \taction=\r\n2016-02-23T09:57:54.914:cmdparams.d:this:98 \texecute=\r\n2016-02-23T09:57:54.914:application.d:onCommandLine:228 Activating app\r\n2016-02-23T09:57:54.914:application.d:onAppActivate:234 Activate App Signal\r\n2016-02-23T09:57:54.916:appwindow.d:updateVisual:365 Setting rgba visual\r\n2016-02-23T09:57:54.937:terminal.d:setupDragAndDrop:1035 Setting up drag and drop\r\n2016-02-23T09:57:54.937:terminal.d:setupDragAndDrop:1057 Drag and drop completed\r\n2016-02-23T09:57:54.937:terminal.d:this:1353 Apply preferences\r\n2016-02-23T09:57:54.938:terminal.d:this:1355 Profile Event Handler\r\n2016-02-23T09:57:54.938:terminal.d:this:1357 Finished creation\r\n2016-02-23T09:57:54.938:terminal.d:initTerminal:1368 Initializing Terminal\r\n2016-02-23T09:57:54.938:terminal.d:spawnTerminalProcess:1002 Argument: /usr/bin/zsh\r\n2016-02-23T09:57:54.941:terminal.d:initTerminal:1372 Set VTE Size for rows 24\r\n2016-02-23T09:57:54.941:terminal.d:initTerminal:1373 Set VTE Size for columns 80\r\n2016-02-23T09:57:54.941:terminal.d:initTerminal:1376 Terminal initialized\r\n2016-02-23T09:57:54.941:terminal.d:updateTitle:649 Terminal not initialized yet, no path available\r\n2016-02-23T09:57:54.944:appwindow.d:__dgliteral1:133 Switched Sessions\r\n2016-02-23T09:57:54.945:session.d:focusRestore:900 Restoring focus to terminal\r\n2016-02-23T09:57:54.945:appwindow.d:__dgliteral1:133 Switched Sessions\r\n2016-02-23T09:57:54.945:session.d:focusRestore:900 Restoring focus to terminal\r\n2016-02-23T09:57:55.039:terminal.d:onTerminalWidgetFocusIn:804 Terminal gained focus 236b8a54-70dd-4de8-b2a3-1656a15244ef\r\n2016-02-23T09:57:55.055:terminal.d:__dgliteral3:553 Current directory changed, pid=4661 '/home/phw'\r\n2016-02-23T09:57:55.055:terminal.d:updateTitle:647 Current directory is /home/phw\r\n2016-02-23T09:57:58.014:terminal.d:onTerminalWidgetFocusOut:817 Terminal lost focus236b8a54-70dd-4de8-b2a3-1656a15244ef\r\n2016-02-23T09:57:59.247:preferences.d:getProfile:245 Getting profile 'd1f556d6-cd6d-4088-bf90-d67adfbc945a', default profile is 'd1f556d6-cd6d-4088-bf90-d67adfbc945a'\r\n2016-02-23T09:57:59.248:preferences.d:getProfile:245 Getting profile 'f4d156b5-7b08-4014-8c79-54aeb439c97e', default profile is 'd1f556d6-cd6d-4088-bf90-d67adfbc945a'\r\n2016-02-23T09:57:59.248:preferences.d:getProfile:245 Getting profile '32fb13e8-0032-4d09-8855-27fb6b951812', default profile is 'd1f556d6-cd6d-4088-bf90-d67adfbc945a'\r\n2016-02-23T09:57:59.300:terminal.d:onTerminalWidgetFocusIn:804 Terminal gained focus 236b8a54-70dd-4de8-b2a3-1656a15244ef\r\n2016-02-23T09:57:59.316:terminal.d:onTerminalWidgetFocusOut:817 Terminal lost focus236b8a54-70dd-4de8-b2a3-1656a15244ef\r\n2016-02-23T09:58:03.313:colorschemes.d:loadColorSchemes:96 Loading color schemes from /usr/local/share/terminix/schemes\r\n2016-02-23T09:58:03.313:colorschemes.d:loadColorSchemes:96 Loading color schemes from /usr/share/terminix/schemes\r\n2016-02-23T09:58:03.314:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/orchis.json\r\n2016-02-23T09:58:03.314:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/solarized-dark.json\r\n2016-02-23T09:58:03.314:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/tango.json\r\n2016-02-23T09:58:03.314:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/monokai.json\r\n2016-02-23T09:58:03.314:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/solarized-light.json\r\n2016-02-23T09:58:03.314:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/base16-twilight-dark.json\r\n2016-02-23T09:58:03.314:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/linux.json\r\n2016-02-23T09:58:03.314:colorschemes.d:loadColorSchemes:96 Loading color schemes from /home/phw/.config/terminix/schemes\r\n2016-02-23T09:58:08.675:colorschemes.d:loadColorSchemes:96 Loading color schemes from /usr/local/share/terminix/schemes\r\n2016-02-23T09:58:08.675:colorschemes.d:loadColorSchemes:96 Loading color schemes from /usr/share/terminix/schemes\r\n2016-02-23T09:58:08.675:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/orchis.json\r\n2016-02-23T09:58:08.676:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/solarized-dark.json\r\n2016-02-23T09:58:08.676:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/tango.json\r\n2016-02-23T09:58:08.676:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/monokai.json\r\n2016-02-23T09:58:08.676:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/solarized-light.json\r\n2016-02-23T09:58:08.677:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/base16-twilight-dark.json\r\n2016-02-23T09:58:08.677:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/linux.json\r\n2016-02-23T09:58:08.677:colorschemes.d:loadColorSchemes:96 Loading color schemes from /home/phw/.config/terminix/schemes\r\n2016-02-23T09:58:10.906:terminal.d:onTerminalWidgetFocusIn:804 Terminal gained focus 236b8a54-70dd-4de8-b2a3-1656a15244ef\r\n2016-02-23T09:58:14.816:preferences.d:getProfile:245 Getting profile 'd1f556d6-cd6d-4088-bf90-d67adfbc945a', default profile is 'd1f556d6-cd6d-4088-bf90-d67adfbc945a'\r\n2016-02-23T09:58:14.816:preferences.d:getProfile:245 Getting profile 'f4d156b5-7b08-4014-8c79-54aeb439c97e', default profile is 'd1f556d6-cd6d-4088-bf90-d67adfbc945a'\r\n2016-02-23T09:58:14.816:preferences.d:getProfile:245 Getting profile '32fb13e8-0032-4d09-8855-27fb6b951812', default profile is 'd1f556d6-cd6d-4088-bf90-d67adfbc945a'\r\n2016-02-23T09:58:18.452:colorschemes.d:loadColorSchemes:96 Loading color schemes from /usr/local/share/terminix/schemes\r\n2016-02-23T09:58:18.452:colorschemes.d:loadColorSchemes:96 Loading color schemes from /usr/share/terminix/schemes\r\n2016-02-23T09:58:18.452:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/orchis.json\r\n2016-02-23T09:58:18.453:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/solarized-dark.json\r\n2016-02-23T09:58:18.453:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/tango.json\r\n2016-02-23T09:58:18.453:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/monokai.json\r\n2016-02-23T09:58:18.453:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/solarized-light.json\r\n2016-02-23T09:58:18.453:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/base16-twilight-dark.json\r\n2016-02-23T09:58:18.453:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/linux.json\r\n2016-02-23T09:58:18.454:colorschemes.d:loadColorSchemes:96 Loading color schemes from /home/phw/.config/terminix/schemes\r\n2016-02-23T09:58:26.377:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:26.377:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:27.482:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:27.482:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:28.456:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:28.456:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:29.158:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:29.158:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:29.683:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:29.683:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:30.053:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:30.053:prefwindow.d:__dgliteral2:404 Key changed use-custom-command\r\n2016-02-23T09:58:32.739:preferences.d:createProfile:181 Got profile settings for 21f5eda9-6ce9-42b9-a956-69f185b01ca2\r\n2016-02-23T09:58:32.739:preferences.d:createProfile:183 Set profile name Unnamed\r\n2016-02-23T09:58:32.740:preferences.d:createProfile:186 Get list of profiles\r\n2016-02-23T09:58:32.740:preferences.d:createProfile:191 Remove default profile\r\n2016-02-23T09:58:32.740:preferences.d:createProfile:195 Update list to include new profile\r\n2016-02-23T09:58:32.755:colorschemes.d:loadColorSchemes:96 Loading color schemes from /usr/local/share/terminix/schemes\r\n2016-02-23T09:58:32.755:colorschemes.d:loadColorSchemes:96 Loading color schemes from /usr/share/terminix/schemes\r\n2016-02-23T09:58:32.755:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/orchis.json\r\n2016-02-23T09:58:32.756:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/solarized-dark.json\r\n2016-02-23T09:58:32.756:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/tango.json\r\n2016-02-23T09:58:32.756:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/monokai.json\r\n2016-02-23T09:58:32.756:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/solarized-light.json\r\n2016-02-23T09:58:32.757:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/base16-twilight-dark.json\r\n2016-02-23T09:58:32.757:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/linux.json\r\n2016-02-23T09:58:32.757:colorschemes.d:loadColorSchemes:96 Loading color schemes from /home/phw/.config/terminix/schemes\r\n2016-02-23T09:58:39.702:preferences.d:getProfile:245 Getting profile 'd1f556d6-cd6d-4088-bf90-d67adfbc945a', default profile is 'd1f556d6-cd6d-4088-bf90-d67adfbc945a'\r\n2016-02-23T09:58:39.703:preferences.d:getProfile:245 Getting profile 'f4d156b5-7b08-4014-8c79-54aeb439c97e', default profile is 'd1f556d6-cd6d-4088-bf90-d67adfbc945a'\r\n2016-02-23T09:58:39.703:preferences.d:getProfile:245 Getting profile '32fb13e8-0032-4d09-8855-27fb6b951812', default profile is 'd1f556d6-cd6d-4088-bf90-d67adfbc945a'\r\n2016-02-23T09:58:39.703:preferences.d:getProfile:245 Getting profile '21f5eda9-6ce9-42b9-a956-69f185b01ca2', default profile is 'd1f556d6-cd6d-4088-bf90-d67adfbc945a'\r\n2016-02-23T09:58:44.337:colorschemes.d:loadColorSchemes:96 Loading color schemes from /usr/local/share/terminix/schemes\r\n2016-02-23T09:58:44.337:colorschemes.d:loadColorSchemes:96 Loading color schemes from /usr/share/terminix/schemes\r\n2016-02-23T09:58:44.337:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/orchis.json\r\n2016-02-23T09:58:44.337:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/solarized-dark.json\r\n2016-02-23T09:58:44.337:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/tango.json\r\n2016-02-23T09:58:44.337:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/monokai.json\r\n2016-02-23T09:58:44.337:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/solarized-light.json\r\n2016-02-23T09:58:44.338:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/base16-twilight-dark.json\r\n2016-02-23T09:58:44.338:colorschemes.d:loadColorSchemes:102 Loading color scheme /usr/share/terminix/schemes/linux.json\r\n2016-02-23T09:58:44.338:colorschemes.d:loadColorSchemes:96 Loading color schemes from /home/phw/.config/terminix/schemes\r\n\r\n***MEMORY-ERROR***: terminix[4657]: GSlice: assertion failed: sinfo->n_allocated > 0\r\nzsh: abort (core dumped)  ./terminix\r\n```\r\n\r\nNote that I tried repeatedly  to edit profiles and do changes until at some point the crash happened. In this particular case the crash happened at the moment I activated the \"Custom font\" checkbox, but this is not reproducable and in previous crashes I did not use that checkbox at all. Must be something unrelated."},"comment":{"url":"https://api.github.com/repos/gnunn1/terminix/issues/comments/188597917","html_url":"https://github.com/gnunn1/terminix/issues/101#issuecomment-188597917","issue_url":"https://api.github.com/repos/gnunn1/terminix/issues/101","id":188597917,"user":{"login":"gnunn1","id":9358238,"avatar_url":"https://avatars.githubusercontent.com/u/9358238?v=3","gravatar_id":"","url":"https://api.github.com/users/gnunn1","html_url":"https://github.com/gnunn1","followers_url":"https://api.github.com/users/gnunn1/followers","following_url":"https://api.github.com/users/gnunn1/following{/other_user}","gists_url":"https://api.github.com/users/gnunn1/gists{/gist_id}","starred_url":"https://api.github.com/users/gnunn1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnunn1/subscriptions","organizations_url":"https://api.github.com/users/gnunn1/orgs","repos_url":"https://api.github.com/users/gnunn1/repos","events_url":"https://api.github.com/users/gnunn1/events{/privacy}","received_events_url":"https://api.github.com/users/gnunn1/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T04:01:33Z","updated_at":"2016-02-25T04:01:33Z","body":"@phw As you probably saw the GtkD maintainer provided a modified version of RGBA.d to workaround the issue. If you are interested in testing it and need me to produce a build for you just let me know."}}