tv_ReqString makes TVPaint crash

A forum dedicated to George scripting questions
Post Reply
User avatar
aAntin
Posts: 37
Joined: 29 Aug 2007, 09:40
Location: France
Contact:

tv_ReqString makes TVPaint crash

Post by aAntin »

Hi there,

I just discoverd after a while turning crazy that it is actually 'tv_ReqString' that makes my TVPaint crash every time the input length is greater than 8192.

I'm not sure if my guess is right, I couldn't find any related info in the George commands list (linked from Instructions and commands). By the way, this list is for TVPaint 12; are there any links for older versions accessible somewhere?

Edit:
> I'm sorry, maybe I should have posted in 'technical Support'. Please feel free to move my post.

Thank you!

Specs:
- TVPaint 11.0.8 (64 bits)
- MacOS 10.15.7
Antoine ANTIN
User avatar
ematecki
Site Admin
Posts: 2261
Joined: 15 Feb 2006, 14:32

Re: tv_ReqString makes TVPaint crash

Post by ematecki »

Hi,
This seems a reasonable assumption, there are a lot of hardcoded buffer sizes in george...

But, what are you doing with such long strings ? :)
Quicktime is DEAD. Get over it and move on !
User avatar
aAntin
Posts: 37
Joined: 29 Aug 2007, 09:40
Location: France
Contact:

Re: tv_ReqString makes TVPaint crash

Post by aAntin »

I'm working on a YAML parser and I thought I could use 'tv_ReqString' for logging token types & values (more human readable than the centered text-align 'tv_Warn'). But the more I'm moving forward, the longer is my log <string>. I may have to consider finding another approach... ;)
Antoine ANTIN
Post Reply