Previous topicNext topic

ISF Valueless Label crash

Questions, comments, feedback, etc.
Post Reply
Sadler
Posts: 1348
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

ISF Valueless Label crash

Post 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
Magic
Site Admin
Posts: 3676
Joined: Wed Apr 09, 2014 9:28 pm

Re: ISF Valueless Label crash

Post 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.
Sadler
Posts: 1348
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: ISF Valueless Label crash

Post 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.
Post Reply