POV-Ray : Newsgroups : povray.general : What's this error message? Server Time
19 Nov 2024 18:11:06 EST (-0500)
  What's this error message? (Message 1 to 8 of 8)  
From: Steve Shelby
Subject: What's this error message?
Date: 8 Jan 2002 08:23:43
Message: <3c3af2df$1@news.povray.org>
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

From: Warp
Subject: Re: What's this error message?
Date: 8 Jan 2002 08:37:14
Message: <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

From: Steve Shelby
Subject: Re: What's this error message?
Date: 8 Jan 2002 12:37:03
Message: <3c3b2e3f@news.povray.org>
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

From:
Subject: Re: What's this error message?
Date: 8 Jan 2002 12:47:06
Message: <k1cm3ukmgkn6cm3v86kkveu468p65l85fu@4ax.com>
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

From: Thorsten Froehlich
Subject: Re: What's this error message?
Date: 9 Jan 2002 06:12:57
Message: <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

From: Steve Shelby
Subject: Re: What's this error message?
Date: 9 Jan 2002 07:00:19
Message: <3c3c30d3@news.povray.org>
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

From: Thorsten Froehlich
Subject: Re: What's this error message?
Date: 9 Jan 2002 13:09:59
Message: <3c3c8777@news.povray.org>
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

From: Ken
Subject: Re: What's this error message?
Date: 9 Jan 2002 21:25:03
Message: <3C3CFB9E.D47996E8@pacbell.net>
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

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