Re: some more patches

Jim Warner <[email protected]> Mon, 28 Dec 2020 16:32:46 -0600
Newsgroups gmane.linux.procps.devel
Message-ID <[email protected]>
On 12/28/20 4:06 PM, Craig Small wrote:
> Both sets of patches are pushed, thanks.

Thanks Craig.

> By some funny coincidence, I came across the SEGV with a non-displayable 
> process bug you recently fixed.  I was using prctl-emoji to test that 
> the UTF stuff was working but was looking in the help screen and was 
> using the Debian 3.3.16 top not the one in the build directory.  Exiting 
> the help screen after the process exited made top SEGV.

I'm not familiar with prctl-emoji.  Is that from the MS Bing images?

> Happy to report the top in both master and newlib don't do this. Funny 
> how something that has been there for a decade got tripped up by two 
> different people in a matter of a few weeks. I wasn't trying to crash 
> top, just checking it did UTF-8 ok.

Anyway, could you describe in more detail the steps you took to cause 
that SEGV.  I want to make sure that I didn't just get lucky with the 
current versions.

Regards,

Jim

p.s. I may have 1 more patch in the same vein, but am still weighing it.