Bug 22685

Summary: text-transform-test-meta-argb32 test crashes
Product: cairo Reporter: David Keeler <keelerda>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.8.8   
Hardware: x86 (IA32)   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:

Description David Keeler 2009-07-09 11:41:31 UTC
text-transform-test-meta-argb32 test fails with a crash (segmentation fault) on OS X 10.5.7

Here's the relevant parts of the crash report:

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c0000045
Crashed Thread:  0

Thread 0 Crashed:
0   libcairo.2.dylib              	0x000b2ee7 cairo_font_face_destroy + 55 (cairo-font-face.c:196)
1   libcairo.2.dylib              	0x000c9a02 _cairo_scaled_font_fini_internal + 34 (cairo-scaled-font.c:723)
2   libcairo.2.dylib              	0x000c9a8d _cairo_scaled_font_fini + 45 (cairo-scaled-font.c:746)
3   libcairo.2.dylib              	0x000ca078 _cairo_scaled_font_map_destroy + 136 (cairo-scaled-font.c:389)
4   libcairo.2.dylib              	0x000b37f7 _cairo_font_face_reset_static_data + 23 (cairo-font-face.c:772)
5   libcairo.2.dylib              	0x000b2deb cairo_debug_reset_static_data + 11 (cairo-debug.c:67)
6   text-transform                	0x00002791 cairo_test_fini + 113 (cairo-test.c:224)
7   text-transform                	0x00004926 cairo_test + 518 (cairo-test.c:1359)
8   text-transform                	0x000022bb main + 27 (text-transform.c:112)
9   text-transform                	0x00001f56 start + 54

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xc0000041  ebx: 0x000b2ec4  ecx: 0x00000000  edx: 0x00000000
  edi: 0x00515c40  esi: 0x0050ac90  ebp: 0xbffff328  esp: 0xbffff310
   ss: 0x0000001f  efl: 0x00210202  eip: 0x000b2ee7   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0xc0000045
Comment 1 Andrea Canciani 2010-10-30 14:49:37 UTC
I'm unable to reproduce this problem on OSX 10.6 with cairo/master.
Could you try upgrading to 1.10 and check if it still affects you?
Comment 2 David Keeler 2010-10-31 12:10:10 UTC
I don't have OSX any more, so I can't reproduce it either.  If it works for you, then I assume it's been fixed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.