Hi,
My 7.8 images keep on breaking without reason (once every 15 minutes), It often happen when doing (starting) some database operations (PostgreSQL in this case) but nothing is really clear about it. I use Cairo but it doesn't necessarily seem to be related to that either.
Just report it, enclosed is the OSX report, maybe someone else has similar experiences ?
@+Maarten,
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc VisualWorks error.zip (15K) Download Attachment |
On 10/26/2011 1:12 PM, [hidden email] wrote:
Well, the dump clearly shows that is the the cairo library that called abort().... 3
libSystem.B.dylib 0x955a96f0
abort + 105 4
libcairo.2.dylib
0x1581140d
0x157c6000 + 308237 5
libcairo.2.dylib
0x157cf33f
cairo_font_face_destroy + 79 6
libcairo.2.dylib
0x157e323d
_cairo_scaled_font_fini_internal +
34 7
libcairo.2.dylib
0x157e35b7
cairo_scaled_font_destroy + 315 8
libcairo.2.dylib
0x157e5d23
cairo_scaled_font_create + 1034 9
libcairo.2.dylib
0x157d13a3
_cairo_gstate_ensure_scaled_font +
164 10
libcairo.2.dylib
0x157d147a
_cairo_gstate_text_to_glyphs + 78 11
libcairo.2.dylib
0x157ccf83
cairo_show_text + 191 12
com.cincom.vw7.8
0x00079828
pdCallC + 2208 (unx86CallC.c:373) 13
com.cincom.vw7.8
0x0000bafa
primCallVarArgC + 332
(exCallC.c:507) Can it be that your image holds stale cairo objects (that in turn could contain stale pointers not cleaned by the image/dllcc startup code)? R - _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Please Michael, Cairo is leaking again...
Can you help ????
-----Original Message----- On 10/26/2011 1:12 PM, [hidden email] wrote:
Well, the dump clearly shows that is the the cairo library that called abort().... 3 libSystem.B.dylib 0x955a96f0 abort + 105 4 libcairo.2.dylib 0x1581140d 0x157c6000 + 308237 5 libcairo.2.dylib 0x157cf33f cairo_font_face_destroy + 79 6 libcairo.2.dylib 0x157e323d _cairo_scaled_font_fini_internal + 34 7 libcairo.2.dylib 0x157e35b7 cairo_scaled_font_destroy + 315 8 libcairo.2.dylib 0x157e5d23 cairo_scaled_font_create + 1034 9 libcairo.2.dylib 0x157d13a3 _cairo_gstate_ensure_scaled_font + 164 10 libcairo.2.dylib 0x157d147a _cairo_gstate_text_to_glyphs + 78 11 libcairo.2.dylib 0x157ccf83 cairo_show_text + 191 12 com.cincom.vw7.8 0x00079828 pdCallC + 2208 (unx86CallC.c:373) 13 com.cincom.vw7.8 0x0000bafa primCallVarArgC + 332 (exCallC.c:507) Can it be that your image holds stale cairo objects (that in turn could contain stale pointers not cleaned by the image/dllcc startup code)? R - _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
I'm at SPLASH/OOPSLA right now (like.. RIGHT now), but I'll try and take a look this week if Travis doesn't beat me to it (I suspect he will, he's pretty darn fast).
Please let us know what version of CairoGraphics you're using in 7.8 -- both the smalltalk package version and which libraries you're using (the ones Travis shipped or your own compiled ones).
Michael
On 26 October 2011 12:32, <[hidden email]> wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
SPLASH/OOPSLA that must be a cool place to be !!
Anyway this a plain 7.8 image with Cairo 7.9 - 2, I did not install any specific Cairo/Pango Library so I suppose it uses the ones which are shipped with the product.
I'am upgrading to 7.9 sta oct 11.3 right now to see wheter this makes a difference.
Maarten,
-----Original Message----- I'm at SPLASH/OOPSLA right now (like.. RIGHT now), but I'll try and take a look this week if Travis doesn't beat me to it (I suspect he will, he's pretty darn fast). Please let us know what version of CairoGraphics you're using in 7.8 -- both the smalltalk package version and which libraries you're using (the ones Travis shipped or your own compiled ones).
Michael
On 26 October 2011 12:32, <[hidden email]> wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
You're going to need to track down the place where you're drawing text with Cairo, because, at a glance, it looks like it must be an invalid font name or font name / style / size combination causing the problem.
On 26 October 2011 14:38, <[hidden email]> wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Well the font type is set either through:
selectFontFace: aFaceName or selectFontFace: aFaceName slant: aFontSlant weight: aFontWeight
If I apply something like:
selectFontFace: aFaceName slant: aFontSlant weight: aFontWeight " LibCairo cairo_select_font_face: handle with: aFaceName with: aFontSlant with: aFontWeight . self checkStatus "
Cairo is normally obliged to take its default font everywhere in my App.
Just notice that in the current version of Cairo it is not yet possible to query the system for its available fonts and I have no idea what fonts are actually supported by Quartz.
Anyway the above doesn't help, it still breaks after some time.
@+Maarten,
-----Original Message----- You're going to need to track down the place where you're drawing text with Cairo, because, at a glance, it looks like it must be an invalid font name or font name / style / size combination causing the problem. On 26 October 2011 14:38, <[hidden email]> wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Maarten Mostert
Ok, I now tried the following override for a while. In CairoContext fontSize: aFontSize LibCairo cairo_set_font_size: handle with: (11) dllccDouble. self checkStatus selectFontFace: aFaceName slant: aFontSlant weight: aFontWeight LibCairo cairo_select_font_face: handle with: 'Arial' with: aFontSlant with: aFontWeight . self checkStatus This seems to work a little bit longer but I started from a fresh image. I think my image lasted for almost 2 hours before breaking down. Very difficult however to specify something more common then an Arial 11 font.... @+Maarten _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc report.zip (14K) Download Attachment |
Free forum by Nabble | Edit this page |