LarsAndersen / conque

Automatically exported from code.google.com/p/conque
0 stars 0 forks source link

SIGSEGV from ZSH when resizing a buffer window in VI #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open two different buffers in two different windows in a vi session
2. open a third buffer with :ConqueTerm zsh
3. resize one of the two buffers
4. see zsh throwing a glibc exception (double free or corruption)
5. ???
6. PROFIT!

What is the expected output? 
ConqueTerm should be able to deal with the ZSH to have the window resized 
properly.

What do you see instead?

What version of the product are you using? On what operating system?
Using latest version of ConqueTerm (2.3) on GNU/Linux.

Please provide any additional information below.
I don't know if this can be related, but I have my PS1 set both with the PS1 
and the RPS1 in zsh, in order to have a (fancy?) two-lines PS1 with the clock 
displayed on the right.

Probably the issue is related to some sort of update of the termsize 
environment variable that is not correctly handled from ConqueTerm to the child 
process (ZSH in this case) even if that sounds quite weird to me because the 
update should happen only when an input is detected.

Original issue reported on code.google.com by massimo....@gmail.com on 2 Jul 2012 at 1:37