[Bug 291373] Re: vim: hang after ^Z / fg

2010-02-28 Thread dominiko
** Changed in: vim (Ubuntu) Status: Confirmed => Fix Released -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs/291373 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.

[Bug 291373] Re: vim: hang after ^Z / fg

2009-11-29 Thread dominiko
Bug was fixed in Vim-7.2.130. I have just installed Ubuntu-9.10 Karmic Koala, and I see that it comes with Vim-7.2.245. So bug can be marked as fixed at least in Ubuntu >= 9.10 (Karmic Koala) -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs/291373 You received this bug notification b

[Bug 291373] Re: vim: hang after ^Z / fg

2009-03-18 Thread ubunturox
I also have this problem but only if I install vim-gui-common or it gets installed by some other package. Looks like some new vimrc gets installed somewhere that causes that. Fixes that I found: alias vi: vi="vi -u ~/.vimrc" or set the DISPLAY variable to nothing: export DISPLAY= Just wanted t

[Bug 291373] Re: vim: hang after ^Z / fg

2009-03-10 Thread ubunturox
I also have this problem but only if I install vim-gui-common or it gets installed by some other package. Looks like some new vimrc gets installed somewhere that causes that. Fixes that I found: alias vi: vi="vi -u ~/.vimrc" or set the DISPLAY variable to nothing: export DISPLAY= Just wanted t

[Bug 291373] Re: vim: hang after ^Z / fg

2009-03-09 Thread Bug Watch Updater
** Changed in: vim (Debian) Status: Unknown => Fix Released -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs/291373 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.co

[Bug 291373] Re: vim: hang after ^Z / fg

2009-03-06 Thread Jorge O. Castro
** Also affects: vim (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516580 Importance: Unknown Status: Unknown -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs/291373 You received this bug notification because you are a member of Ubuntu Bugs, which is subscri

[Bug 291373] Re: vim: hang after ^Z / fg

2009-03-02 Thread dominiko
This bug has now been fixed upstream in Vim-7.2.130. You can find the patch here: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.130 See also the summary of all pages available for Vim-7.2 available at: ftp://ftp.vim.org/pub/vim/patches/7.2/README No idea when this version will make it into Ubuntu p

Re: [Bug 291373] Re: vim: hang after ^Z / fg

2009-02-22 Thread Miek Gieben
[ Quoting dominiko in "[Bug 291373] Re: vim: hang after ^Z"... ] > This is the message in vim_dev where I posted the patch: > > ** Attachment added: "fixed race condition in suspend resume with CTRL-Z fg" > > http://launchpadlibrarian.net/22983879/fix-race-condition-suspend-os_unix.c.patch o

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-22 Thread dominiko
This is the message in vim_dev where I posted the patch: http://groups.google.com/group/vim_dev/tree/browse_frm/month/2009-2/2a9cb76087f154a2?rnum=361&start=250&_done=%2Fgroup%2Fvim_dev%2Fbrowse_frm%2Fmonth%2F2009-2%3Fstart%3D250%26sa%3DN%26#doc_b5e783c7690e9614 ** Attachment added: "fixed race

Re: [Bug 291373] Re: vim: hang after ^Z / fg

2009-02-22 Thread Miek Gieben
[ Quoting David Hoeffer in "[Bug 291373] Re: vim: hang after ^Z"... ] > Thanks dominiko! I've rebuilt the package with your patch (wrapping it being /very/ lazy here... :) But do you have a deb source package somewhere for download? Regards, Miek -- vim: hang after ^Z / fg https://bugs.launchp

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-22 Thread dominiko
It's probably also a good idea to make the variable "sigcont_received" volatile since it is changed in a signal handler. I will send the patch to the vim_dev mailing list. -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs/291373 You received this bug notification because you are a membe

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-22 Thread David Hoeffer
Thanks dominiko! I've rebuilt the package with your patch (wrapping it in an #ifdef _REENTRANT), and it fixes the problem - I didn't see the problem anymore in about 30 Ctrl-z/fg sequences, while I'd get it after max 10 without the patch. -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-22 Thread River Tarnell
FWIW: I've never encountered this bug on Solaris, so presumably whatever the old code was meant to fix works fine there. I'll look at compiling a vim with this patch, and see if it fixes the problem on Linux, and/or breaks it again on Solaris. -- vim: hang after ^Z / fg https://bugs.launchpad.ne

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-22 Thread dominiko
Put previous patch as attachment (since putting it in previous comment removed spaces) ** Attachment added: "patch to fix hang when doing fg after CTRL-Z" http://launchpadlibrarian.net/22976362/fix-race-suspend-os_unix.c.patch -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs/291373

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-22 Thread dominiko
Thanks for the stack traces. That looks very useful. I've been able to reproduce this bug only twice so far. It's very rare on my machine but it did happen. >From your stack trace, I suppose that we can't assume that kill(0, SIGTSTP); is handled immediately (i.e. it's asynchronous) even though s

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-22 Thread David Hoeffer
Reported to Debian: http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=516580 -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs/291373 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-22 Thread David Hoeffer
I had a second look at this. When the bug happens, the backtrace looks like this: #0 0xb804d430 in __kernel_vsyscall () #1 0xb740cec1 in pause () from /lib/tls/i686/cmov/libc.so.6 #2 0x0815cc0a in mch_suspend () at os_unix.c:1117 #3 0x080c09ae in ex_stop (eap=0xbf84c628) at ex_docmd.c:6578 #4

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-21 Thread David Hoeffer
I'm getting this as well, sporadically, and only with vim.gnome, not with vim.basic. I can reproduce it consistently by repeatedly putting vim to sleep with Ctrl-Z and then waking it up. At some point it will hang. Here's a backtrace from my system. It seems to be the same as http://bugs.debian.o

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-18 Thread Miek Gieben
Same problem here. With zsh and Package: vim-full Status: install ok installed Priority: extra Section: editors Installed-Size: 120 Maintainer: Ubuntu Core Developers Architecture: all Source: vim Version: 1:7.1.314-3ubuntu3.1 -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs/291373 Yo

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-18 Thread Miek Gieben
Strace of when vim hangs: After the SIGINT (control-C) is of course resumes. foton.m% strace -p 8439 Process 8439 attached - interrupt to quit pause() = ? ERESTARTNOHAND (To be restarted) --- SIGINT

