Displaying 3 results from an estimated 3 matches for "trioformatprocess".
2008 Nov 13
1
R crashes on sprintf with bad format specification (PR#13283)
Full_Name: Oren Cheyette
Version: 2.7.2
OS: Win XP
Submission from: (NULL) (64.161.123.194)
Enter the following at the R command prompt:
> sprintf("A %S %S %S XYZ", 1, 1, 1);
Note the erroneous capitalized %S instead of %s and the numeric inputs instead
of strings. With strings there's no crash - R reports bad format
specifications.
2008 Nov 14
0
(PR#13283) R crashes on sprintf with bad format specification
...> esi=3D00e1c83b edi=3D0000000a
> > eip=3D6c913fb3 esp=3D00e17944 ebp=3D00e17b3c iopl=3D0 nv up=20
> ei pl nz na po nc
> > cs=3D001b ss=3D0023 ds=3D0023 es=3D0023 fs=3D003b gs=3D0000 =
efl=3D00000206
> >
> > Call stack:
> > 6C913FB3 R.dll:6C913FB3 TrioFormatProcess trio.c:2724
> >
> > ...
> > while (length > 0)
> > {
> >> size =3D TrioWriteWideStringCharacter(self,=20
> *wstring++, flags,=20
> > length);
> > if (size =3D=3D 0)
> > break; /* while */
> > ...
> >
>...
2008 Nov 14
0
(PR#13283) R crashes on sprintf with bad format
...00000001
>> esi=00e1c83b edi=0000000a
>>> eip=6c913fb3 esp=00e17944 ebp=00e17b3c iopl=0 nv up
>> ei pl nz na po nc
>>> cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000206
>>>
>>> Call stack:
>>> 6C913FB3 R.dll:6C913FB3 TrioFormatProcess trio.c:2724
>>>
>>> ...
>>> while (length > 0)
>>> {
>>>> size = TrioWriteWideStringCharacter(self,
>> *wstring++, flags,
>>> length);
>>> if (size == 0)
>>> break; /* while */
>>>...