Hi. I am using a program called kxmame. It is a
frontend to xmame emulator. The problem is that when
scim is active, kxmame crashes when KIntSpinBox widgets
in the properties dialog is invoked. Have a look at the
backtrace:
(gdb) bt
#0 0x00856794 in __gnu_cxx::__mt_alloc<std::string,
__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool,
true> >::allocate ()
from /usr/lib/libscim-1.0.so.8
#1 0x00857653 in std::vector<std::string,
std::allocator<std::string>
>>::vector () from /usr/lib/libscim-1.0.so.8
#2 0x008720e9 in scim::scim_global_config_read ()
from /usr/lib/libscim-1.0.so.8
#3 0x0084f1c3 in scim::CommonBackEnd::CommonBackEnd ()
from /usr/lib/libscim-1.0.so.8
#4 0x002483d2 in
scim::QScimInputContextGlobal::initialize ()
from /usr/lib/qt-3.3/plugins/inputmethods/libqscim.so
#5 0x0024b9d0 in
scim::QScimInputContext::QScimInputContext ()
from /usr/lib/qt-3.3/plugins/inputmethods/libqscim.so
#6 0x00243876 in ScimInputContextPlugin::create ()
from /usr/lib/qt-3.3/plugins/inputmethods/libqscim.so
#7 0x05b11173 in QInputContextPluginPrivate::create ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#8 0x05b10edc in QInputContextFactory::create ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#9 0x00209e8d in QMultiInputContext::changeInputMethod ()
from
/usr/lib/qt-3.3/plugins/inputmethods/libqimsw-multi.so
#10 0x0020a03e in QMultiInputContext::slave ()
from
/usr/lib/qt-3.3/plugins/inputmethods/libqimsw-multi.so
#11 0x0020a2d9 in QMultiInputContext::setHolderWidget ()
---Type <return> to continue, or q <return> to quit---
from
/usr/lib/qt-3.3/plugins/inputmethods/libqimsw-multi.so
#12 0x05b10ef0 in QInputContextFactory::create ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#13 0x0587353e in QWidget::createInputContext ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x05875952 in QWidget::resetInputContext ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#15 0x059ee92e in QLineEdit::setText () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x05a40a83 in QSpinBox::updateDisplay ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#17 0x05a3e8c7 in QSpinBox::initSpinBox ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#18 0x05a3f128 in QSpinBox::QSpinBox$base ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x06729c6a in KIntSpinBox::KIntSpinBox () from
/usr/lib/libkdeui.so.4
#20 0x0809b3af in displayPrefFrame (this=0xa365ee0,
parent=0xa365d70,
name=0x0, fl=0) at DisplayPref.cpp:82
#21 0x0806899e in kxmameDisplayPref (this=0xa365d70,
parent=0xa365940)
at pref.cpp:1651
#22 0x0807562a in kxmamePreferences (this=0xbfdbb53c,
rom=0x0) at
pref.cpp:132
#23 0x0805eec2 in kxmame::optionsPreferences
(this=0x9ca8820) at
kxmame.cpp:909
#24 0x0805f44a in kxmame::qt_invoke (this=0x9ca8820,
_id=75, _o=0xbfdbb808)
at kxmame.moc:128
---Type <return> to continue, or q <return> to quit---
#25 0x05912eb4 in QObject::activate_signal ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#26 0x05913374 in QObject::activate_signal ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#27 0x0670635f in KAction::activated () from
/usr/lib/libkdeui.so.4
#28 0x06706484 in KAction::slotActivated () from
/usr/lib/libkdeui.so.4
#29 0x06708a20 in KAction::slotPopupActivated () from
/usr/lib/libkdeui.so.4
#30 0x06708caa in KAction::qt_invoke () from
/usr/lib/libkdeui.so.4
#31 0x05912eb4 in QObject::activate_signal ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#32 0x05c8b2e6 in QSignal::signal () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
#33 0x05930693 in QSignal::activate () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
#34 0x05a275e2 in QPopupMenu::mouseReleaseEvent ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#35 0x066f71cb in KPopupMenu::mouseReleaseEvent () from
/usr/lib/libkdeui.so.4
#36 0x05951187 in QWidget::event () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
#37 0x058ae0dd in QApplication::internalNotify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#38 0x058af03f in QApplication::notify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#39 0x060b4851 in KApplication::notify () from
/usr/lib/libkdecore.so.4
#40 0x05845b4d in QETWidget::translateMouseEvent ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
#41 0x05843f01 in QApplication::x11ProcessEvent ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#42 0x05858008 in QEventLoop::processEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#43 0x058c6812 in QEventLoop::enterLoop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#44 0x058c6736 in QEventLoop::exec () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
#45 0x058adaa9 in QApplication::exec () from
/usr/lib/qt-3.3/lib/libqt-mt.so.3
#46 0x0805a18e in main (argc=1, argv=0xbfdbc484) at
main.cpp:116
Exporting QT_IM_MODULE=ximseems to solve the problem. I
am using Fedora core 4 with the following fedore-extras
packages installed:
scim-1.4.2-4.fc4
scim-anthy-0.6.1-2.fc4
scim-devel-1.4.2-4.fc4
scim-doc-1.4.2-4.fc4
scim-libs-1.4.2-4.fc4
scim-qtimm-0.9.4-0.fc4
Logged In: YES
user_id=600121
seems to me, your kxmame was compiled with a different
version of gcc, which is beyond our control. (or scim-* was
compiled with a different one)
please try to compile it yourself.
Logged In: YES
user_id=1359362
You may be right, but the version difference probably is
very minor. I have compiled kxmame with gcc 4.0.1, and all
fedora packages are probably also built with it (just
guessing, but gcc 4.0.1 is default fc4 compiler). Which
packages should i dl and build to try? Greets.
Logged In: YES
user_id=600121
I think compile kxmame is enough
can you use scim in other qt apps?
Logged In: YES
user_id=1359362
Yes. Konsole, krusader, kwrite and amaroK work ok. Others
probably too.
Logged In: YES
user_id=600121
is there anywhere else in kxmame where you can input?
Logged In: YES
user_id=1359362
There are several places, but trying to open any of them
causes the crash. Also, the following line is present in the
console output:
WARNING: please edit ~/.scim/global and change
/DefaultConfigModule to kconfig
But I have bad experiences with skim (I was not able to
start almost any application), so I uninstalled it.
Logged In: YES
user_id=600121
if you compile skim from source, it would be fine. (I think
your bad experience is due to different versions of scim).
Of course, please use skim only under KDE.
that warning does no harm at all
I just compiled kxmame, works fine, no crash at all
I found out that kxmame links against glib. Could you check
the version of gcc which compiled your glib?
Logged In: YES
user_id=1359362
I did compile skim from source, as there is no package in
fedora-extras. But that's not the point ot this bug. How to
check with which gcc glib was compiled? I have found the
following glib packages :
glib2-2.6.6-1
glibmm24-devel-2.6.1-1
dbus-glib-0.33-3.fc4.1
glib-devel-1.2.10-16
glib-1.2.10-16
glib2-devel-2.6.6-1
glibmm24-2.6.1-1
Logged In: YES
user_id=1359362
I have found 'rebuilt with gcc4' string in changelogs for
both glib and glib2 packages.
Logged In: YES
user_id=1359362
Another appliation that crashes due to the same reason:
ktouch included in kdeedu-3.4.2-0.fc4.2 package.
Logged In: YES
user_id=600121
I can not reproduce any of the crashes in my system (gcc
3.4.4, gentoo)
anyone else experience this kind of issue?
Logged In: YES
user_id=1359362
I have filed in a bug in Fedora Extras Bugzilla:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=172353
Logged In: YES
user_id=600121
my system is recompiled completely by gcc 4 now, and I tried
ktouch, still no crash at all
Logged In: YES
user_id=1359362
Maybe this bug is fedora-specific. Hope someone will reply
to my bur report there. Note that I am using pl_PL.UTF-8
locale, but the crash is present for ja_JP.UTF-8 also.
Logged In: YES
user_id=1359362
Upgrading to kde 3.5 solved the problem.