[oi-dev] Error building a zrepl package for OI

Toomas Soome tsoome at me.com
Tue Apr 26 18:06:32 UTC 2022



> On 26. Apr 2022, at 20:52, Gary Mills <gary_mills at fastmail.fm> wrote:
> 
> On Fri, Apr 15, 2022 at 07:16:02PM +0100, Peter Tribble wrote:
> 
>>   The common pattern in oi-userland (see eg
>>   components/sysutils/chezmoi/Makefile)
>>   is
>>   COMPONENT_BUILD_ENV += GOPATH="$(SOURCE_DIR)/gopath"
>>   COMPONENT_INSTALL_ENV += GOPATH="$(SOURCE_DIR)/gopath"
> 
> Thanks.  That got me much further in building a package.  However,
> in my first test, the daemon terminated with a segmentation fault.
> I'm building zrepl-0.5.0, which I assume is the current version.
> Here's part of the error message:
> 
>    panic: runtime error: invalid memory address or nil pointer dereference
>    [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xaea33e]
> 
> This was followed by a traceback, but I didn't see anything that
> revealed the origin of the error.


Old pool *may* contribute to trigger the issue, but such crash is program error.

rgds,
toomas


> 
> Could an old zpool be part of the problem?  This is part of the
> output:
> 
>    $ zpool status dpool
>      pool: dpool
>     state: ONLINE
>    status: The pool is formatted using a legacy on-disk format.  The pool can
>    	still be used, but some features are unavailable.
>    action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
>    	pool will no longer be accessible on software that does not support feature
>    	flags.
> 
> 
> -- 
> -Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-
> 
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev




More information about the oi-dev mailing list