Re: [Libguestfs] nbdkit: cow.c:591: cow_extents: Assertion `count > 0' failed.

2021-07-26 Thread Martin Kletzander
On Mon, Jul 26, 2021 at 01:45:19PM +0200, Martin Kletzander wrote: On Sat, Jul 24, 2021 at 11:40:49AM +0100, Richard W.M. Jones wrote: I wonder if this is an overflow: $ ./nbdkit sparse-random 3G --filter=cow --run 'nbdinfo --map $uri' # OK $ ./nbdkit sparse-random 4G --filter=cow --run

Re: [Libguestfs] nbdkit: cow.c:591: cow_extents: Assertion `count > 0' failed.

2021-07-26 Thread Martin Kletzander
On Sat, Jul 24, 2021 at 11:40:49AM +0100, Richard W.M. Jones wrote: I wonder if this is an overflow: $ ./nbdkit sparse-random 3G --filter=cow --run 'nbdinfo --map $uri' # OK $ ./nbdkit sparse-random 4G --filter=cow --run 'nbdinfo --map $uri' nbdkit: cow.c:591: cow_extents: Assertion `count >

Re: [Libguestfs] nbdkit: cow.c:591: cow_extents: Assertion `count > 0' failed.

2021-07-24 Thread Richard W.M. Jones
I wonder if this is an overflow: $ ./nbdkit sparse-random 3G --filter=cow --run 'nbdinfo --map $uri' # OK $ ./nbdkit sparse-random 4G --filter=cow --run 'nbdinfo --map $uri' nbdkit: cow.c:591: cow_extents: Assertion `count > 0' failed. Any size >= 4G seems to cause the crash. Rich. --

Re: [Libguestfs] nbdkit: cow.c:591: cow_extents: Assertion `count > 0' failed.

2021-07-24 Thread Richard W.M. Jones
On Sat, Jul 24, 2021 at 11:17:43AM +0100, Richard W.M. Jones wrote: > Just noting this because I don't have time to look into it at the > moment. I suspect (but don't have any evidence for) that this might > be an issue in the cacheextents filter. I was wrong about cacheextents. Here's the

[Libguestfs] nbdkit: cow.c:591: cow_extents: Assertion `count > 0' failed.

2021-07-24 Thread Richard W.M. Jones
Just noting this because I don't have time to look into it at the moment. I suspect (but don't have any evidence for) that this might be an issue in the cacheextents filter. nbdkit-1.27.2-1.fc35.x86_64 libnbd-1.9.2-1.fc35.x86_64 nbdkit is running against a web server with this command line: