Re: some more patches
Craig Small <[email protected]> Tue, 29 Dec 2020 09:37:17 +1100
| Newsgroups | gmane.linux.procps.devel |
|---|---|
| Message-ID | <CALy8Cw7G4k5pUHgdugTHk1TU+FGtL7a-UtxfhB3MtOZnocMaTQ@mail.gmail.com> |
sleep 10 & top -p <pid of sleep> make sure sleep process is visible (e.g. turn idle off) type ? type ? (wait 10 seconds or so for sleep to exit) escape signal 11 (SEGV) was caught by top, please send bug reports to <[email protected]> [1]+ Done sleep 10 Very repeatable with 3.3.16 top - Craig On Tue, 29 Dec 2020 at 09:32, Jim Warner <[email protected]> wrote: > 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. > >