Closed medic123de closed 9 years ago
this issue seems to be very related / identical to #2
well, if "memory management" is all related to #2 for you - it is. For me it's not, so I disagree with you here. They eventually have a common cause (e.g. FT's refbased cache ), but not necessarily.
Not using Freetypes fontface apparently works. I am trying to find out if it's just FT or any FontFace. furthermore, i am able to crash in libcairo as well, not only in libfreetype ( which is IMHO a good argument against your 'identical to #2' ).
apparently repeatedly creating/destroying the cairo-object is an important step.
works for me here https://github.com/gtkforphp/cairo/pull/15
THis should be fixed now
Hi, because 0.3.2 shows a (for me very bad) memory leak, i planned to go with master. the good news: the memory leak is gone.
1st i suffered the FT_Free problem, which i solved by updating to a more recent version of libcairo + libfreetype
Now i suffer another segfault about every 10th request. I am using php-fpm, but also php-fcgi shows this behaviour:
freetype codepath:
i tried different versions of freetype & cairo, but the relevant component is cairo-pecl :(
i bisect'ed, it was introduced with commit 6b6fea4703977006627327d3f4c46403757873cb
The script i am using is: