On Mon, Jul 25, 2022 at 9:25 AM atecon <atecon(a)posteo.de> wrote:
Hi all,
with latest git the following script crashes with a memory access error
under Ubuntu 21.10:
<hansl>
clear
set verbose off
nulldata 4
setobs 4 2022:01 --time-series
series num = normal()
series str = defarray("A", "B", "C", "D")
dataset compact 1 sum
#store foo.csv # works
#store foo.gdtb # works
store foo.gdt # crashes
<hansl>
The crucial thing is the string-valued series in connection with storing
the dataset as a gdt file.
The trashed string-valued series, that is. In git the crash is now
headed off, with this error message in response to 'dataset compact 1
sum':
The dataset contains 1 string-valued series. Such series cannot be compacted
other than via the 'first' or 'last' method.
Allin