# Incorrect use of Scaled causes crash

Bug introduced in 8.0 and fixed in 10.1.0

While playing with Scaled, I made a syntax error which caused a crash instead of an error message ...

Do you get the same ? (I have v.10.0.2, OS X 10.9.5.)

This is how I can reproduce that :

Let's define a graphic primitive (no crash here) :

p = Disk[{0., 0.}, Scaled[{0.2, 0.2}, 2.]]


(the syntax error is the second parameter of Scaled)

To crash, try to display the corresponding graphic :

Graphics@p


It "works" also with Circle instead of Disk, and maybe with others ?

• Confirmed in 10.0.2 under Windows 7. – Mr.Wizard Jan 26 '15 at 22:13
• I can reproduce this on Windows 8.1 using Mathematica 8, 9, and 10. A syntax error should not lead to a crash. Please report this to support@wolfram.com. – Sjoerd C. de Vries Jan 26 '15 at 22:13
• Well that's interesting. I'll write it up in the morning. – rcollyer Jan 26 '15 at 22:23
• @Sjoerd This does not crash Mathematica 7 so I guess I can mark this as introduced in 8.0. – Mr.Wizard Jan 26 '15 at 22:41
• +1 for finding yet another way to induce instantaneous death LOL. – DumpsterDoofus Jan 26 '15 at 23:57