bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11541: 24.0.97; Crash when visiting file on OS X 10.7.3


From: YAMAMOTO Mitsuharu
Subject: bug#11541: 24.0.97; Crash when visiting file on OS X 10.7.3
Date: Fri, 01 Jun 2012 12:50:18 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shij┼Ź) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Thu, 31 May 2012 23:55:40 +0200, Florian Ebeling <address@hidden> said:

> So right after the crash the font_spec still looks like a legit lisp
> object. Don't ask me why that was different before. The values here
> and in other mails were copy-pasted, so that did happen.

My guess is that the earlier attempts were made on an optimized build.

Does the following simple test program crash for you (compile it with
the option "-framework Cocoa") ?  If so, I'd suspect font cache
corruption or other system-wide problems.

                                     YAMAMOTO Mitsuharu
                                address@hidden

#import <Cocoa/Cocoa.h>

main ()
{
  NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
  NSDictionary *attributes = [NSDictionary dictionary];
  NSFontDescriptor *descriptor = [NSFontDescriptor 
fontDescriptorWithFontAttributes:attributes];
  NSSet *keys = [NSSet set];
  NSArray *descs = [descriptor matchingFontDescriptorsWithMandatoryKeys:keys];

  CFShow (descs);
  [pool release];
}







reply via email to

[Prev in Thread] Current Thread [Next in Thread]