discuss-gnustep
[Top][All Lists]
Advanced

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

exceptions at alt-gr key


From: Riccardo Mottola
Subject: exceptions at alt-gr key
Date: Mon, 17 Feb 2014 01:19:53 +0100
User-agent: Mozilla/5.0 (X11; NetBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hi,

when using PC, I get the console flooded with exceptions. I htink this is very related to the crash I was seeing.

#0  -[NSException raise] (self=0xb7d10bd0,
    _cmd=0xbb647e08 <_OBJC_SELECTOR_TABLE+168>) at NSException.m:960
#1  0xbb35cf42 in +[NSException raise:format:arguments:] (
    self=0xbb647c20 <_OBJC_CLASS_NSException>,
    _cmd=0xbb647df0 <_OBJC_SELECTOR_TABLE+144>,
name=0xbb647ec8 <_OBJC_INSTANCE_4>, format=0xbb619e64 <_OBJC_INSTANCE_5>,
    argList=0xbfbfe4d4 "\\ga\273 |d\273p\234a\273A") at NSException.m:854
#2  0xbb35dc38 in +[NSException raise:format:] (
    self=0xbb647c20 <_OBJC_CLASS_NSException>,
    _cmd=0xbb619c70 <_OBJC_SELECTOR_TABLE+16>,
name=0xbb647ec8 <_OBJC_INSTANCE_4>, format=0xbb619e64 <_OBJC_INSTANCE_5>)
    at NSException.m:840
#3  0xbb288817 in -[GSAttributedString initWithString:attributes:] (
self=0xb7d10b50, _cmd=0xbbb08be0 <_OBJC_SELECTOR_TABLE+1472>, aString=0x0,
    attributes=0xb7d29410) at GSAttributedString.m:512
#4  0xbb90b28c in -[NSTextView insertText:] (self=0xb8b525d0,
    _cmd=0xb8244520 <_OBJC_SELECTOR_TABLE+864>, insertString=0x0)
    at NSTextView.m:2216
#5  0xb8237e94 in -[PCEditorView insertText:] (self=0xb8b525d0,
_cmd=0xbbab1768 <_OBJC_SELECTOR_TABLE+456>, text=0x0) at PCEditorView.m:566
#6  0xbb838b4b in -[NSInputManager insertText:] (self=0xb8b2e920,
    _cmd=0xbbab1768 <_OBJC_SELECTOR_TABLE+456>, aString=0x0)
    at NSInputManager.m:795

we see in #3 that aString is nil. But in #4 it is nil already.in #5 we see that text is NULL, which comes from #6 directly from the NSInputManager.
In #7, if I print out characters:
(gdb) p characters
$1 = (struct NSString *) 0x0

thus it must come so from NSResponder?

Since it appears to happen when I type [] and @, all of which need an alt-gr key, it is related to that. In fact, being careful, I notice I get the exception even if I only hit the "alt-gr" key! not even the whole key-combination. This is why it probably afterwards works and inserts the character I need correctly.
The same even happens if I press the blue "Fn" key of my laptop keyboard!

Riccardo





reply via email to

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