>>>>> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:

Bennett> LyX-140 on Mac will crash *when using key bindings* for File
Bennett> > Open, File > New, and File > New from Template. It will not
Bennett> crash when using the mouse to select these from the menus,
Bennett> nor will it crash dragging and dropping files into the LyX
Bennett> window.

The fact that it is related to key bindings is not too strange, since
the crash occurs in key-handling code. What is very strange, though,
is the following

#0  (anonymous namespace)::encode ([EMAIL PROTECTED], [EMAIL PROTECTED]) at
QLyXKeySym.C:59
#1  0x00174ca8 in QLyXKeySym::getISOEncoded (this=0xf947ab0,
[EMAIL PROTECTED]) at QLyXKeySym.C:200

See ho "encoding" has a reasonable-looking address in #1, but is @0x0
in #0. This does not seems possible according to the code for
getISOEncoded:

char QLyXKeySym::getISOEncoded(string const & encoding) const
{
        if (lyxerr.debugging())
                lyxerr[Debug::KEY] << "encoding is " << encoding << endl;
        unsigned char const c = encode(encoding, text_);
        if (lyxerr.debugging())
                lyxerr[Debug::KEY] << "ISOEncoded returning value " << int(c) 
<< endl;
        return c;
}

As you see, the variable "encoding" (which is constant anyway) is
passed unchanged.

Could this be a compiler bug? I guess you have the latest updates.

Could you try to compile without optimization
(--disable-optimization).

JMarc

Reply via email to