urxvt segfaults almost every time I try to enter one of the characters that need space pressed to appear on their own (don't know what they're called in english) - like ~ or ^. Same thing happens with urxvtd and urxvtc - the d segfaults taking the c with it (naturally). Tried contacting the author on freenode - he was not quite helpful (to say the least). Trying to narrow the segfault down using gdb didn't get me very far either: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1213999440 (LWP 27449)] 0xb7d5bb7c in _XimLocalWcLookupString () from /usr/lib/libX11.so.6 **** emerge --info **** Portage 2.1.1_rc1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.4 Last Sync: Wed, 20 Sep 2006 02:01:01 +0000 ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.0-r3, 2.0.26-r6 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -f" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="de_DE.UTF-8" LINGUAS="de en_GB en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/gentopia" SYNC="rsync://zathras/gentoo-portage" USE="x86 X a52 aac aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt cups dbus divx4linux dlloader dmi doc dri dv dvd dvdr dvdread eds elibc_glibc emboss encode esd fame firebird foomaticdb fortran gdbm gif gimp gpm gstreamer gtk gtk2 imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jpeg kernel_linux libg++ libwww linguas_de linguas_en_GB linguas_en_US mad mikmod mmx motif mp3 mpeg ncurses nls nptl nsplugin nvidia ogg opengl oss pam pcmcia pcre perl png postgres pppd python qt qt3 qt4 quicktime readline reflection samba sasl scanner sdl session spell spl sqlite sse sse2 sse3 ssl subtitles tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nvidia video_cards_vesa vorbis xinerama xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Can't reproduce that. Can you give me your locale settings (by running the command `locale')? And what version of Xorg do you use? 7.0 or 7.1? Can you give me your libX11 Version too? Thanks.
vwegert@sinclair ~ $ locale LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL=de_DE.UTF-8 sinclair ~ # equery l xorg-x11 [ Searching for package 'xorg-x11' in all categories among: ] * installed packages [I--] [ ] x11-base/xorg-x11-7.0-r1 (0) sinclair ~ # equery l libX11 [ Searching for package 'libX11' in all categories among: ] * installed packages [I--] [ ] x11-libs/libX11-1.0.1-r1 (0)
Is this bug still reproducible?
With 8.1, the segfaults no longer occur. However, I still can't use the "dead keys" - I can't type ~ or any accented character like é, nothing happens. Other apps work fine with the "dead keys", even a simple xterm does.
I know this problem only if the locales are not properly set. Your Xorg has the right locales at startup? Have you already tried todo something like: LC_CTYPE="de_DE.utf-8" urxvt Is it working then?
No change. Other diacritics like äöü work. Other programs like Firefox, Emacs and Eclipse don't have the problem.
same here pho@smashed ~ $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" urxvt dont work. no dead keys. an i need dead keys cause Option "XkbLayout" "us" Option "XkbVariant" "intl" and yes i need intl cause i'm from germany
ok... have worked it out. set in .Xdefaults URxvt.perl-ext-common: default,tabbed and you have no dead keys. URxvt.perl-ext-common: default and you have dead keys
(In reply to comment #8) > ok... have worked it out. > set in .Xdefaults > URxvt.perl-ext-common: default,tabbed > and you have no dead keys. > URxvt.perl-ext-common: default > and you have dead keys While I can confirm this behaviour, I want to use both dead keys and the tabs. :-)
(In reply to comment #9) > While I can confirm this behaviour, I want to use both dead keys and the tabs. > :-) I can confirm this behaviour *only* when using evdev as keyboard driver. Everything works just fine w/ kbd driver.
Still an issue?
(In reply to comment #11) > Still an issue? > I always encoutered a relative odd behavior of this kind : The deadkeys are tricky to appear with tab extension : With my french keyboard it affects the following characters : - ^ and " (the punctuation over the following character : 'ë') - ` (like 'ì') Anyway a workaround is : - if it's a newly created tab : launch a new tab then come back : deadkeys works. - if I can scroll-up (console filled enough) : it's sometimes enough to enable deadkeys. Notice : when I can't scroll-up with the keyboard, deadkeys won't appears. The opposite is not always true. So the problem is *maybe* linked to this inability to scroll-up with Shift+PgUp in some of the newly created tabs (but more often in the first one of a new urxvtc instance). Config: fr_FR.UTF-8, Xorg 1.5.3-r2, driver:kbd, map:fr-latin9 Nothing blocking, almost not annoying but maybe worse to be said...
Replying myself : known problem with the tab extension : http://article.gmane.org/gmane.comp.terminal-emulators.rxvt-unicode.general/480 (refering to : - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511377 (specifically about page-up page-down) - http://article.gmane.org/gmane.comp.terminal-emulators.rxvt-unicode.general/21 (which seems to say that both behavior (compose-key & page-up/page-down) are caused by a same bug))
Anyone still having this issue? With latest rxvt && X? Can you also try using evdev instead of the (really old) kbd driver?
Yes, I'm still able to reproduce it (can't get deadkey char in a tabbed urxvt). using rxvt-unicode-9.06-r2 and xorg-server-1.7.1 with evdev. Known workarounds : - open a new tab - resize the window - move the mouse over the window (it is *sometimes* enough) - have the mouse over the area the window will appears in
I can also confirm it's still reproducible with rxvt-unicode-9.05.r3, xorg-server-1.6.3.901-r2, same workarounds apply.
Please test with latest available X (1.7.3.902) and urxvt (9.07) :)
Fixed - now works for me.