[Bug 291373] Re: vim: hang after ^Z / fg

2009-02-05 Thread David Bushong
Ditto. It happens almost every time for me; I've just gotten in the habit of hitting ^C every time i fg. Somewhat silly. -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs/291373 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 291373] Re: vim: hang after ^Z / fg

2009-01-12 Thread Colin Watson
I've seen this sporadically. I don't know why yet. ** Changed in: vim (Ubuntu) Status: New => Confirmed ** Changed in: vim (Ubuntu) Importance: Undecided => High -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs/291373 You received this bug notification because you are a memb

[Bug 291373] Re: vim: hang after ^Z / fg

2008-12-08 Thread Tessa Lau
I've seen this problem since upgrading from hardy to intrepid. There doesn't seem to be any specific trigger. If I repeat the following actions several times, I can trigger the bug after a few iterations: 1. open a gnome-terminal 2. run 'vim' 3. type ^Z to background it 4. run 'ls' 5. type 'fg'

[Bug 291373] Re: vim: hang after ^Z / fg

2008-11-01 Thread River Tarnell
'vim -u NONE' seems to fix the problem (I tried several times but couldn't reproduce it). However, it's not caused by my .vimrc; I renamed the file and the problem still appears when not using '-u NONE'. I don't have a .vim directory. -- vim: hang after ^Z / fg https://bugs.launchpad.net/bugs/29

[Bug 291373] Re: vim: hang after ^Z / fg

2008-10-31 Thread dominiko
I can't reproduce this bug. Could it be caused by some settings in your ~/.vimrc or some plugin that you installed? Can you try first to run vim with: "vim -u NONE" to avoid loading ~/.vimrc and plugins. If it then works, you can try commenting things in your ~/.vimrc or move out your ~/.vim dir