The new rxvt-unicode 5.3 crashes sometimes, more often than not, when starting screen or mc When doing a ursvt -v i get this: HAL2000 x11-terms # urxvt -h rxvt-unicode (urxvt) v5.3 - released: 2005-03-13 options: xft,styles,combining,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,XPM,transparent,tint,utmp,XIM,scrollbars=plain+rxvt+NeXT+xterm,frills,24bit,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,.Xdefaults Usage: urxvt [-help] [--help] [-display string] [-tn string] [-geometry geometry] [-C] [-iconic] [-/+rv] [-/+ls] [-/+j] [-/+ptab] [-/+sb] [-/+sr] [-/+st] [-sbt number] [-/+si] [-/+sk] [-/+sw] [-/+ip] [-/+ipf] [-tint color] [-fade %] [-sh %] [-/+ut] [-/+vb] [-/+tcw] [-/+insecure] [-/+bc] [-/+pb] [-bg color] [-fg color] [-cr color] [-pr color] [-pr2 color] [-bd color] [-pixmap file[;geom]] [-fn fontname] [-fb fontname] [-fi fontname] [-fbi fontname] [-im name] [-pt style] [-imlocale string] [-imfont fontname] [-name string] [-title string] [-n string] [-sl number] [-embed windowid] [-pty-fd fileno] [-w number] [-b number] [-/+bl] [-lsp number] [-mod modifier] [-/+ssc] [-/+ssr] [-e command arg ...] Segmentation fault Notice the 'Segmentation fault' at the end! If the terminal crashes it crashes due to a 'Segmentation fault' The same behavior is with rxvt-unicode 5.2.... Reproducible: Sometimes Steps to Reproduce: 1. urxvt 2. mc or screen 3. Actual Results: sometimes it is running, but in 75% of the cases, the terminal crashes. If i start mc in a screen session, than the urxvt crashes in all cases. Expected Results: should not crash emerge info: Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.2, glibc-2.3.4.20050125-r0, 2.6.10-ac8 i686) ================================================================= System uname: 2.6.10-ac8 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 10:16:55)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -Os -s -pipe -fomit-frame-pointer -funroll-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -Os -s -pipe -fomit-frame-pointer -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="en_GB.utf8" LC_ALL="en_GB.utf8" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm avi berkdb bitmap-fonts crypt cups curl dillo dvd emboss encode fam flac font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 jpeg ldap libg++ libwww mad maildir mbox mikmod mmx motif mozilla moznoxft mp3 mpeg ncurses nls nntp nptl nptlonly oggvorbis opengl oracle oss pam pdflib perl png python quicktime readline samba sdl slang spell sse sse2 ssl svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode xml xml2 xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
this actually seems to be a duplicate of bug 68715... see your CFLAGS - "-Os"
Thanks, you were right, reemerging it with -O2 fixed it. *** This bug has been marked as a duplicate of 68715 ***
closing wrt bugzilla-update
rxvt-unicode 5.3 (and 5.5, not in portage) segfault when running alsamixer or make menuconfig. Despite the ebuild's -Os filtering. It also occasionally gives "terminate called after throwing an instance of 'out_of_input'" This is on a VIA Epia ME-6000 (C3 at 600MHz). emerge info: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 i686) ================================================================= System uname: 2.6.11-gentoo-r11 i686 VIA Samuel 2 Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 15 2005, 17:50:24)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.8.5-r3, 1.9.5, 1.7.9-r1, 1.6.3, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=c3 -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=c3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache digest distlocks fixpackages sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X acpi alsa atlas bash-completion blas boundschecking bzlib ccache cle266 cpudetection crypt dhcp divx4linux dvd dvdread f2c f77 fbdev fortran ftp gtk gtk2 imlib javascript jpeg lirc mad mixxx mmap mmx mozilla mp3 mpeg mpeg2 mpeg4 mpi mysql no_wxgtk1 nptl nptlonly objc opengl oss pam pdflib pic pie png portaudio readline rtc samba sftp sftplogging sndfile sqlite ssl svg tcpd tiff truetype truetype-fonts usb userlocales v4l v4l2 wmf wxwindows xgetdefault xml xml2 xosd xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS