On 16/10/2023 17:18, Federico Fiorani wrote:
Hi everybody,
the following script crashes on Windows (gretl 2023c-git build date
2023-10-07) when I try to convert to a bundle.
<code>
bundle bun = null
bun.header = "text/html,application/xhtml+xml,application/xml"
bun.URL = "http://dataservices.imf.org/REST/SDMX_JSON.svc/Dataflow
<
http://dataservices.imf.org/REST/SDMX_JSON.svc/Dataflow>"
curl(&bun)
a = bread(bun.output)
</code>
Does anyone have the same problem?
I'm getting a crash on Linux too (on 2023c-git), due to a segfault.
The relevant valgrind output is
==350662== Source and destination overlap in strncat(0x1ffefbbb70,
0x1ffefbcbb0, 100429)
==350662== at 0x48466EF: strncat (vg_replace_strmem.c:376)
==350662== by 0x4A135EC: real_build_path (gretl_paths.c:3802)
==350662== by 0x4A135EC: gretl_build_path (gretl_paths.c:3839)
==350662== by 0x4A14533: gretl_maybe_prepend_dir (gretl_paths.c:3085)
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------