[Libguestfs] [PATCH 4/4] Go bindings: fix "C array of strings" -- char** -- allocation

Richard W.M. Jones rjones at redhat.com
Mon Sep 20 12:51:18 UTC 2021


On Mon, Sep 20, 2021 at 01:33:31PM +0100, Daniel P. Berrangé wrote:
> Is my test scearnio there representative of what the failing test
> case is doing ?  Or is perhaps the C function calling back into
> the Go code ?

The difference could be that we use the following environment variable
when running tests:

  export GODEBUG=cgocheck=2

Also could you try compiling libnbd after reverting
https://gitlab.com/nbdkit/libnbd/-/commit/a550beef2a941fe21d4f834775d73570099dc12a
and see if you can reproduce the libnbd error?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list