Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Apr 14, 2008 11:14 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
So...since I've been moved to a Xen host, I've had a few annoying problems with two select apps: htop and vim. I'll explain one at a time:

1. htop. This worked perfectly pre-Xen, and it works fine in a "normal" ssh session. When run from within GNU Screen, though, it crashes. Here's the strace output in case that helps the troubleshooting process along:

http://p.linode.com/682

I'm running htop-0.7, which is the latest release.

2. vim. This one is quite odd as well. Vim works fine when run from a PuTTY session. When I ssh from a cygwin session, though, it crashes. This is with vim-7.1.266, which is quite recent as well. Here's the strace from this crash:

http://p.linode.com/683

My thinking is that this has something to do with the terminal type, but I don't see why that would be any different now than when I was running under UML.

Any ideas? Thanks!


Last edited by anderiv on Tue Apr 15, 2008 2:14 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Mon Apr 14, 2008 11:40 pm 
Offline
Senior Member

Joined: Tue Jan 22, 2008 2:10 am
Posts: 103
htop and vim work fine for me on a xen host. What version of glibc do you have? Does /lib/tls exist?


Top
   
 Post subject:
PostPosted: Mon Apr 14, 2008 11:42 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
bdonlan wrote:
htop and vim work fine for me on a xen host. What version of glibc do you have? Does /lib/tls exist?


I'm on glibc-2.6.1, and no, I have no /lib/tls.

Does htop run okay for you from within screen?


Top
   
 Post subject:
PostPosted: Tue Apr 15, 2008 7:35 am 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
both run fine for me within screen

Code:
mwalling@you ~$ echo $TERM
screen


Top
   
 Post subject:
PostPosted: Tue Apr 15, 2008 2:14 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
Bump: added strace output from vim...


Top
   
 Post subject:
PostPosted: Wed Apr 16, 2008 12:35 am 
Offline
Senior Member

Joined: Tue Jan 22, 2008 2:10 am
Posts: 103
anderiv wrote:
bdonlan wrote:
htop and vim work fine for me on a xen host. What version of glibc do you have? Does /lib/tls exist?


I'm on glibc-2.6.1, and no, I have no /lib/tls.

Does htop run okay for you from within screen?

Hmm, not sure if tls was supposed to exist on glibc-2.6. Try reinstalling glibc?

What distro is this? Can you build htop with debugging symbols, and run it in gdb to get a backtrace?


Top
   
 Post subject:
PostPosted: Fri Jun 20, 2008 9:34 am 
Offline
Senior Newbie

Joined: Fri Jun 20, 2008 8:51 am
Posts: 9
I too am seeing the same htop behavior post-migration. Also in htop 0.8.

strace: http://pastebin.linode.com/923

EDIT: Er, oh, forgot about gdb. My terminal is all screwed up following the segfault, but here's what I get:

(gdb) bt
#0 0xb7bdcae1 in Gpm_Open () from /lib/libgpm.so.1

Maybe it's time to look into screen+gpm?? I don't have putty/cygwin to test the original post's other problem, but I see that it also links against gpm.


Top
   
 Post subject:
PostPosted: Fri Jun 20, 2008 9:44 am 
Offline
Senior Newbie

Joined: Fri Jun 20, 2008 8:51 am
Posts: 9
Indeed, compiling htop without GPM support has removed the segfault. I'm satisfied with this solution (GPM tends to annoy me anyway), but for people's investigation or own problems, that's what fixed it for me... Dollars to donuts, that would fix vim too.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group