Crash while using TextFont.RMSolid render mode.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Confirmed
|
High
|
Unassigned |
Bug Description
OS: Vista (32)
Panda: 1.6.1, official release
Example code below. Comment/uncomment the font-loading lines as desired to reproduce working and not-working behaviours.
Mystral.TTF generates some debugging output. papyrus.ttf only a silent crash, that's why they've been included both.
-----
import direct.
from pandac.PandaModules import TextNode, TextFont
font = loader.
#font = loader.
#font = loader.
font.setPixelsP
font.setRenderM
textNode = TextNode(
textNode.
textNode.
textNodePath = aspect2d.
textNodePath.
textNodePath.
run()
Confirmed this on my linux box. Papyrus seems to take a lot of memory first followed by a crash. :dec_memory_ usage(TypeHandl e::MemoryClass, int): Assertion `rnode- >_memory_ usage[memory_ class] >= 0' failed.
Here is what it prints:
pvector.dec(array, 1610612744) -> -939463944
python: typeHandle.cxx:81: void TypeHandle:
Aborted
I'm attaching a traceback.