Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207253 - KDE4 applications sometimes crash with app-i18n/scim-bridge as input method
Summary: KDE4 applications sometimes crash with app-i18n/scim-bridge as input method
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on: 216127 237018
Blocks:
  Show dependency tree
 
Reported: 2008-01-24 06:41 UTC by Rickard Närström
Modified: 2008-11-02 20:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rickard Närström 2008-01-24 06:41:48 UTC
This crach is from konqueror but I can confirm that other KDE4 apps crach with simelar backtraces.

----
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x2b1ce5aad290 (LWP 752)]
[KCrash handler]
#5  0x00002b1cdeb72b7f in QObject::thread (this=0x931520)
    at kernel/qobject.cpp:1337
#6  0x00002b1cdeb64ec5 in QCoreApplicationPrivate::checkReceiverThread (
    this=0x61f4d0, receiver=0x931520) at kernel/qcoreapplication.cpp:258
#7  0x00002b1ce0b39dc8 in QApplication::notify (this=0x7fffccd06e20, 
    receiver=0x931520, e=0x7fffccd05600) at kernel/qapplication.cpp:3071
#8  0x00002b1cdf4484bb in KApplication::notify ()
   from /usr/kde/4.0/lib64/libkdeui.so.5
#9  0x00002b1cdeb63ad2 in QCoreApplication::notifyInternal (
    this=0x7fffccd06e20, receiver=0x931520, event=0x7fffccd05600)
    at kernel/qcoreapplication.cpp:530
#10 0x00002b1ce0b36bf3 in QCoreApplication::sendEvent (receiver=0x931520, 
    event=0x7fffccd05600)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:200
#11 0x00002b1ce10fc4d7 in QInputContext::sendEvent (this=0x7962b0, 
    event=@0x7fffccd05710) at inputmethod/qinputcontext.cpp:263
#12 0x00002b1ce10fc4a2 in QInputContext::sendEvent (this=0x78da90, 
    event=@0x7fffccd05710) at inputmethod/qinputcontext.cpp:254
#13 0x00002b1ce774d5c5 in ScimBridgeClientIMContextImpl::update_preedit (
    this=0x78da90) at scim-bridge-client-imcontext-qt.cpp:651
#14 0x00002b1ce774e4aa in ScimBridgeClientIMContextImpl::focus_out (
    this=0x78da90) at scim-bridge-client-imcontext-qt.cpp:446
#15 0x00002b1ce774e507 in ScimBridgeClientIMContextImpl::widgetDestroyed (
    this=0x78da90, widget=0x981bd0) at scim-bridge-client-imcontext-qt.cpp:215
#16 0x00002b1ce752aca5 in QMultiInputContext::widgetDestroyed (this=0x7962b0, 
    w=0x981bd0) at qmultiinputcontext.cpp:163
#17 0x00002b1ce0bcf5f7 in QWidget::destroy (this=0x981bd0, 
    destroyWindow=true, destroySubWindows=true) at kernel/qwidget_x11.cpp:856
#18 0x00002b1ce0b971d4 in ~QWidget (this=0x981bd0) at kernel/qwidget.cpp:1201
#19 0x00002b1ce0f15bef in ~QFrame (this=0x981bd0) at widgets/qframe.cpp:242
#20 0x00002b1ce0fb22c5 in ~QAbstractScrollArea (this=0x981bd0)
    at widgets/qabstractscrollarea.cpp:467
#21 0x00002b1ce10578db in ~QAbstractItemView (this=0x981bd0)
    at itemviews/qabstractitemview.cpp:481
#22 0x00002b1ce1076b09 in ~QListView (this=0x981bd0)
    at itemviews/qlistview.cpp:195
#23 0x00002b1ce10b2a0d in ~QListWidget (this=0x981bd0)
    at itemviews/qlistwidget.cpp:1282
#24 0x00002b1cea82f99e in ?? () from /usr/kde/4.0/lib64/libkhtml.so.5
#25 0x00002b1cdeb734df in QObjectPrivate::deleteChildren (this=0xaabd30)
    at kernel/qobject.cpp:1925
#26 0x00002b1ce0b971b8 in ~QWidget (this=0xaabcc0) at kernel/qwidget.cpp:1197
#27 0x00002b1ce0f2a96f in ~QLineEdit (this=0xaabcc0)
    at widgets/qlineedit.cpp:355
#28 0x00002b1cea827842 in ?? () from /usr/kde/4.0/lib64/libkhtml.so.5
#29 0x00002b1cdeb7828c in QObject::event (this=0xaabcc0, e=0x94ce10)
    at kernel/qobject.cpp:1105
#30 0x00002b1ce0b9534f in QWidget::event (this=0xaabcc0, event=0x94ce10)
    at kernel/qwidget.cpp:6510
#31 0x00002b1ce0f2e130 in QLineEdit::event (this=0xaabcc0, e=0x94ce10)
    at widgets/qlineedit.cpp:1580
