Skip to content

top: crashing with multi-window after help screen

'top' program is crashing with SIGSEGV, the issue is always reproducible on latest. Start 'top' with default settings and press

h h a w <Enter> A

consecutively. It should crash. If it doesn't, I can provide more details and coredumps as well but the above mentioned should suffice.

I had an enjoyable debugging session right aftewards (out of curiosity) and found (one possible) root cause.

As well after that, I prepared a patch.

I don't have full overview of the code, but IMHO the patch should not do harm.

Thank you!