[Rd] View() crashy on Ubuntu 9.04

Ei-ji Nakama nakama at ki.rim.or.jp
Wed May 13 09:55:30 CEST 2009


2009/5/13 Dirk Eddelbuettel <edd at debian.org>:
> #0  0xb70e685e in XmbLookupString () from /usr/lib/libX11.so.6
> #1  0xb73a9d48 in doSpreadKey (DE=0x8bfd040, key=<value optimized out>, event=0xbfed68d8) at dataentry.c:1828

It is generated by XmbLookupString and Xutf8LookupString because
this doesn't make Input context of X11 when dataeditor is View.

static char *GetCharP(DEEvent * event)
            XmbLookupString(ioic, (XKeyEvent *)event, /* ioic at view
time is NULL*/
                            text, sizeof(text) - clength,
                            &iokey, &status);

I think that this only has to limit GetCharP to isEditor=TRUE.
moreover View() was strange operation of  "page down".


I think that I improve the above-mentioned by this patch.

EI-JI Nakama  <nakama (a) ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb"  <nakama (a) ki.rim.or.jp>

More information about the R-devel mailing list