#32 0x00002b1cdf4e6777 in KLineEdit::event ()
   from /usr/kde/4.0/lib64/libkdeui.so.5
#33 0x00002b1cea8277a9 in ?? () from /usr/kde/4.0/lib64/libkhtml.so.5
#34 0x00002b1ce0b39d0f in QApplicationPrivate::notify_helper (this=0x61f4d0, 
    receiver=0xaabcc0, e=0x94ce10) at kernel/qapplication.cpp:3556
#35 0x00002b1ce0b3bb7d in QApplication::notify (this=0x7fffccd06e20, 
    receiver=0xaabcc0, e=0x94ce10) at kernel/qapplication.cpp:3497
#36 0x00002b1cdf4484bb in KApplication::notify ()
   from /usr/kde/4.0/lib64/libkdeui.so.5
#37 0x00002b1cdeb63ad2 in QCoreApplication::notifyInternal (
    this=0x7fffccd06e20, receiver=0xaabcc0, event=0x94ce10)
    at kernel/qcoreapplication.cpp:530
#38 0x00002b1cdeb67695 in QCoreApplication::sendEvent (receiver=0xaabcc0, 
    event=0x94ce10) at kernel/qcoreapplication.h:200
#39 0x00002b1cdeb64077 in QCoreApplicationPrivate::sendPostedEvents (
    receiver=0x0, event_type=0, data=0x604e40)
    at kernel/qcoreapplication.cpp:1116
#40 0x00002b1cdeb92c65 in QEventDispatcherUNIX::processEvents (this=0x61edd0, 
    flags=@0x7fffccd06a90) at kernel/qeventdispatcher_unix.cpp:858
#41 0x00002b1ce0bdd8f4 in QEventDispatcherX11::processEvents (this=0x61edd0, 
    flags=@0x7fffccd06ae0) at kernel/qeventdispatcher_x11.cpp:145
#42 0x00002b1cdeb605b9 in QEventLoop::processEvents (this=0x7fffccd06ba0, 
    flags=@0x7fffccd06b40) at kernel/qeventloop.cpp:140
#43 0x00002b1cdeb6070f in QEventLoop::exec (this=0x7fffccd06ba0, 
    flags=@0x7fffccd06bb0) at kernel/qeventloop.cpp:186
#44 0x00002b1cdeb643fd in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:759
#45 0x00002b1ce0b398e0 in QApplication::exec ()
    at kernel/qapplication.cpp:3053
#46 0x00002b1cde067a1f in kdemain ()
   from /usr/kde/4.0/lib64/libkdeinit4_konqueror.so
#47 0x00002b1cde2ab1f4 in __libc_start_main () from /lib64/libc.so.6
#48 0x0000000000400779 in _start ()
#0  0x00002b1cde324c41 in nanosleep () from /lib64/libc.so.6
----
#5  0x00002b1cdeb72b7f in QObject::thread (this=0x931520) at kernel/qobject.cpp:1337
No locals.
#6  0x00002b1cdeb64ec5 in QCoreApplicationPrivate::checkReceiverThread (this=0x61f4d0, receiver=0x931520) at kernel/qcoreapplication.cpp:258
        currentThread = (class QThread *) 0x604f30
        thr = (class QThread *) 0x6050f0
#7  0x00002b1ce0b39dc8 in QApplication::notify (this=0x7fffccd06e20, receiver=0x931520, e=0x7fffccd05600) at kernel/qapplication.cpp:3071
        d = (QApplicationPrivate * const) 0x61f4d0
        res = false
#8  0x00002b1cdf4484bb in KApplication::notify () from /usr/kde/4.0/lib64/libkdeui.so.5
No symbol table info available.
#9  0x00002b1cdeb63ad2 in QCoreApplication::notifyInternal (this=0x7fffccd06e20, receiver=0x931520, event=0x7fffccd05600)
    at kernel/qcoreapplication.cpp:530
        result = false
        cbdata = {0x931520, 0x7fffccd05600, 0x7fffccd0559f}
