POV-Ray : Newsgroups : povray.unofficial.patches : %s crash : Re: %s crash Server Time
2 Sep 2024 10:15:49 EDT (-0400)
  Re: %s crash  
From: Nathan Kopp
Date: 17 Feb 2000 19:25:40
Message: <38ac9184@news.povray.org>
Sigmund Kyrre Aas <as### [at] studntnuno> wrote...
> %s=5;
>
> causes
>
> MEGAPOV caused an invalid page fault...
>
> #local #declare and $ doesn't cause a crash.
>
> Btw what's s reserved for?
>

s is reserved for isosurface.

Actually, any error line that has a % in it has the potential to cause a
crash in POV (even in the official versions).  This wasn't usually a problem
because % wasn't used very often in POV code.

The problem is because POV treats the error line as a C format string (think
of it as a printf).

This will be fixed in the next versions of MegaPov and POV-Ray.

-Nathan


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.