Moving this discussion from lyx-users to lyx-devel...

The crash (trace below) seems to be related to file management in general, not to keyboard maps per se.

So there are really two problems here:

(1) the crash
(2) getting compose keys to work (with or without using keymaps --- my guess is probably without, since it appears to work in other applications)

I'm afraid I'm not familiar with either of these areas...


Dov

John Coppens wrote:
On Fri, 04 Jul 2008 18:49:22 +0300
Dov Feldstern <[EMAIL PROTECTED]> wrote:

John Coppens wrote:
Hello people.

I'm not a very frequent user of LyX, but irregularly I do use it, and
seem to run into recurrent problems.

I reported the accented character composing problem a while ago (it
just doesn't work - I can't type Compose-e-', and get é, as I _can_
with other programs, like sylpheed).
If it works in other programs, that probably means that your os is
setup to handle this, so there should be no need for LyX's built-in
keymaps. Try disabling the "use keyboard map" option, and see if that
helps.

LyX starts with the keyboard disabled - compose doesn't work. I wanted to
try and enable it, which caused the crash. I have xmodmap definitions for the compose character: keycode 116 = Multi_key


Running LyX in gdb:

[New Thread 0xb6da2af0 (LWP 16563)]
[New Thread 0xb695ab90 (LWP 16566)]
[New Thread 0xb5f88b90 (LWP 16568)]
[New Thread 0xb5788b90 (LWP 16569)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6da2af0 (LWP 16563)]
QFileSystemModel::parent (this=0x892eb58, [EMAIL PROTECTED])
    at dialogs/qfilesystemmodel_p.h:200
200     dialogs/qfilesystemmodel_p.h: No such file or directory.
        in dialogs/qfilesystemmodel_p.h
Current language:  auto; currently c++

And the backtrace:

#0  QFileSystemModel::parent (this=0x892eb58, [EMAIL PROTECTED])
    at dialogs/qfilesystemmodel_p.h:200
#1  0xb7c3afee in QUrlModel::dataChanged (this=0x8c20ba0,
[EMAIL PROTECTED], [EMAIL PROTECTED])
    at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:350
#2 0xb7d76a52 in QUrlModel::qt_metacall (this=0x8c20ba0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbff6c1c0)
    at .moc/release-shared/moc_qsidebar_p.cpp:67
#3 0xb7364e5a in QMetaObject::activate (sender=0x892eb58, from_signal_index=4, to_signal_index=4, argv=0xbff6c1c0)
    at kernel/qobject.cpp:3081
#4 0xb73653c5 in QMetaObject::activate (sender=0x892eb58, m=0xb73fe6a8, local_signal_index=0, argv=0xbff6c1c0) at kernel/qobject.cpp:3140
#5  0xb73857c3 in QAbstractItemModel::dataChanged (this=0x892eb58,
[EMAIL PROTECTED], [EMAIL PROTECTED]) at .moc/release-shared/moc_qabstractitemmodel.cpp:123
#6  0xb7c46cb1 in QFileSystemModelPrivate::_q_fileSystemChanged (
    this=0x8c0deb0, [EMAIL PROTECTED], [EMAIL PROTECTED])
    at dialogs/qfilesystemmodel.cpp:1575
#7 0xb7d76f77 in QFileSystemModel::qt_metacall (this=0x892eb58, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xb600ccf8)
    at .moc/release-shared/../../dialogs/qfilesystemmodel_p.h:150
#8  0xb736105b in QMetaCallEvent::placeMetaCall (this=0x18, object=0x1)
    at kernel/qobject.cpp:536
#9  0xb7366fe7 in QObject::event (this=0x892eb58, e=0x892eb58)
    at kernel/qobject.cpp:1122
#10 0xb77befb0 in QApplicationPrivate::notify_helper (this=0x8790550, receiver=0x892eb58, e=0xb6008f28) at kernel/qapplication.cpp:3556
#11 0xb77bf111 in QApplication::notify (this=0x8793a20,
#receiver=0x892eb58, e=0xb6008f28) at kernel/qapplication.cpp:3497
#12 0x083edd3a in lyx::frontend::GuiApplication::notify ()
#13 0xb7352cef in QCoreApplication::notifyInternal (this=0x8793a20, receiver=0x892eb58, event=0xb6008f28) at
kernel/qcoreapplication.cpp:530
#14 0xb735718f in QCoreApplicationPrivate::sendPostedEvents
#(receiver=0x0, event_type=0, data=0x8738da8)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:200
#15 0xb7357305 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=-1) at kernel/qcoreapplication.cpp:1001
#16 0xb7379182 in postEventSourceDispatch (s=0x8798740)
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1794
#17 0xb719d56c in IA__g_main_context_dispatch (context=0x87986c0)
    at gmain.c:2065
#18 0xb71a0bbf in g_main_context_iterate (context=0x87986c0, block=1, dispatch=1, self=0x87964c0) at gmain.c:2698
#19 0xb71a1122 in IA__g_main_context_iteration (context=0x87986c0,
#may_block=1)
    at gmain.c:2761
