Comment 20 for bug 19277

Revision history for this message
In , Ted M Lin (kitlaan) wrote : top segfault notes

Hi,

Just like to add a few comments. I'm running procps 3.2.1-2.
I get the same segfault on my set-up under the console, xterm, and via
ssh/putty.

I have a 24 processor setup, so when I enable the all-cpu view (by pressing
'1'), a regular 80x24 console will cause top to segfault. With a larger
row-count, the display has no problems.

As a sanity check, a 16-processor display will not segfault on 80x24, but
80x18 will.

On a regular uniprocessor setup (3.2.7-3), reducing the terminal to 80x3
will cause the segfault. As seen previously, reducing the terminal size
while top is running causes a segfault (e.g. 80x24 resized to 80x5 or
smaller). Some other resizing caused a realloc() abort (80x4 resized to
something larger).

- Ted