Summary: | Klipper crashes while marking something in vim in Konsole | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars Weiler (RETIRED) <pylon> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | ppc |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Lars Weiler (RETIRED)
![]() I'm not a vim guy... I tested the default vim install briefly and it worked ok (with qt 3.1.2). Do you do something beyond just switching to visual mode to cause the crash? Maybe you have some rlevant nondefault vim configuration? Something that causes it to interact with the clipboard (assuming the kliiper crash isn't merely caused by the kicker one)? Maybe some konsoel configuration (like a special TERM setting or keymap)? Finally, what are your cflags? Okay, more information ;-) : I run a screen in Konsole, but that doesn't matter. It will also crash without screen. Any special term-settings I can't see. Also I started vim with -T xterm -u /dev/null so that my .vimrc won't be loaded. Same error. Least, my emerge info: Portage 2.0.47-r10 (default-ppc-1.4, gcc-3.2.2, glibc-2.3.2-r0,2.3.1-r2) ================================================================= System uname: 2.4.20-ben8 ppc GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="oss dvd xv jpeg nls gif kde png truetype ppc directfb gdbm berkdb readline arts tetex aalib tcltk guile mysql X sdl tcpd pam libwww ssl perl python imlib oggvorbis gtk qt motif mozilla cdr apm avi crypt cups dga esd fbcon gnome gnome-libs -gpm gtk2 ipv6 maildir -mitshm mpeg ncurses opengl pdflib qtmt quicktime samba -slang slp spell xml xmms" COMPILER="gcc3" CHOST="powerpc-unknown-linux-gnu" CFLAGS="-O3 -pipe" CXXFLAGS="-O3 -pipe -fsigned-char" ACCEPT_KEYWORDS="ppc ~ppc" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" FEATURES="ccache userpriv" Maybe I should change to -O2 on ppc again. This seems to cause some errors. OK, try that. I don't know anything about ppc actually. ppc@gentoo.org people: do you think this might be something ppc-specific? Can the kde users among you reproduce it? BTW, I looked up that fsigned-char parameter you use and info gcc says it's only relevant to c, not c++. However you have it in CXXFLAGS but not in CFLAGS. How come? (Probably unrelated to this issue, but I don't like things I don't uderstand...) I can't understand it, too ;-) As you can read, I have only the -O3 -pipe in CFLAGS. CXXFLAGS isn't set in /etc/make.conf, so it should point to the default CXXFLAGS="${CFLAGS}", as set in /etc/make.globals. I can't find any fsigned-char parameter in all the config-files. Okay, tried it with the new qt-3.1.1-r2 (compiled -O2) -- same error. Also the same error when I use xterm instead of Konsole. Found the issue with the fsigned-char. It's caused by /usr/portage/profiles/default-ppc-1.4/make.defaults where are those lines: # C Compiler flags CFLAGS="-O3 -pipe -fsigned-char" # C++ Compiler flags CXXFLAGS=${CFLAGS} So it will take those settings, because I commented out CXXFLAGS in my /etc/make.conf. emerge info shows me still CXXFLAGS="-O3 -pipe -fsigned-char", although I have CFLAGS="-O2 -pipe". When I set CXXFLAGS=${CFLAGS} in my /etc/make.conf everything is right. Nevertheless, I don't think, this will harm this bug ;-) I reemerged kdelibs and kdebase with -O2 -pipe. The error is still there... Important update: I had this fatal IO error now also on gterm while I paste something into vim in INSERT-mode. Now the situations seems be different and I guess, it's an XFree-error. I'll compile XFree and its libraries new this night. problem still present with the new XFree version? emerging the -r3 ended just some minutes ago ;-) I'll try to reproduce this error . As I wrote in my last comment, this problem is not only KDE-related! Some more comments to this bug. I have now the xfree-4.3.0-r2 installed (the -r3 in the last comment was a typo). The problem is still there :-( But I found out, when it occurs: Only if you have something in your mouse-buffer _and_ also something in the vim-buffer (yanking from visual mode). I ran a strace vim. Here are the last lines of its output: writev(4, [{"\22\0\377\354\1i2\26\0\0\0\355\0\0\0\353\10\0\0\7\0\3\377"..., 24}, {ptrace: umoven: Input/output error 0xfff5214, 262040}], 2) = -1 EFAULT (Bad address) write(2, "XIO: fatal IO error 14 (Bad add"..., 58XIO: fatal IO error 14 (Bad address) on X server ":0.0" ) = 58 write(2, " after 40 requests (39 know"..., 71 after 40 requests (39 known processed) with 0 events remaining. ) = 71 exit(1) = ? Should the bug still be assigned to the kde-team, as it is not a kde-only-problem? I had the same problem here (pentium4). Re-emerged vim and the problem went away. Now as I have vim62a emerged, the problem seems to be gone... Suggested SOLUTION: Re-emerge vim Closing this bug now. Thanks for all your help. |