applying just this change on top of your arena fix removed the bus error
To test this, I added a tonne of debug.print statements to show the values of the reader.allocator and reader.default_allocator addresses.
It's all good until the first statement gets prepared, and then the reader.allocator gets out of synch. This patch fixes that, and the 2 values stay correctly in synch from there on
applying just this change on top of your arena fix removed the bus error
To test this, I added a tonne of debug.print statements to show the values of the reader.allocator and reader.default_allocator addresses.
It's all good until the first statement gets prepared, and then the reader.allocator gets out of synch. This patch fixes that, and the 2 values stay correctly in synch from there on