#20 0xb7379085 in QEventDispatcherGlib::processEvents (this=0x8796538,
#flags=
    flags={i = -1208935320})
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1773
#22 0xb73521d8 in QEventLoop::processEvents (this=0x18, flags=Cannot
#access memory at address 0x18
)
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1773
#23 0xb73523c1 in QEventLoop::exec (this=0xbff6cc30, flags={i = 0})
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1789
#24 0xb7c14ca2 in QDialog::exec (this=0xbff6cc90)
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1774
#25 0x083ba367 in lyx::FileDialog::open ()
#26 0x08549b31 in lyx::frontend::browseFile ()
#27 0x0854a6c9 in lyx::frontend::browseLibFile ()
#28 0x08533450 in lyx::frontend::ControlPrefs::browsekbmap ()
#29 0x0848398e in lyx::frontend::PrefKeyboard::testKeymap ()
#30 0x08490ff6 in lyx::frontend::PrefKeyboard::on_firstKeymapPB_clicked ()
#31 0x08491110 in lyx::frontend::PrefKeyboard::qt_metacall ()
#32 0xb7364e5a in QMetaObject::activate (sender=0x8b9d048, from_signal_index=29, to_signal_index=30, argv=0xbff6d548)
    at kernel/qobject.cpp:3081
#33 0xb736515b in QMetaObject::activate (sender=0x8b9d048, m=0xb7ef3c10, from_local_signal_index=2, to_local_signal_index=3, argv=0xbff6d548)
    at kernel/qobject.cpp:3160
#34 0xb7d6fc1e in QAbstractButton::clicked (this=0x8b9d048, _t1=false)
    at .moc/release-shared/moc_qabstractbutton.cpp:180
#35 0xb7af4b6e in QAbstractButtonPrivate::emitClicked (this=0x8b9d060)
    at widgets/qabstractbutton.cpp:531
#36 0xb7af5375 in QAbstractButtonPrivate::click (this=0x8b9d060)
    at widgets/qabstractbutton.cpp:524
#37 0xb7af55ea in QAbstractButton::mouseReleaseEvent (this=0x8b9d048, e=0xbff6dd40) at widgets/qabstractbutton.cpp:1101
#38 0xb780c817 in QWidget::event (this=0x8b9d048, event=0xbff6dd40)
    at kernel/qwidget.cpp:6138
#39 0xb7af4a64 in QAbstractButton::event (this=0x8b9d048, e=0xbff6dd40)
    at widgets/qabstractbutton.cpp:1063
#40 0xb7b9bbee in QPushButton::event (this=0x8b9d048, e=0xbff6dd40)
    at widgets/qpushbutton.cpp:665
#41 0xb77befb0 in QApplicationPrivate::notify_helper (this=0x8790550, receiver=0x8b9d048, e=0xbff6dd40) at kernel/qapplication.cpp:3556
#42 0xb77bfbd9 in QApplication::notify (this=0x8793a20,
#receiver=0x8b9d048, e=0xbff6dd40) at kernel/qapplication.cpp:3255
#43 0x083edd3a in lyx::frontend::GuiApplication::notify ()
#44 0xb7352cef in QCoreApplication::notifyInternal (this=0x8793a20, receiver=0x8b9d048, event=0xbff6dd40) at
kernel/qcoreapplication.cpp:530
#45 0xb7825d9f in QETWidget::translateMouseEvent (this=0x8b9d048, event=0xbff6e290)
    event=0xbff6e290) at kernel/qapplication_x11.cpp:3020
#47 0xb7849042 in x11EventSourceDispatch (s=0x87993f8, callback=0, user_data=0x0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:90
#48 0xb719d56c in IA__g_main_context_dispatch (context=0x87986c0)
    at gmain.c:2065
#49 0xb71a0bbf in g_main_context_iterate (context=0x87986c0, block=1, dispatch=1, self=0x87964c0) at gmain.c:2698
#50 0xb71a1122 in IA__g_main_context_iteration (context=0x87986c0,
#may_block=1)
    at gmain.c:2761
#51 0xb7379085 in QEventDispatcherGlib::processEvents (this=0x8796538,
#flags=
      {i = 20}) at kernel/qeventdispatcher_glib.cpp:338
#52 0xb7848adb in QGuiEventDispatcherGlib::processEvents (this=0x8796538, flags={i = -1208935320})
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1773
#53 0xb73521d8 in QEventLoop::processEvents (this=0x18, flags=Cannot
#access memory at address 0x18
)
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1773
#54 0xb73523c1 in QEventLoop::exec (this=0xbff6e560, flags={i = 0})
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1789
#55 0xb73573a6 in QCoreApplication::exec ()
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1774
#56 0xb77be4a9 in QApplication::exec () at kernel/qapplication.cpp:3053
#57 0x081791ce in lyx::LyX::exec ()
#58 0x08067b8d in main ()


What version of LyX are you using?

Sorry, you already mentioned it's 1.5.5 ;)

;-)


Anyone?

John

Reply via email to