bug-gnustep
[Top][All Lists]
Advanced

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

[bug #43454] Problem with Continuous Spell Checking


From: Germán Arias
Subject: [bug #43454] Problem with Continuous Spell Checking
Date: Sun, 26 Oct 2014 22:39:45 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0

Follow-up Comment #4, bug #43454 (project gnustep):

I think this two problems are related.

Backtrace when app crash:

Open Ink, select at menu Check Spelling Automatically and then write, notice
the last space, "Hello programme " (without quotes). Then in contextual menu
select "programmer". The app crash. Here the backtrace:

Program received signal SIGSEGV, Segmentation fault.
-[NSLayoutManager(drawing) drawBackgroundForGlyphRange:atPoint:] ()
    at NSLayoutManager.m:1413
1413          NSRange r = NSMakeRange(glyph_pos + i,
glyph_run->head.glyph_length - i);
(gdb) backtrace
#0  -[NSLayoutManager(drawing) drawBackgroundForGlyphRange:atPoint:] ()
    at NSLayoutManager.m:1413
#1  0x0033b934 in -[NSTextView(leftovers) drawRect:] () at NSTextView.m:4003
#2  0x00360eda in -[NSView displayRectIgnoringOpacity:inContext:] ()
    at NSView.m:2570
#3  0x00355e3b in -[NSView displayRectIgnoringOpacity:] () at NSView.m:2519
#4  0x00360acf in -[NSView displayIfNeededInRectIgnoringOpacity:] ()
    at NSView.m:2450
#5  0x00360d01 in -[NSView displayIfNeededInRectIgnoringOpacity:] ()
    at NSView.m:2476
#6  0x00360d01 in -[NSView displayIfNeededInRectIgnoringOpacity:] ()
    at NSView.m:2476
#7  0x00360d01 in -[NSView displayIfNeededInRectIgnoringOpacity:] ()
    at NSView.m:2476
#8  0x00360d01 in -[NSView displayIfNeededInRectIgnoringOpacity:] ()
    at NSView.m:2476
#9  0x00355d06 in -[NSView displayIfNeededInRect:] () at NSView.m:2428
#10 0x00355b77 in -[NSView displayIfNeeded] () at NSView.m:2410
#11 0x00367b2f in -[NSWindow displayIfNeeded] () at NSWindow.m:2431
#12 0x00366478 in -[NSWindow(GNUstepPrivate) _handleAutodisplay] ()
    at NSWindow.m:189
#13 0x003716ab in +[NSWindow(GNUstepPrivate) _handleAutodisplay:] ()
    at NSWindow.m:218
#14 0x0080a5ba in -[NSObject performSelector:withObject:] () at
NSObject.m:2046
---Type <return> to continue, or q <return> to quit--
#15 0x0083f989 in -[GSRunLoopPerformer fire] () at NSRunLoop.m:110
#16 0x00842631 in -[NSRunLoop(Private) _checkPerformers:] () at
NSRunLoop.m:493
#17 0x008413a5 in -[NSRunLoop runMode:beforeDate:] () at NSRunLoop.m:1265
#18 0x00383885 in -[GSDisplayServer(EventOps)
getEventMatchingMask:beforeDate:inMode:dequeue:] () at GSDisplayServer.m:1040
#19 0x0291c4b7 in -[XGServer(X11Ops)
getEventMatchingMask:beforeDate:inMode:dequeue:] () at XGServerEvent.m:2571
#20 0x00202bf7 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] () at
../Headers/Additions/GNUstepGUI/GSDisplayServer.h:207
#21 0x0020109d in -[NSApplication run] () at NSApplication.m:1553
#22 0x001e3aeb in NSApplicationMain () at Functions.m:91
#23 0x08048e57 in main () at main.m:33


The other problem:

Open Ink, select at menu Check Spelling Automatically and then write "Hello
programme" this time without space at the end (without quotes). Then in
contextual menu select "programmer", the app hangs. This doesn't occurs if you
write only one word, for example "programm". Only if you write two or more
words. The odd thing here, is that auto complete also use
-replaceCharactersInRange:withString: and works OK. For example, open Gemas,
create a new Objective-C document, select at menu "Check Spelling
Automatically", and then write something like "#import NSMutabl" (without
quotes) and press Control-p to open the auto complete list, now select
something like NSMutableDictionary and this is inserted without problem.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43454>

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




reply via email to

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