• 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 crash with strange newline characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xcode crash with strange newline characters


  • Subject: xcode crash with strange newline characters
  • From: Wesley Smith <email@hidden>
  • Date: Wed, 18 Feb 2009 01:09:34 -0800

Hi list,
I'm having a strange problem with xcode that is causing a very
reliable crash.  In one project, if I copy code form one file to
another, the formatting is munged and a lot of odd newline characters
appear.  If I try to edit this pasted result and type 'enter', I get a
crash like this:

Exception Type:  EXC_ARITHMETIC (SIGFPE)
Exception Codes: EXC_I386_DIV (divide by zero)
Crashed Thread:  0

Application Specific Information:
objc[47950]: garbage collection is ON

Thread 0 Crashed:
0   ...ple.Xcode.DevToolsInterface	0x00bd2415
PBX_numberOfLeadingSpacesFromRangeInString + 263
1   ...ple.Xcode.DevToolsInterface	0x00efb1f2
-[XCSourceCodeTextView(PBXAdditions) PBX_insertNewlineAndIndent:] +
530
2   com.apple.AppKit              	0x90452281 -[NSResponder
doCommandBySelector:] + 83
3   com.apple.AppKit              	0x90452108 -[NSTextView
doCommandBySelector:] + 237
4   com.apple.Xcode.XcodeEdit     	0x0024d32b
-[XCTextView(FoldingSupport) doCommandBySelector:] + 306
5   ...ple.Xcode.DevToolsInterface	0x00ba09d7 -[XCSourceCodeTextView
doCommandBySelector:] + 108
6   com.apple.AppKit              	0x90445229
-[NSKeyBindingManager(NSKeyBindingManager_MultiClients)
interpretEventAsCommand:forClient:] + 1924
7   com.apple.AppKit              	0x90443e36 -[NSTSMInputContext
interpretKeyEvents:] + 1202
8   com.apple.AppKit              	0x90443952 -[NSView interpretKeyEvents:] + 70
9   com.apple.AppKit              	0x90443862 -[NSTextView keyDown:] + 748
10  ...ple.Xcode.DevToolsInterface	0x00b9b6b0 -[XCSourceCodeTextView
keyDown:] + 108
11  com.apple.AppKit              	0x903b3ddd -[NSWindow sendEvent:] + 8511
12  ...ple.Xcode.DevToolsInterface	0x00b5fe3f -[XCWindow sendEvent:] + 185
13  com.apple.AppKit              	0x9037fd49 -[NSApplication sendEvent:] + 2941
14  ...ple.Xcode.DevToolsInterface	0x00b071e1 -[PBXExtendedApplication
sendEvent:] + 286
15  com.apple.AppKit              	0x902dd69f -[NSApplication run] + 847
16  com.apple.AppKit              	0x902aa8a4 NSApplicationMain + 574
17  com.apple.Xcode               	0x00002c82 0x1000 + 7298



What I don't get is how editing text can create a divide by zero
error, but there it is.  Here's a link to an image showing on the left
the xcode strange formatting and on the right, the exact same code
copied into another editor showing the way it's supposed to look.
Anyone seen this before?  I can't for the life of me understand what
is going on.

http://www.mat.ucsb.edu/~whsmith/temp/xcode.crash.jpg

thanks,
wes
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: xcode crash with strange newline characters
      • From: Wesley Smith <email@hidden>
  • Prev by Date: Re: stringValue & setStringValue
  • Next by Date: Re: xcode crash with strange newline characters
  • Previous by thread: Info request on Crashreport.app
  • Next by thread: Re: xcode crash with strange newline characters
  • Index(es):
    • Date
    • Thread