Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350207 - app-i18n/uim-1.6.0-r1: uim-gtk segfaults when LANG=C
Summary: app-i18n/uim-1.6.0-r1: uim-gtk segfaults when LANG=C
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-31 02:35 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2011-01-05 11:17 UTC (History)
0 users

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


Attachments
backport patch (uim-1.6.0-xcompose.patch,428 bytes, patch)
2011-01-01 15:05 UTC, Muneyuki Noguchi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2010-12-31 02:35:39 UTC
a piece of the backtrace for uim-pref-gtk:

#0  0x00007ffff62f9b92 in __strlen_sse2 () from /lib/libc.so.6
#1  0x00007ffff62f98a6 in strdup () from /lib/libc.so.6
#2  0x00007fffebb3ebd5 in ParseComposeStringFile () from /usr/lib64/gtk-2.0/2.10.0/immodules/im-uim.so
#3  0x00007fffebb3e103 in ParseComposeStringFile () from /usr/lib64/gtk-2.0/2.10.0/immodules/im-uim.so
#4  0x00007fffebb3dd7d in im_uim_create_compose_tree () from /usr/lib64/gtk-2.0/2.10.0/immodules/im-uim.so
#5  0x00007ffff78b1b4d in gtk_im_module_load () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x00007ffff70959c4 in g_type_module_use () from /usr/lib/libgobject-2.0.so.0
#7  0x00007ffff78b15c6 in _gtk_im_module_create () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x00007ffff78b29fc in gtk_im_multicontext_get_slave () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x00007ffff78b264b in gtk_im_multicontext_get_preedit_string () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00007ffff78af4b0 in gtk_im_context_get_preedit_string () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00007ffff784e1a6 in gtk_entry_ensure_layout () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007ffff7852399 in gtk_entry_adjust_scroll () from /usr/lib/libgtk-x11-2.0.so.0


Reproducible: Always

Steps to Reproduce:
1. run any gtk app
Actual Results:  
sagfault
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-31 17:14:38 UTC
Please paste your `emerge --info' output in a comment.
Comment 2 Sergey 'L29Ah' Alirzaev 2011-01-01 14:17:02 UTC
(In reply to comment #1)
> Please paste your `emerge --info' output in a comment.
> 
not sure if it will help because i haven't used 
portage since the initial installation


# emerge --info
Portage 2.1.9.26 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.12.1-r3, 2.6.35-zen2+ x86_64)
=================================================================
System uname: Linux-2.6.35-zen2+-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.1
Timestamp of tree: Sat, 01 Jan 2011 00:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p9::<unknown repository>
dev-java/java-config: 2.1.11-r1::<unknown repository>
dev-lang/python:     2.6.6-r1::<unknown repository>, 2.7.1::<unknown repository>, 3.1.3::<unknown repository>
dev-util/ccache:     2.4-r8::<unknown repository>
dev-util/cmake:      2.8.3::<unknown repository>
sys-apps/baselayout: 2.0.1-r1::<unknown repository>
sys-apps/openrc:     0.6.8::<unknown repository>
sys-apps/sandbox:    2.4::<unknown repository>
sys-devel/autoconf:  2.13::<unknown repository>, 2.68::<unknown repository>
sys-devel/automake:  1.4_p6-r1::<unknown repository>, 1.7.9-r2::<unknown repository>, 1.9.6-r3::<unknown repository>, 1.10.3::<unknown repository>, 1.11.1::<unknown repository>
sys-devel/binutils:  2.21::<unknown repository>
sys-devel/gcc:       4.3.5::<unknown repository>, 4.4.5::<unknown repository>, 4.5.2::<unknown repository>
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1::<unknown repository>
sys-devel/make:      3.82::<unknown repository>
virtual/os-headers:  2.6.36::<unknown repository> (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 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 mmap_emul 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Muneyuki Noguchi 2011-01-01 15:05:58 UTC
Created attachment 258574 [details, diff]
backport patch

I suspect that this bug is same as Debian bug #599837.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599837
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2011-01-05 11:17:56 UTC
Fixed in cvs. thanks.