On 2021-Aug-24, Paul Wise wrote:

> On Mon, 2021-08-23 at 14:20 -0400, Alvaro Herrera wrote:
> 
> > I was running the PostgreSQL regression tests, which exercise pg_upgrade
> > with invalidly-encoded database names to verify the integrity of that code. 
> > I spawned iotop while that was running, and after displaying the screen for 
> > a
> > few iterations, it died with the backtrace I paste below.
> 
> Could you show how to create a process that causes the crash?

Using the PostgreSQL sources
git clone git://git.postgresql.org/git/postgresql.git
./configure --enable-tap-tests --without-zlib --without-readline
I can reproduce the problem reliably under "iotop -s0.1" when running 
make check-world -j16 -Otarget

> PS: there is another iotop project written in C that might be more
> robust and is definitely more featureful than the Python codebase so
> please install the iotop-c Debian package and try it out.

Ooh, I didn't know that.  Yeah, this one doesn't seem to crash ...
(It did crash on segfault once on SIGWINCH, namely when I changed
gnome-terminal's font size to fit more lines in the output, but this is
not very reproducible and I don't have a backtrace.)

-- 
Álvaro Herrera           39°49'30"S 73°17'W  —  https://www.EnterpriseDB.com/
Al principio era UNIX, y UNIX habló y dijo: "Hello world\n".
No dijo "Hello New Jersey\n", ni "Hello USA\n".

Reply via email to