Hello, I fail to find the perl unshift function in mp4h, and I cannot simulate it using the example given in title (assigning to the last cell + 1). Well, err. Looking again at the man page the perl function seems to be called push. That's misleading, but should be because of legacy. Well ok. But I still send this bug repport because this does trigger a segfault... Bye, Mt.
Hmmm I cannot reproduce this bug, but if the array variable was never defined, <array-size array /> returns -1, which could then cause trouble (but negative values are checked in <set-var>, so I do not see how). I have to investigate the rationale for such a return code, a workaround may be to initialize your array variable in your file. Denis