Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash at startup if default shell is zsh #20

Closed
lucazade opened this issue Jan 14, 2016 · 30 comments
Closed

crash at startup if default shell is zsh #20

lucazade opened this issue Jan 14, 2016 · 30 comments
Labels

Comments

@lucazade
Copy link

crash at startup if default shell is zsh, works correctly if bash shell

gen 14 09:51:17 archos kernel: zsh[5924]: segfault at 0 ip 00007ff18051ca0f sp 00007ffd80464048 error 4 in libc-2.22.so[7ff180491000+19b000]
gen 14 09:51:17 archos systemd-coredump[5925]: Process 5924 (zsh) of user 1001 dumped core.

                                           Stack trace of thread 5924:
                                           #0  0x00007ff18051ca0f __rawmemchr (libc.so.6)
                                           #1  0x00000000004499ee init_jobs (zsh)
                                           #2  0x00000000004449df zsh_main (zsh)
                                           #3  0x00007ff1804b1610 __libc_start_main (libc.so.6)
                                           #4  0x0000000000410569 _start (zsh)
@lucazade
Copy link
Author

not fixed.. i believe it is a different bug

@gnunn1
Copy link
Owner

gnunn1 commented Jan 15, 2016

Thanks, can you do the following for me.

  • Can you post your .zshrc file here in case it is related to that.
  • Can you run the app in gdb and get a backtrace using the sequence below:
gdb terminix

This will drop you into the gdb prompt, type 'run' to start the program. It should then immediately halt and bring you back to the prompt in gdb due to the error. Type the command 'backtrace' to get the backtrace and paste the backtrace into this bug report.

@gnunn1 gnunn1 reopened this Jan 15, 2016
@lucazade
Copy link
Author

luca@archos [01:50:00] [~] 
-> % gdb terminix      
GNU gdb (GDB) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from terminix...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/terminix 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffeb3d3700 (LWP 5712)]
[New Thread 0x7fffeabd2700 (LWP 5713)]
[New Thread 0x7fffe8a66700 (LWP 5714)]
[New Thread 0x7fffdac0f700 (LWP 5717)]
[Thread 0x7fffe8a66700 (LWP 5714) exited]
[Thread 0x7fffeabd2700 (LWP 5713) exited]
[Thread 0x7fffeb3d3700 (LWP 5712) exited]
[Thread 0x7ffff7fbb3c0 (LWP 5708) exited]
[Inferior 1 (process 5708) exited normally]
(gdb) backtrace
No stack.
(gdb) 

@lucazade
Copy link
Author

luca@archos [01:51:51] [~] 
-> % cat .zshrc 
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh

# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="crcandy"

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git colored-man)

# User configuration

export PATH=$HOME/bin:/usr/local/bin:$PATH
# export MANPATH="/usr/local/man:$MANPATH"

source $ZSH/oh-my-zsh.sh

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# ssh
# export SSH_KEY_PATH="~/.ssh/dsa_id"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

export HISTSIZE=9999
export HISTFILESIZE=999999
export HISTTIMEFORMAT="%F %T "
export EDITOR=nano

# aliases
alias ls="ls -Alh --color=auto --group-directories-first"
alias ps="ps -aufx"
alias osupdate="yaourt -Syua --devel --noconfirm"
alias osclean="sudo pacman -Qtdq;yes |sudo pacman -Scc; sudo pacman-optimize; sudo rm -rf ~/.cache/ ~/.thumbnails; sudo journalctl --vacuum-time=2d"
alias osglx="glxinfo | grep -i vendor; export vblank_mode=0; export __GL_SYNC_TO_VBLANK=0; glxgears"
alias osgit="git add *; git commit; git push"
alias osjournal="journalctl -b | grep -i 'error\|fail\|critical\|no \|not\|unable\|could\|doesn\|disabl' --color -A1 -B1"
alias osxorg="cat -v /var/log/Xorg.0.log | grep -i 'error\|fail\|critical\|no \|not\|unable\|could\|doesn\|disabl' --color -A1 -B1"

@lucazade
Copy link
Author

even using an empty .zshrc terminix doesn't startup

@gnunn1
Copy link
Owner

gnunn1 commented Jan 17, 2016

Thanks for all the info, I'll do some investigation today but without a backtrace it might be challenging to figure out what is going on. I'm not sure this is related to zsh or is something else as another user has reported that zsh is working fine for him with the latest release. I assume gnome-terminal works fine for you?

