X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01 Jul 2022 08:16 AM by  Ben Castellani
Fatal error with restored structure from sav file
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Achim Holtmann



New Member


Posts:4
New Member


--
21 Jun 2022 09:24 AM
    Hi,

    I use list(struct) eq list(struct) to compare structures. This works fine mostly but the code below produces a fatal error (IDL Workbench closes). Note that this only happens when the structure is set up in a certain way, e.g., with only the first two tags, it does work.

    s = {l: 1l, s: "", s2: ""}
    list(s) eq list(s) ; This returns 1 as expected
    save, s, FILENAME="s.sav"
    restore, "s.sav"
    list(s) eq list(s) ; this produces a fatal error

    I use IDL 8.8.1 on Linux Mint 20.3

    Thanks for the support!
    Achim

    Achim Holtmann



    New Member


    Posts:4
    New Member


    --
    23 Jun 2022 03:50 AM
    For now, I've switched back to 8.6 - no issues there.

    Ben Castellani



    Basic Member


    Posts:130
    Basic Member


    --
    01 Jul 2022 08:16 AM
    There were some changes made to LIST/HASH made in IDL 8.8 which is probably the reason for this behavior. Using any prior version should work-around the issue for now. We are currently investigating the problem. Thanks for the report.
    You are not authorized to post a reply.