This is a freetype bug. Fixed in http://trac.sagemath.org/ticket/18962


On Tuesday, July 28, 2015 at 10:02:54 PM UTC+2, Andrzej Giniewicz wrote:
>
> Hello again, 
>
> I have fresh build of sage 6.8 that (after setting locale) passed all 
> tests. Unfortunately when I tried to build my book which works with 
> sage 6.7 built on same machine with same options - I'm getting 
> segfault. 
>
> It occurs when I try to save the plot into svg for the second time 
> after using matplotlib.rc('text', usetex=True) - if I don't make 
> matplotlib use TeX, saving to svg works. If I write png after setting 
> use TeX, it also works. Using savefig from matplotlib also fails, also 
> when using ./sage -ipython. 
>
> Full output in http://pastebin.com/ZfEj7WgY including gdb. 
> Log from installing matplotlib: http://pastebin.com/qFY8y8wN 
>
> Machine is Arch Linux (last updated 2 years ago), gcc 4.8.0. 
>
> Failing code: 
>
> sage: import matplotlib 
> sage: matplotlib.rc('text', usetex=True) 
> sage: plot(sin).save('test.svg') # works 
> sage: plot(sin).save('test.svg') # segfault 
>
> Tried with and without custom CFLAGS optimizations - same effect. 
>
> Any idea what it might be? Smells like freetype, but on sage 6.7 
> everything works. 
>
> Thanks in advance, 
> Andrzej. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to