@gnunn1 gnunn1 added the bug label Jan 17, 2016
@gnunn1
Copy link
Owner

gnunn1 commented Jan 17, 2016

I'm not able to reproduce, please try the new release I just pushed. If the problem still exists I'll build a special debug version that will include some tracing to try to track this down.

@lucazade
Copy link
Author

gnome-terminal works correctly with both bash and zsh (with oh-my-zsh extension), terminix works only with bash.
I tried new terminix release but without luck, same crash at startup.

if you have a debug version I can try it.

@phw
Copy link
Contributor

phw commented Jan 18, 2016

I just tried terminix today with zsh as default. Worked as expected on my up-to-date Arch installation.

@gnunn1
Copy link
Owner

gnunn1 commented Jan 19, 2016

I've created a dub release that includes a bunch of tracing so hopefully I can get an idea where it is failing. You can download it at http://www.gexperts.com/files/terminix.zip.

Note to install it you will need to unzip it into your / as per non-package release instructions as follows:

sudo unzip terminix.zip -d /

@lucazade
Copy link
Author

-> % terminix
2016-01-19T05:00:05.357:app.d:main:22 Starting terminix...
2016-01-19T05:00:05.357:app.d:main:43 Reading command parameters...
2016-01-19T05:00:05.357:cmdparams.d:this:36 Command Line Options:
workingDirectory:
2016-01-19T05:00:05.357:app.d:main:51 Running application...
2016-01-19T05:00:05.394:application.d:onAppStartup:212 Startup App Signal
2016-01-19T05:00:05.394:util.d:findResource:150 looking for resource /usr/local/share/terminix/resources/terminix.gresource
2016-01-19T05:00:05.394:util.d:findResource:150 looking for resource /usr/share/terminix/resources/terminix.gresource
2016-01-19T05:00:05.394:util.d:findResource:154 Resource found and registered /usr/share/terminix/resources/terminix.gresource
2016-01-19T05:00:05.412:application.d:onAppActivate:207 Activate App Signal
2016-01-19T05:00:05.413:appwindow.d:updateVisual:299 Setting rgba visual
2016-01-19T05:00:05.418:appwindow.d:createUI:746 Popover CreateUI called
2016-01-19T05:00:05.418:appwindow.d:initialize:590 Initializing with command line parameters

(terminix:3763): GLib-GIO-ERROR **: Settings schema 'com.gexperts.Terminix.Keybindings' does not contain a key named 'terminal-copy'

@gnunn1
Copy link
Owner

gnunn1 commented Jan 19, 2016

Sorry I missed one step you need to do before running it:

sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

That will fix the schema error, my apologies for missing that and thanks for your patience.

@lucazade
Copy link
Author

schermata da 2016-01-19 09-14-57

now it started correctly...

luca@archos [09:14:44] [~]
-> % terminix
2016-01-19T09:14:47.180:app.d:main:22 Starting terminix...
2016-01-19T09:14:47.180:app.d:main:43 Reading command parameters...
2016-01-19T09:14:47.181:cmdparams.d:this:36 Command Line Options:
workingDirectory:
2016-01-19T09:14:47.181:app.d:main:51 Running application...
2016-01-19T09:14:47.215:application.d:onAppStartup:212 Startup App Signal
2016-01-19T09:14:47.215:util.d:findResource:150 looking for resource /usr/local/share/terminix/resources/terminix.gresource
2016-01-19T09:14:47.215:util.d:findResource:150 looking for resource /usr/share/terminix/resources/terminix.gresource
2016-01-19T09:14:47.215:util.d:findResource:154 Resource found and registered /usr/share/terminix/resources/terminix.gresource
2016-01-19T09:14:47.233:application.d:onAppActivate:207 Activate App Signal
2016-01-19T09:14:47.234:appwindow.d:updateVisual:299 Setting rgba visual
2016-01-19T09:14:47.238:appwindow.d:createUI:746 Popover CreateUI called
2016-01-19T09:14:47.239:appwindow.d:initialize:590 Initializing with command line parameters
2016-01-19T09:14:47.249:terminal.d:setupDragAndDrop:901 Setting up drag and drop
2016-01-19T09:14:47.249:terminal.d:setupDragAndDrop:923 Drag and drop completed
2016-01-19T09:14:47.249:terminal.d:this:1169 Apply preferences
2016-01-19T09:14:47.249:terminal.d:this:1171 Profile Event Handler
2016-01-19T09:14:47.250:terminal.d:this:1173 Finished creation
2016-01-19T09:14:47.250:terminal.d:initTerminal:1184 Initializing Terminal
2016-01-19T09:14:47.250:terminal.d:spawnTerminalProcess:869 Argument: /bin/zsh
2016-01-19T09:14:47.251:terminal.d:initTerminal:1188 Set VTE Size for rows 24
2016-01-19T09:14:47.251:terminal.d:initTerminal:1189 Set VTE Size for columns 80
2016-01-19T09:14:47.251:terminal.d:initTerminal:1192 Terminal initialized
2016-01-19T09:14:47.251:terminal.d:updateTitle:579 Terminal not initialized yet, no path available
2016-01-19T09:14:47.366:terminal.d:__dgliteral1:485 Window title changed, pid=6002 'luca@archos: '
2016-01-19T09:14:47.366:terminal.d:updateTitle:577 Current directory is
2016-01-19T09:14:47.366:terminal.d:__dgliteral2:490 Icon title changed, pid=6002 '
'
2016-01-19T09:14:47.366:terminal.d:updateTitle:577 Current directory is

