• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Xcode stuck over [NSPrintInfo paperSize], but gdb answers at once
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode stuck over [NSPrintInfo paperSize], but gdb answers at once


  • Subject: Xcode stuck over [NSPrintInfo paperSize], but gdb answers at once
  • From: "Ewan Delanoy" <email@hidden>
  • Date: Wed, 2 May 2007 06:28:13 +0200 (CEST)
  • Importance: Normal

      Hello all,

 there's a strange semi-bug that keeps haunting my project in
different guises (and I already sent posts to this list about it, but
this post, like the others, is about a new development of this bug).
What happens is this : the Xcode compiler freezes (executes a command
infinitely slowly). The command in question is

[printInfo paperSize];

 What is surprising is that, if I pause and ask gdb the result of this
command,
it finds the answer immediately :
(gdb) p (NSSize) [printInfo paperSize]

$1 = {
  width = 612,
  height = 792
}

 The stack is as follows (it does not change if I look 2 min or 5 min after )

#0  0x9072e980 in CFStringGetCharacters ()
#1  0x9073cf00 in CFStringCompareWithOptions ()
#2  0x9073cc7c in CFStringCompare ()
#3  0x915cb6d8 in FindEnumTicketType ()
#4  0x915ce574 in PMTicketGetItem ()
#5  0x915ce4c8 in PMTicketGetTypedItem ()
#6  0x915cedc8 in PMTicketGetPMRect ()
#7  0x915d0eac in OpaquePMPageFormat::PJCGetPhysicalPaperSize ()
#8  0x915d0da8 in PMGetUnadjustedPaperRect ()
#9  0x93819710 in +[NSPrintInfo(NSManagedAttributes)
_paperSizeInPageFormat:] ()
#10 0x93818924 in -[NSPrintInfo(NSManagedAttributes)
_objectForAttributeKey:] ()
#11 0x93818754 in -[NSPrintInfo paperSize] ()


              What is it that causes Xcode to be so slow ?


                                                                                  Ewan

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Bindings crash on quit.
  • Next by Date: [MEET] May CocoaHeads Meetings
  • Previous by thread: Re: Bindings crash on quit.
  • Next by thread: [MEET] May CocoaHeads Meetings
  • Index(es):
    • Date
    • Thread