Issues.00325 - lordmundi/wikidoctest GitHub Wiki

00325: canvas plugin causes seg fault if font not found

« 00324 | Issues | 00326 »

Summary: canvas plugin causes seg fault if font not found

Created: 2011–03–01 13:18

Status: Released

Category: Bug

From: frankie

Version: 2.1

Released_In: 2.2

Description:

Specifying an invalid font is detected and printed out, but later, when the viewport goes to render, a seg fault ot occurs.


Comments

frankie March 01, 2011, at 01:20 PM: If the font is missing, the printout should probably throw one warning that the font is not defined and say what canvas name is being disabled because of it.

brad March 01, 2011, at 04:57 PM Fixed it so that it will no longer core dump, it will log a warning if it is unable to load or find a specified font.


« 00324 | Issues | 00326 »

Associated Commits

| commit | 5062a4c1f14bb093a41520761d2fdded560aa715 link6 | || | Author: | Brad Bell | | Date: | Tue Mar 1 10:28:50 2011 -0600 | | Message: | [@Issue 00325: fixed core dump if font not able to be found or load, no logs warnings in such cases @] |

Affected Files:

plugin_Darwin/dsp_canvas.so        | Bin 124052 -> 124044 bytes
 plugin_Darwin/dsp_drawcanvas.so    | Bin 104120 -> 104008 bytes
 plugin_Linux_FC3/dsp_canvas.so     | Bin 144183 -> 144191 bytes
 plugin_Linux_FC3/dsp_drawcanvas.so | Bin 115984 -> 115121 bytes
 plugin_Win32/dsp_canvas.dll        | Bin 521714 -> 521714 bytes
 plugin_Win32/dsp_drawcanvas.dll    | Bin 507578 -> 507401 bytes
 6 files changed, 0 insertions(+), 0 deletions(-)