Markus,

I had a similar problem after upgrading from v23 to v24 but found that
specifying _any_ valid data version worked for me, it was only
specifying `--json` without a version that triggered an error (which
in my case was I believe a segfault from sinfo rather than a malloc
error from squeue - but as these are both memory issues it seems
possible they could both potentially arise from the same underlying
library issue presenting differently in different CLI tools). So the
underlying issue _may_ be with the logic that attempts to determine
what the latest data version is and to load that, whereas specifying
any valid version explicitly may work.

Are you able to run `squeue --json=v0.0.41` successfully?

Cheers,

Josh.


--
Dr. Joshua C. Randall
Principal Software Engineer
Altos Labs
email: jrand...@altoslabs.com

On Tue, Jul 2, 2024 at 5:50 PM Markus Köberl via slurm-users
<slurm-users@lists.schedmd.com> wrote:
>
> $ squeue --version
> slurm 24.05.1
>
> $ squeue --json
> malloc(): invalid size (unsorted)
> Aborted
>
> forcing an older data_parser version works:
> $ squeue --json=v0.0.40
>
>
> regards
> Markus Köberl
> --
> Markus Koeberl
> Graz University of Technology
> Signal Processing and Speech Communication Laboratory
> E-mail: markus.koeb...@tugraz.at
> --
> slurm-users mailing list -- slurm-users@lists.schedmd.com
> To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

-- 
Altos Labs UK Limited | England | Company reg 13484917  
Registered 
address: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, United Kingdom, 
WA14 2DT

-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

Reply via email to