[5548] in Athena Bugs
rt 6.4R: MATLAB, crash in sprintf routine
daemon@ATHENA.MIT.EDU (sethf@ATHENA.MIT.EDU)
Mon Jul 16 22:52:36 1990
From: sethf@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Mon, 16 Jul 90 22:52:22 EDT
System name: jubjub-bird
Type and version: RTPC-ROMPC 6.4R
Display type: apa16
What were you trying to do?
Determine how MATLAB's sprintf routine worked, and whether a
string was a legal argument. I typed
sprintf('Foo %s','foo')
What's wrong:
Segmentation violation
What should have happened:
A less drastic error message.
Please describe any relevant documentation references:
The MATLAB manual, num2str page. It does indeed say "It may be
possible to wreak havoc if [this function is] used incorrectly.". But I
think what I did was predictable and should have been checked.