forwarded 487890 
http://lists.blender.org/pipermail/bf-committers/2008-June/021340.html
tag 487890 pending
thanks

Antonio Ospite <[EMAIL PROTECTED]> (24/06/2008):
> Hi,

Hi again,

> the blender binary provided by Debian crashes with SIGSEGV whenever I
> try to add some Text to the scene. And as a side effect, blender
> crashes also when opening files which have Text objects in the scene.

OK, found the root for that, see the above address for a verbose
explanation. Now, some solutions for you if you prefer sticking to the
Debian packages rather than using their binaries):
 - Downgrade libfreetype6 to the one available in testing(-security),
   that is: 2.3.5-1 or 2.3.5-1+lenny1.
 - Apply the patch I attached to my mail to the blender committers list
   (also attached to this mail) to the current blender sources and
   build it yourself.

I'm waiting a bit since I'm not a Blender developer, and I'd like to
hear a bit from them before blindly applying this patch, and uploading
Blender, but I'll do so within some days if I don't receive any NACK
from them.

> The builds provided by blender.org do not crash, so there is a
> temporary workaround, but I put the severity to 'important' here
> anyway.  I'm using the nvidia proprietary drivers, but since the
> blender.org build works that shouldn't be an issue.

Just for information: their binary works since it's statically linked
against freetype, against a version that doesn't have this additional
check.

Mraw,
KiBi.
--- a/source/blender/blenlib/intern/freetypefont.c
+++ b/source/blender/blenlib/intern/freetypefont.c
@@ -405,7 +405,7 @@ static VFontData *objfnt_to_ftvfontdata(PackedFile * pf)
 		lcode = charcode;
 	}
 	
-	err = FT_Set_Charmap( face, (FT_CharMap) FT_ENCODING_UNICODE );
+	err = FT_Select_Charmap( face, FT_ENCODING_UNICODE );
 
 	return vfd;	
 }

Attachment: signature.asc
Description: Digital signature

Reply via email to