Page 1 of 1

ISF Valueless Label crash

Posted: Mon Mar 31, 2025 8:39 am
by Sadler
Put this json into an ISF and Magic will crash.

Code: Select all

        {
            "NAME": "killthemagic",
            "TYPE": "long",
            "LABELS": [
                "Zero",
                "One",
                "Two"
            ],
            "VALUES": [
                0,
                1
            ]
        }
The rest of the code doesn't matter - it's the missing value that causes Magic to disappear as soon as one inserts the node in an empty project. It is curious that no-one has found this before now.

Event viewer captures the crash but magic_glsl_compile_errors doesn't.

Fault bucket 1970074404111078924, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: Magic.exe
P2: 0.0.0.0
P3: 6501e052
P4: Magic.exe
P5: 0.0.0.0
P6: 6501e052
P7: c0000005
P8: 00000000002a84e6
P9:
P10:

Analysis symbol:
Rechecking for solution: 0
Report Id: 52d1ac45-c2db-452d-9f72-7b17647a92a8
Report Status: 268435456
Hashed bucket: 5c12b600823188529b571c3b8e21560c
Cab Guid: 0

Re: ISF Valueless Label crash

Posted: Fri Apr 04, 2025 5:54 pm
by Magic
Thanks Sadler. Since this has an obvious workaround, we probably won't release a v2 bug fix for it. But we'll incorporate it for later.

Re: ISF Valueless Label crash

Posted: Mon Oct 20, 2025 6:52 pm
by Sadler
Hi Magic folks, I guess you will have thought of this already but it has kept me puzzling over a non-working ISF for days. The lack of fully specified params also kills Magic for any multi-value param - so you can't ignore alpha when defaulting colours for example. Looking forward to seeing this fixed in the next version.