@gnunn1
Copy link
Owner

gnunn1 commented Jan 19, 2016

That's awesome, I spent some time tweaking things to get it closer to how gnome-terminal interacts with the VTE back-end so maybe that did the trick. Can you confirm that the new 0.38.0 release in AUR works for you as well and if so close this issue.

@lucazade
Copy link
Author

removed terminix from my machine and then installed 0.38.0 from AUR but it doesn't work..
there is something in the debug release that solve the issue

@gnunn1
Copy link
Owner

gnunn1 commented Jan 19, 2016

That's disappointing, the only thing I can think of that is causing this is a compiler optimization in the release version. If you have the time to help with this, what I can do is start with the debug version and then add the release compiler switches to it one at a time to try to find which one is causing the issue.

I've uploaded a baseline version at http://gexperts.com/files/terminix-test.zip, this uses a custom build setting that is functionally equivalent to the debug. Can you try this and confirm that it works and if it does I'll upload a new version with one of the switches enabled.

@lucazade
Copy link
Author

it works :)

@gnunn1
Copy link
Owner

gnunn1 commented Jan 19, 2016

Thanks, can you try this one next, I disabled bounds checking

http://gexperts.com/files/terminix-test2.zip

@lucazade
Copy link
Author

i confirm it works also this one!

@gnunn1
Copy link
Owner

gnunn1 commented Jan 20, 2016

To try to speed this up a bit I went ahead and pre-built three more versions with each one having a different flag enabled:

"buildOptions": ["noBoundsCheck", "releaseMode", "debugInfo"]
http://gexperts.com/files/terminix-test3.zip

["noBoundsCheck", "optimize", "releaseMode", "debugInfo"]
http://gexperts.com/files/terminix-test4.zip

["noBoundsCheck", "optimize", "inline", "releaseMode", "debugInfo"]
http://gexperts.com/files/terminix-test5.zip

Please try them out and let me know if any fail, thanks for your time in doing this, really appreciate it.

@lucazade
Copy link
Author

Tried and all of these releases work correctly.
I'm wondering if it is just related to debugInfo and not to compiler flags (I'm saying because official release doesn't show output in terminal and it doesn't work)

luca@archos [04:42:15] [/mnt/Estesa/Scaricati] 
-> % sudo unzip terminix-test3.zip -d / 
[sudo] password di luca: 
Archive:  terminix-test3.zip
replace /usr/bin/terminix? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
  inflating: /usr/bin/terminix       
  inflating: /usr/share/applications/com.gexperts.Terminix.desktop  
  inflating: /usr/share/terminix/schemes/tango.json  
  inflating: /usr/share/terminix/schemes/solarized-light.json  
  inflating: /usr/share/terminix/schemes/solarized-dark.json  
  inflating: /usr/share/terminix/schemes/orchis.json  
  inflating: /usr/share/terminix/schemes/linux.json  
  inflating: /usr/share/terminix/resources/terminix.gresource  
  inflating: /usr/share/glib-2.0/schemas/com.gexperts.Terminix.gschema.xml  

luca@archos [04:42:25] [/mnt/Estesa/Scaricati] 
-> % sudo glib-compile-schemas /usr/share/glib-2.0/schemas/


