Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gvim hangs when run without gdb or strace
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Mon Nov 15, 2010 3:55 pm    Post subject: gvim hangs when run without gdb or strace Reply with quote

I updated my world to latest ~amd64 and suddenly gvim just hangs (no window pops up) when I start it from terminal. If I start it inside strace with 'strace gvim -f', it runs fine and throws open the GUI window. The same thing happens if I start it with 'gdb gvim' followed by 'r -f'.

The hung gvim can only be killed with 'kill -9'.

What could be causing this? The strace of the hung gvim shows only futex wait in child and wait4() in parent.

I have tried removing .vimrc/.gvimrc and ~/.vim. I tried changing the gtk engine to something other than qtcurve. But doesn't help.
Back to top
View user's profile Send private message
EatMeerkats
Apprentice
Apprentice


Joined: 15 Mar 2006
Posts: 234

PostPosted: Mon Nov 15, 2010 4:00 pm    Post subject: Reply with quote

Are you running version 260 of nvidia-drivers by any chance? https://bugs.gentoo.org/show_bug.cgi?id=336837
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Mon Nov 15, 2010 4:07 pm    Post subject: Reply with quote

devsk,

change of scenery? I shall have it emerged in a 15 minutes due to a very capped internet. this is a genny 32.
Have you tried kdesu [or gksu] gvim?
shall edit soon with a test in genny.
_________________
idella4@aus


Last edited by idella4 on Mon Nov 15, 2010 4:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Mon Nov 15, 2010 4:15 pm    Post subject: Reply with quote

EatMeerkats wrote:
Are you running version 260 of nvidia-drivers by any chance? https://bugs.gentoo.org/show_bug.cgi?id=336837
Well, well, well! Right on mark! That's the issue I am facing.
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Mon Nov 15, 2010 4:32 pm    Post subject: Reply with quote

devsk,

Hmmm, looks like I'm too late.


Quote:

idella@genny ~ $ gvim

.................................

VIM - Vi IMproved

version 7.3
by Bram Moolenaar et al.
Modified by Gentoo-7.3
Vim is open source and freely distributable

Become a registered Vim user!
type :help register<Enter> for information

type :q<Enter> to exit
type :help<Enter> or <F1> for on-line help
type :help version7<Enter> for version info



It came straight up, I have an nvidia card but am using
Code:

idella@genny ~ $ lsmod |grep nvidia
Opening /proc/modules: Permission denied
idella@genny ~ $ sudo lsmod |grep nvidia
Password:
nvidiafb               32245  0
vgastate                6107  1 nvidiafb


Interesting, this gvim handles & converts hex in the files selected.
_________________
idella4@aus
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Mon Nov 15, 2010 4:54 pm    Post subject: Reply with quote

I think the issue is with latest nvidia-drivers. If you are not using that, gvim is fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum