|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello,
This error message appears in Povray when I try to render a truetype font
called "Bach", using Moray:
Parse Error: Attempt to malloc zero size block (file: ..\
..\source\truetype.cpp line: 1275)
What does it mean? It refers to "truetype.cpp". There is no such file
anywhere on my computer. Does anyone know what it is?
Also, when it does this it disables both Povray and Moray and anything else
running in Windows until I use alt-ctr-del to shut it down.
Any help would be appreciated.
Thank you,
Steve Shelby
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Steve Shelby <ssh### [at] rexnetnet> wrote:
: Parse Error: Attempt to malloc zero size block (file: ..\
: ..\source\truetype.cpp line: 1275)
: What does it mean?
It means that an unexpected error happened (one could call it a bug). This
is a problem in the source code of POV-Ray and it's nothing you can remedy
by yourself (unless you fix the problem in the source code, of course).
Trying to allocate a 0-size block is always a sign that some sanity check
is missing.
If this happens in the latest 3.5beta, you should post a proper bug report
to povray.beta-test
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp,
The problem I described is in Povray 3.5. I just tried the same thing using
Povray 3.1 and got a slightly different error message:
tex.pov:85: error: Attempt to malloc zero size block (File: ..\..\TRUETYPE.C
Line: 1212).
And with 3.1 the system doesn't lock up. What do you make of that?
Steve
Warp <war### [at] tagpovrayorg> wrote in message news:3c3af609@news.povray.org...
> Steve Shelby <ssh### [at] rexnetnet> wrote:
> : Parse Error: Attempt to malloc zero size block (file: ..\
> : ..\source\truetype.cpp line: 1275)
>
> : What does it mean?
>
> It means that an unexpected error happened (one could call it a bug).
This
> is a problem in the source code of POV-Ray and it's nothing you can remedy
> by yourself (unless you fix the problem in the source code, of course).
> Trying to allocate a 0-size block is always a sign that some sanity
check
> is missing.
>
> If this happens in the latest 3.5beta, you should post a proper bug
report
> to povray.beta-test
>
> --
> #macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb
M()}}
> N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
> N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// -
Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 8 Jan 2002 12:41:18 -0500, "Steve Shelby" <ssh### [at] rexnetnet> wrote:
> The problem I described is in Povray 3.5. I just tried the same thing using
> Povray 3.1 and got a slightly different error message:
> tex.pov:85: error: Attempt to malloc zero size block (File: ..\..\TRUETYPE.C
> Line: 1212).
> And with 3.1 the system doesn't lock up. What do you make of that?
Then definetly you should report bug in povray.beta-test with optionally some
binaries in povray.beta-test.binaries group.
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3c3af609@news.povray.org> , Warp <war### [at] tagpovrayorg> wrote:
> It means that an unexpected error happened (one could call it a bug). This
> is a problem in the source code of POV-Ray and it's nothing you can remedy
> by yourself (unless you fix the problem in the source code, of course).
> Trying to allocate a 0-size block is always a sign that some sanity check
> is missing.
Actually, it is a corrupted font file and POV-Ray doesn't catch the problem
early enough. In the particular font file there is an empty kerning table.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thorsten,
Is there any way I can fix that myself, or am I just out of luck with that
font?
Hmm... I just realized that I was able to use that font sucessfully a couple
months ago, before I had to replace my hard drive and re-install everything.
Maybe I should try a new download of the font?
Steve
Thorsten Froehlich <tho### [at] trfde> wrote in message
news:3c3c25b9@news.povray.org...
> In article <3c3af609@news.povray.org> , Warp <war### [at] tagpovrayorg> wrote:
>
> > It means that an unexpected error happened (one could call it a bug).
This
> > is a problem in the source code of POV-Ray and it's nothing you can
remedy
> > by yourself (unless you fix the problem in the source code, of course).
> > Trying to allocate a 0-size block is always a sign that some sanity
check
> > is missing.
>
> Actually, it is a corrupted font file and POV-Ray doesn't catch the
problem
> early enough. In the particular font file there is an empty kerning
table.
>
> Thorsten
>
> ____________________________________________________
> Thorsten Froehlich, Duisburg, Germany
> e-mail: tho### [at] trfde
>
> Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3c3c30d3@news.povray.org> , "Steve Shelby" <ssh### [at] rexnetnet>
wrote:
> Is there any way I can fix that myself, or am I just out of luck with that
> font?
Loading it into a font editor and saving it again might help. As for font
editors, maybe there are some in the links list.
As for the bug in POV-Ray, in the next beta or so it will just issue a clear
text error that the font file is corrupted rather than the internal error.
Thorstne
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thorsten Froehlich wrote:
> As for font editors, maybe there are some in the links list.
Nope, I never added any.
--
Ken Tyler
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |