[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] segfault/assertion in function
From: |
apache2 |
Subject: |
Re: [BUG] segfault/assertion in function |
Date: |
Mon, 9 May 2022 20:27:08 +0200 |
User-agent: |
Mutt/1.9.3 (2018-01-21) |
I think the bug below is caused by my typo:
var _checksum = ZFS_Fletcher4{};
- method checksum = ZFS_Fletcher4: {return checksum;}
+ method checksum = ZFS_Fletcher4: {return _checksum;}
Perhaps we could detect this and return a nicer error?
On Mon, May 09, 2022 at 08:24:44PM +0200, apache2 wrote:
> Hi again,
>
> Depending on which data I feed this pickle I either get:
>
> :~/poke$ ./run poke -c 'load "../zfs.pk";' -c 'open("trigger.zfs-send")' -c
> "var x=(ZFS_send @ 0 : 0#b);" -c 'x;' -c "x.checksum"
> 0x0
> poke: pvm-val.c:346: pvm_ref_struct_cstr: Assertion `PVM_IS_SCT (sct)' failed.
> Aborted
>
> or:
> Segmentation fault
>
>