luca@archos [04:42:32] [/mnt/Estesa/Scaricati] 
-> % terminix 
2016-01-20T16:42:35.036:app.d:main:22 Starting terminix...
2016-01-20T16:42:35.037:app.d:main:43 Reading command parameters...
2016-01-20T16:42:35.037:cmdparams.d:this:36 Command Line Options:
    workingDirectory: 
2016-01-20T16:42:35.038:app.d:main:51 Running application...
2016-01-20T16:42:35.119:application.d:onAppStartup:212 Startup App Signal
2016-01-20T16:42:35.120:util.d:findResource:150 looking for resource /usr/local/share/terminix/resources/terminix.gresource
2016-01-20T16:42:35.125:util.d:findResource:150 looking for resource /usr/share/terminix/resources/terminix.gresource
2016-01-20T16:42:35.126:util.d:findResource:154 Resource found and registered /usr/share/terminix/resources/terminix.gresource
2016-01-20T16:42:35.169:application.d:onAppActivate:207 Activate App Signal
2016-01-20T16:42:35.171:appwindow.d:updateVisual:299 Setting rgba visual
2016-01-20T16:42:35.180:appwindow.d:createUI:746 Popover CreateUI called
2016-01-20T16:42:35.187:appwindow.d:initialize:590 Initializing with command line parameters
2016-01-20T16:42:35.205:terminal.d:setupDragAndDrop:901 Setting up drag and drop
2016-01-20T16:42:35.209:terminal.d:setupDragAndDrop:923 Drag and drop completed
2016-01-20T16:42:35.210:terminal.d:this:1169 Apply preferences
2016-01-20T16:42:35.210:terminal.d:this:1171 Profile Event Handler
2016-01-20T16:42:35.210:terminal.d:this:1173 Finished creation
2016-01-20T16:42:35.210:terminal.d:initTerminal:1184 Initializing Terminal
2016-01-20T16:42:35.211:terminal.d:spawnTerminalProcess:869 Argument: /bin/zsh
2016-01-20T16:42:35.212:terminal.d:initTerminal:1188 Set VTE Size for rows 24
2016-01-20T16:42:35.212:terminal.d:initTerminal:1189 Set VTE Size for columns 80
2016-01-20T16:42:35.213:terminal.d:initTerminal:1192 Terminal initialized
2016-01-20T16:42:35.213:terminal.d:updateTitle:579 Terminal not initialized yet, no path available
2016-01-20T16:42:35.413:terminal.d:__dgliteral1:485 Window title changed, pid=30906 'luca@archos: ~'
2016-01-20T16:42:35.413:terminal.d:updateTitle:577 Current directory is 
2016-01-20T16:42:35.413:terminal.d:__dgliteral2:490 Icon title changed, pid=30906 '~'
2016-01-20T16:42:35.413:terminal.d:updateTitle:577 Current directory is 
2016-01-20T16:42:38.443:terminal.d:isProcessRunning:1209 fg=30906 gpid=30906
2016-01-20T16:42:38.448:application.d:onAppShutdown:232 Quit App Signal





luca@archos [04:42:47] [/mnt/Estesa/Scaricati] 
-> % sudo unzip terminix-test4.zip -d /                    
Archive:  terminix-test4.zip
replace /usr/bin/terminix? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
  inflating: /usr/bin/terminix       
  inflating: /usr/share/applications/com.gexperts.Terminix.desktop  
  inflating: /usr/share/terminix/schemes/tango.json  
  inflating: /usr/share/terminix/schemes/solarized-light.json  
  inflating: /usr/share/terminix/schemes/solarized-dark.json  
  inflating: /usr/share/terminix/schemes/orchis.json  
  inflating: /usr/share/terminix/schemes/linux.json  
  inflating: /usr/share/terminix/resources/terminix.gresource  
  inflating: /usr/share/glib-2.0/schemas/com.gexperts.Terminix.gschema.xml  

luca@archos [04:43:11] [/mnt/Estesa/Scaricati] 
-> % sudo glib-compile-schemas /usr/share/glib-2.0/schemas/


luca@archos [04:43:16] [/mnt/Estesa/Scaricati] 
-> % terminix                                      
2016-01-20T16:43:18.361:app.d:main:22 Starting terminix...
2016-01-20T16:43:18.361:app.d:main:43 Reading command parameters...
2016-01-20T16:43:18.361:cmdparams.d:this:36 Command Line Options:
    workingDirectory: 
