Bug 199030 - top still sigabrt on the fb console
Summary: top still sigabrt on the fb console
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: procps
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Smetana
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-16 02:52 UTC by james
Modified: 2008-03-12 06:10 UTC (History)
0 users

Fixed In Version: 3.2.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-12 06:10:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
strace output (112.21 KB, text/plain)
2006-09-22 19:26 UTC, james
no flags Details

Description james 2006-07-16 02:52:05 UTC
Description of problem:
The previous version of top seemed to sigabrt on both Konsole and the text
console.  I upgraded.  Now, top seems to run ok on Konsole with X, but still
sigabrt's on my fb text console.  I have not checked it on the character-mode
console.


Version-Release number of selected component (if applicable):
procps-3.2.6-3.5

How reproducible:
every time

Steps to Reproduce:
1. run top on the fb console


Additional info:
Here is the end of an strace:
3487  open("/proc/loadavg", O_RDONLY)   = 4
3487  lseek(4, 0, SEEK_SET)             = 0
3487  read(4, "0.18 0.39 0.29 2/140 3487\n", 1023) = 26
3487  open("/proc/stat", O_RDONLY)      = 5
3487  fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
3487  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xb7ff2000
3487  _llseek(5, 0, [0], SEEK_SET)      = 0
3487  read(5, "cpu  9079 1841 5713 326624 4923 "..., 1024) = 644
3487  open("/dev/tty", O_RDWR|O_NONBLOCK|O_NOCTTY) = 6
3487  writev(6, [{"*** stack smashing detected ***:"..., 33}, {"top", 3}, {"
terminated\n", 12}], 3) = 48
3487  rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
3487  write(1, "\33[H\33[J\33[22;23;24;25;27;10mtop - "..., 1243) = 1243
3487  gettid()                          = 3487
3487  tgkill(3487, 3487, SIGABRT)       = 0
3487  --- SIGABRT (Aborted) @ 0 (0) ---
3487  +++ killed by SIGABRT +++

Comment 1 Karel Zak 2006-09-19 11:32:34 UTC
I can't reproduce this problem. Please, provide more details:

 - # cat /proc/stat
 - # uname -a
 - complete strace from the top command.

Comment 2 james 2006-09-22 19:26:49 UTC
Created attachment 136967 [details]
strace output

Comment 3 james 2006-09-22 19:34:34 UTC
$ cat /proc/stat
cpu  19939 7188 5327 1151341 6299 4646 0 0
cpu0 19939 7188 5327 1151341 6299 4646 0 0
intr 4958146 2986670 1406 0 10 11 0 0 23 1 0 1628592 67785 749 0 30411 242488 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 22315392
btime 1158940039
processes 3965
procs_running 1
procs_blocked 0

$ uname -a
Linux onyx 2.6.16-1.2133_FC5 #1 Tue Jun 6 00:52:14 EDT 2006 i686 athlon i386
GNU/Linux

Comment 4 Karel Zak 2006-09-27 13:55:10 UTC
It could be a problem with parsing information about CPUs (this part of the top
is not too much stable), but I can't help you if I can't reproduce this problem.
Maybe someone other will have same problem or you can try debug the top command.

Comment 5 Albert Cahalan 2006-12-25 21:19:49 UTC
I found it. This will be fixed in the next release.

Don't panic. It's not controllable by some other user.


Comment 6 Karel Zak 2006-12-25 22:50:50 UTC
(In reply to comment #5)
> I found it. This will be fixed in the next release.

Can you provide more details?


Comment 7 Tomas Smetana 2007-04-30 14:33:57 UTC
I've pushed version 3.2.7 to FC-5. If this solves the problem (nobody reports it
again) I'll close this bug.


Note You need to log in before you can comment on or make changes to this bug.