htop segfaults

Bug #52187 reported by Evan Klitzke
4
Affects Status Importance Assigned to Milestone
htop (Ubuntu)
Invalid
Undecided
MOTU

Bug Description

Binary package hint: htop

Here is what I see when I run htop:

evan@thinkpad ~ $ htop
Segmentation fault
evan@thinkpad ~ $ echo $?
139

I did some googling for this, and didn't find anything like what I am getting. Someone had a blog entry up about how great htop is (in dapper), so presumably htop doesn't segfault on someone else's machine...

If someone could confirm this problem it would be nice. If someone more knowledgable than myself has a machine on which htop isn't segfaulting, and they want to walk me through debugging this, I would be glad to do so.

Revision history for this message
Evan Klitzke (eklitzke2) wrote :

This is my first time using launchpad, so I might have messed up this bug report (I am used to bugzilla). This is on Ubuntu Dapper, htop version 0.6-1. This package is in universe -- is there another place bugs for universe packages should be filed?

Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

Hi Evan,

This is the right place for all Ubuntu related bugs (main, restricted, universe and multiverse).

I can not reproduce your segfault here. Can you try

  strace -o htop.log htop

Check the end of htop.log what the last log entries are?

Changed in htop:
assignee: nobody → motu
Revision history for this message
Evan Klitzke (eklitzke2) wrote :

Thanks for the response Lionel. I followed your advice, and when I looked at the log it was complaining about .htoprc. I removed the file and tried invoking htop and it worked fine. I'll try to file a bug report for this (htop will crash on a bad .htoprc) upstream.

Revision history for this message
Evan Klitzke (eklitzke2) wrote :

I think this bug can be closed. From what I recall, the .htoprc file is actually generated and saved by htop every time you close the program, and it turns out that the upstream author does not necessarily make an attempt to ensure that newer versions of htop will be backwards compatible with older .htoprc files. So in some sense, this is a "feature" of htop.

Revision history for this message
Adrien Cunin (adri2000) wrote :

Closing.

Changed in htop:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.