2016-01-20T16:43:18.362:app.d:main:51 Running application...
2016-01-20T16:43:18.438:application.d:onAppStartup:212 Startup App Signal
2016-01-20T16:43:18.438:util.d:findResource:150 looking for resource /usr/local/share/terminix/resources/terminix.gresource
2016-01-20T16:43:18.438:util.d:findResource:150 looking for resource /usr/share/terminix/resources/terminix.gresource
2016-01-20T16:43:18.438:util.d:findResource:154 Resource found and registered /usr/share/terminix/resources/terminix.gresource
2016-01-20T16:43:18.474:application.d:onAppActivate:207 Activate App Signal
2016-01-20T16:43:18.476:appwindow.d:updateVisual:299 Setting rgba visual
2016-01-20T16:43:18.507:appwindow.d:createUI:746 Popover CreateUI called
2016-01-20T16:43:18.513:appwindow.d:initialize:590 Initializing with command line parameters
2016-01-20T16:43:18.536:terminal.d:setupDragAndDrop:901 Setting up drag and drop
2016-01-20T16:43:18.540:terminal.d:setupDragAndDrop:923 Drag and drop completed
2016-01-20T16:43:18.540:terminal.d:this:1169 Apply preferences
2016-01-20T16:43:18.541:terminal.d:this:1171 Profile Event Handler
2016-01-20T16:43:18.542:terminal.d:this:1173 Finished creation
2016-01-20T16:43:18.542:terminal.d:initTerminal:1184 Initializing Terminal
2016-01-20T16:43:18.543:terminal.d:spawnTerminalProcess:869 Argument: /bin/zsh
2016-01-20T16:43:18.556:terminal.d:initTerminal:1188 Set VTE Size for rows 24
2016-01-20T16:43:18.556:terminal.d:initTerminal:1189 Set VTE Size for columns 80
2016-01-20T16:43:18.556:terminal.d:initTerminal:1192 Terminal initialized
2016-01-20T16:43:18.556:terminal.d:updateTitle:579 Terminal not initialized yet, no path available
2016-01-20T16:43:18.821:terminal.d:__dgliteral1:485 Window title changed, pid=30965 'luca@archos: ~'
2016-01-20T16:43:18.821:terminal.d:updateTitle:577 Current directory is 
2016-01-20T16:43:18.821:terminal.d:__dgliteral2:490 Icon title changed, pid=30965 '~'
2016-01-20T16:43:18.821:terminal.d:updateTitle:577 Current directory is 
2016-01-20T16:43:23.987:terminal.d:isProcessRunning:1209 fg=30965 gpid=30965
2016-01-20T16:43:23.991:application.d:onAppShutdown:232 Quit App Signal




luca@archos [04:43:31] [/mnt/Estesa/Scaricati] 
-> % sudo unzip terminix-test5.zip -d /                    
Archive:  terminix-test5.zip
replace /usr/bin/terminix? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
  inflating: /usr/bin/terminix       
  inflating: /usr/share/applications/com.gexperts.Terminix.desktop  
  inflating: /usr/share/terminix/schemes/tango.json  
  inflating: /usr/share/terminix/schemes/solarized-light.json  
  inflating: /usr/share/terminix/schemes/solarized-dark.json  
  inflating: /usr/share/terminix/schemes/orchis.json  
  inflating: /usr/share/terminix/schemes/linux.json  
  inflating: /usr/share/terminix/resources/terminix.gresource  
  inflating: /usr/share/glib-2.0/schemas/com.gexperts.Terminix.gschema.xml  

luca@archos [04:44:13] [/mnt/Estesa/Scaricati] 
-> % sudo glib-compile-schemas /usr/share/glib-2.0/schemas/


luca@archos [04:44:15] [/mnt/Estesa/Scaricati] 
-> % terminix 
2016-01-20T16:44:17.796:app.d:main:22 Starting terminix...
2016-01-20T16:44:17.796:app.d:main:43 Reading command parameters...
2016-01-20T16:44:17.797:cmdparams.d:this:36 Command Line Options:
    workingDirectory: 
