John Levon wrote:

> On Sat, Sep 14, 2002 at 11:07:05AM +0200, Norbert Koksch wrote:
> 
>> LyX-1.3.0cvs compiled for qt3 chrashes if one enters AltGr on a German
>> keyboard, see the following debugger messages.
> 
> Thanks for the report. Can you update CVS and try again please ?
> 
> thanks
> john
> 
> 

Dear John,

this week I was at a conference, so I could not answer.

Today, I compiled the latest cvs-version. The behavior is the same (the 
backtrace is attached). While the week I tried to replace Alt_L and ALT_R 
by Meta_L, Meta_R (in different combinations).  LyX always chrashes while 
pressing AltGr. Interesting is that the behavior of the Alt-Key (left of 
the space key) seems to be independent (i.e., it works correctly) of the 
use of Alt,  Alt_L, Alt_R, Meta, Meta_L or Meta_R in qlkey.h.

Norbert





GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux"...
(gdb) run
Starting program: /usr/bin/qtlyx-1.3.0cvs 

Program received signal SIGSEGV, Segmentation fault.
0x082e1cf9 in QLyXKeySym::getISOEncoded (this=0x8714e88) at QLyXKeySym.C:72

72              lyxerr[Debug::KEY] << "getISO returning " << 
text_.latin1()[0] << endl;

(gdb) bt
#0  0x082e1cf9 in QLyXKeySym::getISOEncoded (this=0x8714e88) at 
QLyXKeySym.C:72
#1  0x081347e9 in LyXFunc::processKeySym (this=0xbfffeaa4, 
keysym=0xbfffeaa4, 
    state=none) at lyxfunc.C:233
#2  0x080644eb in BufferView::Pimpl::workAreaKeyPress (this=0x871c6a8, key=
        {px = 0xbfffeafc, pn = {pi_ = 0x0}}, state=none)
    at BufferView_pimpl.C:406
#3  0x083d1f78 in 
boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<void, 
boost::_mfi::mf2<void, BufferView::Pimpl, boost::shared_ptr<LyXKeySym>, 
key_modifier::state>, boost::_bi::list3<boost::_bi::value<BufferView::Pimpl 
*>, boost::arg<1>, boost::arg<2> > >, void, boost::shared_ptr<LyXKeySym>, 
key_modifier::state>::invoke (function_obj_ptr=
      {obj_ptr = 0x871b268, const_obj_ptr = 0x871b268, func_ptr = 
0x871b268}, 
    a0=0xbfffebbc, a1=none) at ../boost/boost/bind/mem_fn_template.hpp:213
#4  0x084690dc in boost::signal2<void, boost::shared_ptr<LyXKeySym>, 
key_modifier::state, boost::last_value<void>, int, less<int>, 
boost::function2<void, boost::shared_ptr<LyXKeySym>, key_modifier::state, 
boost::empty_function_policy, boost::empty_function_mixin, 
allocator<boost::function_base> > >::operator() (
    this=0x871c7b8, a1=0xbfffecb4, a2=none)
    at ../../../boost/boost/function/function_template.hpp:328
#5  0x08383427 in QContentPane::keyPressEvent (this=0x871d3d8, e=0xbfffef10)
    at QContentPane.C:140
#6  0x40257580 in QWidget::event () from /usr/lib/libqt.so.3
#7  0x401d3966 in QApplication::internalNotify () from /usr/lib/libqt.so.3
#8  0x401d317c in QApplication::notify () from /usr/lib/libqt.so.3
#9  0x401887c2 in QETWidget::translateKeyEvent () from /usr/lib/libqt.so.3
#10 0x4018405f in QApplication::x11ProcessEvent () from /usr/lib/libqt.so.3
#11 0x40182f5b in QApplication::processNextEvent () from /usr/lib/libqt.so.3
#12 0x401d4dbf in QApplication::enter_loop () from /usr/lib/libqt.so.3
#13 0x40182ed6 in QApplication::exec () from /usr/lib/libqt.so.3
#14 0x083005f7 in lyx_gui::start (batch=@0xbffff474, files=0xbffff40c)
    at lyx_gui.C:120
#15 0x0811a128 in LyX::LyX (this=0xbffff470, argc=@0xbffff484, 
argv=0xbffff4e4)
    at ../src/lyx_main.C:159
#16 0x0817dce6 in main (argc=1, argv=0xbffff4e4) at ../src/main.C:31
#17 0x407a19ed in __libc_start_main () from /lib/libc.so.6
(gdb) quit
The program is running.  Exit anyway? (y or n) 




Reply via email to