• 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
Re: NSSpellChecker crashes after 64k words - additional info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSpellChecker crashes after 64k words - additional info


  • Subject: Re: NSSpellChecker crashes after 64k words - additional info
  • From: Denis Stanton <email@hidden>
  • Date: Tue, 12 Apr 2005 11:33:28 +1200

Hi Douglas

On Apr 12, 2005, at 10:52 AM, Douglas Davidson wrote:

At this point one usually goes on to type "bt", and the debugger then usually responds with something that might well be of interest to those of us who hope to be able to answer your question.

Thanks for your help, and for diplomatically pointing out one reason why my question didn't get flood of replies. :-)
I am not so familiar with Obj-C debugging. In the WebObjects java world I get stack traces in the run log without asking.


The first couple of lines below are from my NSLog messages. One line is written for each valid word found. When it found the 256th word (that very familiar number is a coincidence) it had processed 65069 invalid words. I believe that before it could find a 257th word the invalid word count reached 65,536 and NSSpellChecker fell over.

I typed bt as you suggested (I didn't know this before) so a trace follows.

2005-04-12 11:26:20.880 Periodic[9082] 4, 68, 16, checked 65047 word count = 255 beers Be(4)Er S
2005-04-12 11:26:20.907 Periodic[9082] 4, 68, 39, checked 65069 word count = 256 beery Be(4)Er Y
Program received signal: "EXC_BAD_ACCESS".
(gdb) bt
#0 0x90831578 in _class_lookupMethodAndLoadCache ()
#1 0x90831298 in objc_msgSend ()
#2 0x90831298 in objc_msgSend ()
#3 0x90a0423c in -[NSConnection sendInvocation:] ()
#4 0x909fcfd0 in -[NSObject(NSForwardInvocation) forward::] ()
#5 0x90836810 in _objc_msgForward ()
#6 0x92f36514 in -[NSSpellChecker _chunkAndFindMisspelledWordInString:language:learnedDictionaries: wordCount:usingSpellServer:] ()
#7 0x92f35cf4 in -[NSSpellChecker checkSpellingOfString:startingAt:language:wrap:inSpellDocumentWithTag: wordCount:reconnectOnError:] ()
#8 0x930f38a4 in -[NSSpellChecker checkSpellingOfString:startingAt:] ()
#9 0x0000856c in -[Periodic lookForWords] ()
#10 0x000081d0 in -[Periodic start:] ()
#11 0x92e78224 in -[NSApplication sendAction:to:from:] ()
#12 0x92e7ef40 in -[NSControl sendAction:to:] ()
#13 0x92eb91f4 in -[NSCell _sendActionFrom:] ()
#14 0x92e58cb8 in -[NSCell trackMouse:inRect:ofView:untilMouseUp:] ()
#15 0x92ec9e04 in -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] ()
#16 0x92e8f010 in -[NSControl mouseDown:] ()
#17 0x92e03178 in -[NSWindow sendEvent:] ()
#18 0x92df583c in -[NSApplication sendEvent:] ()
#19 0x92dfdc54 in -[NSApplication run] ()
#20 0x92eba2b8 in NSApplicationMain ()
#21 0x00007c4c in _start (argc=1, argv=0xbffffcd8, envp=0xbffffce0) at /SourceCache/Csu/Csu-47/crt.c:267
#22 0x8fe1a558 in __dyld__dyld_start ()
(gdb)


regards

Denis

Denis Stanton
Orcon Internet Limited
(09) 480 9299
http://www.orcon.net.nz




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >NSSpellChecker crashes after 64k words - additional info (From: Denis Stanton <email@hidden>)
 >Re: NSSpellChecker crashes after 64k words - additional info (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: Using wildcards in string comparison
  • Next by Date: Re: Split view in a table
  • Previous by thread: Re: NSSpellChecker crashes after 64k words - additional info
  • Next by thread: Objective-C third party framework/code repository... (Semi-OT?)
  • Index(es):
    • Date
    • Thread