#10 0x00002b1ce0b36bf3 in QCoreApplication::sendEvent (receiver=0x931520, event=0x7fffccd05600)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:200
No locals.
#11 0x00002b1ce10fc4d7 in QInputContext::sendEvent (this=0x7962b0, event=@0x7fffccd05710) at inputmethod/qinputcontext.cpp:263
        p = (class QInputContext *) 0x0
        focus = (class QWidget *) 0x931520
        e = {<QEvent> = {_vptr.QEvent = 0x2b1ce155ea50, d = 0x0, t = 83, posted = 0, spont = 0, m_accept = 1, reserved = 6554}, preedit = {
    static null = {<No data fields>}, static shared_null = {ref = {value = 6363}, alloc = 0, size = 0, data = 0x2b1cdee3d71a, clean = 0,
      simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {value = 409},
      alloc = 0, size = 0, data = 0x2b1cdee3d73a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
      array = {0}}, d = 0x2b1cdee3d720, static codecForCStrings = 0x0}, attrs = {{p = {static shared_null = {ref = {value = 4466}, alloc = 0,
          begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7c5140}, d = 0x7c5140}}, commit = {static null = {<No data fields>},
    static shared_null = {ref = {value = 6363}, alloc = 0, size = 0, data = 0x2b1cdee3d71a, clean = 0, simpletext = 0, righttoleft = 0,
      asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {value = 409}, alloc = 0, size = 0,
      data = 0x2b1cdee3d73a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},
    d = 0x2b1cdee3d700, static codecForCStrings = 0x0}, replace_from = 0, replace_length = 0}
----

emerge --info
----
Portage 2.1.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Wed, 23 Jan 2008 17:17:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collition-protect distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.gentoo.no/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="sv_SE.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="sv ja en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 anthy arts bitmap-fonts bzip2 cairo cddb cdr cjk cli cracklib crypt css cups cxx dbus dri dvd dvdrencode fam ffmpeg flac fontconfig ftp geoip gif graphviz hal iconv ieee1394 immqt iproute2 isdnlog jabber java jingle jpeg kde kdehiddenvisibility kdm kmid lame latex libnotify lighttpd logrotate mad matroska midi mikmod mmap mmx mmxext mp3 mp4 mpeg mpeg2 mplayer msn ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp openssl oscar pcre pdf png pppd qt3 qt3support qt4 quicktime rar readline reflection reiserfs scim sdl session sockets sound speex spell spl srt sse sse2 ssl subtitles svg svgz sysfs tcpd tex theora threads threadsafe threadsonly tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb vim vim-syntax vorbis wav wma x264 xattr xcb xcomposite xhtml xim xorg xrandr xrender xscreensaver xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intelintel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv ja en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
----

[ebuild   R   ] x11-libs/qt-4.3.3  USE="accessibility cups dbus debug gif jpeg opengl png qt3support ssl tiff zlib -doc -examples (-firebird) -glib -mng -mysql -nas -nis -odbc -pch -postgres -sqlite -sqlite3 -xinerama" INPUT_DEVICES="-wacom" 0 kB
[ebuild   R   ] app-i18n/scim-bridge-0.4.13-r1  USE="gtk qt3 qt4 -doc" 0 kB [1]
[ebuild   R   ] kde-base/konqueror-4.0.0  USE="-debug -htmlhandbook" 0 kB

Note: I had to work around bugs #206843 and #206846 to get scim-bridge to work in Qt4/KDE4 at all.
Comment 1 Rickard Närström 2008-01-24 20:48:41 UTC
To reproduce this:
1. Make sure your environment is configured so that Qt4 uses scim-bridge IM
2. go too http://bugs.kde.org/wizard.cgi using konqueror4
3. After one or a few steps in the wizard konqueror will crach with the above backtrace.

This hapens att other places as well, plasma have crached with simelar backtrace when browsing for downloadable wallpapers in the configuration.
Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2008-06-14 05:15:47 UTC
Could you try app-i18n/scim-bridge-0.4.15-r1? it is fixed qt4 issue by upstream.
Comment 3 Rickard Närström 2008-06-14 10:51:44 UTC
I still have this problem with scim-bridge-0.4.15-r1
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-17 12:11:29 UTC
Would you mind testing this for kde 4.1.2? thanks
Comment 5 Rickard Närström 2008-10-17 13:27:56 UTC
Yes, it is still a problem in kde 4.1.2.

I haven't seen this in any other program then konqueror for a while.

I currecnty need to work around bug #237018 and bug #216127 to get scim-bridge to work in Qt4/KDE4.

My current versions:
* x11-libs/qt-core :4 [R 4.4.2] <target> -debug -doc -glib pch qt3support ssl 100.45 MBytes to download
* x11-libs/qt-gui::local :4 [R 4.4.2] <target> accessibility cups dbus -debug -glib -mng -nas -nis pch qt3support tiff -xinerama input_devices: -wacom
* kde-base/kdelibs :4.1 [R 4.1.2-r1] <target> 3dnow -acl alsa (-altivec) -bindist bzip2 -debug -doc fam -htmlhandbook -jpeg2k -kdeprefix -kerberos mmx nls -openexr opengl -semantic-desktop spell sse sse2 ssl -test -zeroconf
* kde-base/konqueror :4.1 [R 4.1.2] <target> -debug -htmlhandbook -kdeprefix
* app-i18n/scim::local [R 1.4.7-r1] <target> -doc gtk
* app-i18n/scim-bridge::local [R 0.4.15-r1] <target> -doc -gtk -qt3 qt4
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-18 16:34:39 UTC
Ok then it means it is not falut of kde right?
Comment 7 MATSUU Takuto (RETIRED) gentoo-dev 2008-11-02 09:34:18 UTC
scim-bridge-0.4.15-r3 in cvs. Could you test it?
Comment 8 Rickard Närström 2008-11-02 20:40:45 UTC
I don't have this problem with scim-bridge-0.4.15-r3.