2016-01-20T16:44:17.797:app.d:main:51 Running application...
2016-01-20T16:44:17.875:application.d:onAppStartup:212 Startup App Signal
2016-01-20T16:44:17.875:util.d:findResource:150 looking for resource /usr/local/share/terminix/resources/terminix.gresource
2016-01-20T16:44:17.875:util.d:findResource:150 looking for resource /usr/share/terminix/resources/terminix.gresource
2016-01-20T16:44:17.875:util.d:findResource:154 Resource found and registered /usr/share/terminix/resources/terminix.gresource
2016-01-20T16:44:17.921:application.d:onAppActivate:207 Activate App Signal
2016-01-20T16:44:17.928:appwindow.d:updateVisual:299 Setting rgba visual
2016-01-20T16:44:17.943:appwindow.d:createUI:746 Popover CreateUI called
2016-01-20T16:44:17.943:appwindow.d:initialize:590 Initializing with command line parameters
2016-01-20T16:44:17.962:terminal.d:setupDragAndDrop:901 Setting up drag and drop
2016-01-20T16:44:17.963:terminal.d:setupDragAndDrop:923 Drag and drop completed
2016-01-20T16:44:17.963:terminal.d:this:1169 Apply preferences
2016-01-20T16:44:17.964:terminal.d:this:1171 Profile Event Handler
2016-01-20T16:44:17.964:terminal.d:this:1173 Finished creation
2016-01-20T16:44:17.964:terminal.d:initTerminal:1184 Initializing Terminal
2016-01-20T16:44:17.965:terminal.d:spawnTerminalProcess:869 Argument: /bin/zsh
2016-01-20T16:44:17.971:terminal.d:initTerminal:1188 Set VTE Size for rows 24
2016-01-20T16:44:17.971:terminal.d:initTerminal:1189 Set VTE Size for columns 80
2016-01-20T16:44:17.971:terminal.d:initTerminal:1192 Terminal initialized
2016-01-20T16:44:17.971:terminal.d:updateTitle:579 Terminal not initialized yet, no path available
2016-01-20T16:44:18.174:terminal.d:__dgliteral1:485 Window title changed, pid=31019 'luca@archos: ~'
2016-01-20T16:44:18.174:terminal.d:updateTitle:577 Current directory is 
2016-01-20T16:44:18.174:terminal.d:__dgliteral2:490 Icon title changed, pid=31019 '~'
2016-01-20T16:44:18.174:terminal.d:updateTitle:577 Current directory is 
2016-01-20T16:44:27.426:terminal.d:isProcessRunning:1209 fg=31019 gpid=31019
2016-01-20T16:44:27.431:application.d:onAppShutdown:232 Quit App Signal

@gnunn1
Copy link
Owner

gnunn1 commented Jan 20, 2016

OK, two more versions with the last one being semantically identical to how DUB builds the release but just me specifying the flags directly. If the last version works, that means either I've accidentally fixed your issue or DUB is doing more flags in then what the documentation states.

Also, that trace output is from my logging, there is a build flag to compile it out for the release version. Version 7 that I uploaded will not have this trace anymore.

Finally, you don't need to compile the schema anymore, it hasn't changed in these test versions.

(http://gexperts.com/files/terminix-test6.zip)[http://gexperts.com/files/terminix-test6.zip]
(http://gexperts.com/files/terminix-test7.zip)[http://gexperts.com/files/terminix-test7.zip]

@lucazade
Copy link
Author

both of them work correctly!

@gnunn1
Copy link
Owner

gnunn1 commented Jan 21, 2016

Can you confirm one more time that the release version doesn't work? I'm in the middle of some changes now, but I'll do a build later tonite for you to test with the normal build release options in case I did something to fix this.

@lucazade
Copy link
Author

I confirm that 0.38.0 from AUR doesn't work.

@gnunn1
Copy link
Owner

gnunn1 commented Jan 21, 2016

Thanks, I'll do a new build in the morning as I got distracted with some effort on localization.

@gnunn1
Copy link
Owner

gnunn1 commented Jan 21, 2016

Here are two more, it is the same code with 8 being compiled using the switches that were the same as release and 9 being compiled with the normal release switch. If 8 works and 9 fails I'll just keep compiling it with the switches used in 8 from now on. Note you will need to compile schemas this time as I added some new preferences.

http://gexperts.com/files/terminix-test8.zip
http://gexperts.com/files/terminix-test9.zip

@lucazade
Copy link
Author

tested 8 and 9 and both works...
so i tried 0.38.0 from github tarball this time and not from aur and it works so I believe there is something broken in aur package.

@gnunn1
Copy link
Owner

gnunn1 commented Jan 21, 2016

Thanks, there will be a new release tomorrow. Let me know if the issue still exists then and if I can look into the package in more detail.

@lucazade
Copy link
Author

0.40 from aur works correctly.. thanks for your time.. bug can be closed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants