Bug 102884 - xine-ui enables scroll lock in terminal emulators
|
Bug#:
102884
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: flameeyes@gentoo.org
|
Reported By: volkerarmin@googlemail.com
|
|
Component: KDE
|
|
|
URL:
|
|
Summary: xine-ui enables scroll lock in terminal emulators
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-08-17 11:32 0000
|
Hi,
after the update to KDE 3.4.2 Konsole shows a wired behaviour.
When I open a konsole-window, I can type in some commands, but after some random time,
the konsole will block.
It will not show, what is typed in. It will not react to tab, ctrl-c etc. When I hit arrow up, the
windows scrolls up, instead of going backwards in the history.
When I have a multi-tab konsole window, it happens even faster - sometimes/a lot of times, I
am not even able to finish typing in 'ps aux'.
In rare occasions, the konsole will unblock after some seconds/minutes/hours and will show
some of the characters typed in, but usually, it will not do anything.
The tabs/window itself is closable from the menu and or the closing button.
This happened not with 3.4.0 and 3.4.1
For some time I thought it may be related to an insufficent amount of ram, but I upgraded to a
gigabyte and the problem is still there. Also the cpu idles most of the time.
Newly opened konsole-windows and tabs will stay reactive for some seconds up to a few
minutes before they also start to hang.
This mostly happens with ls and ps, while free and some other commands are not as
hanging-prone
Reproducible: Always
Steps to Reproduce:
1.update kde to 3.4.2
2. open a konsole session
3. do some stuff like ls, ps, repeat it
Actual Results:
the konsole session does not react to the keyboard anymore, upward/downward key scrolls
instead of going back/forth in the history.
Expected Results:
the konsole should not hang, the arrow keys should not scroll the window
energyman@energy ~ $ emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6
i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.0_pre5
ccache version 2.4 [enabled]
dev-lang/python: 2.2.3-r5, 2.3.5, 2.4.1-r1
sys-apps/sandbox: 1.2.11
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
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -mfpmath=sse -ftracer
-frename-registers -fweb -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -mfpmath=sse -ftracer
-frename-registers -fweb -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks notitles sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="de_DE@euro"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext 3ds 7zip S3TC X X509 a52 aac aalib acpi alsa audiofile avi
bash-completion berkdb bitmap-fonts bl bluetooth bzip2 bzlib cairo caps cdparanoia cdr
cpudetection crypt css ctype curl dga dio divx4linux dnd dpms dvd dvdr dvdread editor edl eds
emacs-w3 emboss encode exif expat fame fb fbcon ffmpeg fftw flac fortran freetype ftp
gcc-libffi gd gdbm gif gimp glitz gnokii graphviz gs gstreamer gtk gtk2 hal icq imagemagick imlib
irmc jack jack-tmpfs java javascript jce joystick jp2 jpeg jpeg2k kde kdeenablefinal ladcca
lesstif libg++ libwww lm_sensors lzw lzw-tiff mad maildir maps matroska mikmod mjpeg
mmap mmx mmxext mng monkey motif mp3 mpeg mpi mplayer mule music mysql ncurses
nls no-htdocs no-old-linux noamazon nocd nodrm noflagstrip nosendmail nowin nptl nvidia objc
offensive ogg oggvorbis openal opengl oscar pam pam_console pam_timestamp pdflib perl
physfs pic png posix povray python qemu-fast qt quicktime rar readline real reiserfs rogue
samba scanner sdl sensord server sharedmem shorten slang sms sndfile snmp sockets sounds
speex spell sqlite sse ssl stencil-buffer subtitles svg szip tcltk tcpd tga theora threads tiff
timidity tools transcode truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2
vanilla vcd videos vidix visualization vorbis win32codecs wmf wsconvert xanim xemacs xine
xinerama xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xv xvid xvmc yv12 zlib zvbi
linguas_de userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS
mldonkey&heavy compiling makes it happen a little bit faster. But as soon as one session
starts to hang, all the others become 'infected'.
Hi,
I have found a way to make it appear a bit less randomly:
use the computer in a memory-heavy way so it starts to swap.
Free some memory, by killing the biggest memory hogs
swapoff -a
swapon -a
konsole will now hang almost always.
Hi,
some 'real' information.
I 'mistreated' my box a little bit in the last day.
And konsole almost never hang, BUT as soon as mldonkey/mlnet is running, konsole
becomes extremly hang-happy.
I have a similar problem. I am running on a machine with only 256MB total ram,
16MB is shared for video. Konsole sessions hang after a short time, while XTerm
and Gnome Terminal do not seem to have this problem. It happens even faster if
I am running something memory-entensive, such as 'emerge --snyc && emerge -uD
--newuse world'
If it helps, emerge --info returns:
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13 i686)
=================================================================
System uname: 2.6.13 i686 VIA Nehemiah
Gentoo Base System version 1.12.0_pre6
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5, 2.4.1-r1
sys-apps/sandbox: 1.2.12
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
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=i686 -mmmx -mno-3dnow -msse -mno-sse2 -mno-sse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentopia"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 S3TC X a52 aac aalib accessibility acl acpi alsa apm arts avi
bash-completion berkdb bidi bitmap-fonts browserplugin bzip2 c++ cairo caps
ccache cdparanoia cdr cid cjk clamav cle266 crypt css cups curl custom-cflags
dbus dga dlloader dri dts dv dvd dvdr eds effects emboss encode esd exif fam
ffmpeg firefox flac font-server fontconfig foomaticdb fortran freetype gdbm gif
gimp gimpprint glibc-compat20 glitz glx gnome gnome-print gnutls gphoto2 gpm gs
gstreamer gtk gtk2 gtkhtml guile gzip hal hpn id3 ieee1394 imagemagick imlib
immqt ipv6 java javascript joystick jpeg kde kdeenablefinal lcms libcaca libg++
libwww linuxthreads-tls lirc lm_sensors lzo lzw mad matroska mikmod mime mjpeg
mmx mng motif mozilla mozsha1 mozsvg mp3 mpeg multislot ncurses network nls nptl
nsplugin oav odbc offensive ogg oggvorbis opengl pam pam_chroot pam_console
pam_timestamp pango pdflib perl png pwdb python qt quicktime readline rtc samba
scanner sdl sftplogging sharedmem speedo speex spell sse sse-filters ssl
startup-notification svg svgz sysvipc tcltk tcpd tga theora threads tidy tiff
timidity truetype truetype-fonts type1-fonts unichrome unicode usb utf8 v4l v4l2
vcd vcdimager vidix virus-scan vorbis win32codecs wmf xanim xattr xface xine
xml2 xmms xpm xprint xrandr xscreensaver xv xvid xvmc zlib userland_GNU
kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Hi,
as soon as konsole starts hanging, I am using xterm - which works perfectly, but
konsole is almost unusable now. It hangs very fast and never recovers - plus it is
'infective'. As soon as one konsole session starts hanging, all other konsole sessions
will hang shortly after that too.
please try updating to kdelibs-3.4.2-r1 (and kde-env-r4) and reboot the machine
and let's see if the
malloc change I made helps at all.
Hi,
I updated to the versions you said (luckily, emerge -au world wanted to do it anyway) and
rebooted.
So far, so good. I tried some of the things that are prone to konsole hangs and nothing
happened, yet.
But to be really sure, I have to wait 7h and try mldonkey - it is the biggest konsole-hang
trigger I know - but I can not use it at the moment.
I will report back in ~9-10hours from now.
Hi,
I used konsole heavily in the past 6 hours and no lockup/hangs so far.
Seems that the bug is resolved.
Hi,
no it is not - it still hangs.
It is just harder to get konsole hang / it does not hang as fast as before.
But after beeing hang free yesterday, it does hang now again.
Did you update kernels recently?
Can you see if konsole is taking up a lot of memory (ps aux | grep konsole might be a good start)
Hi,
yes, I updated kernels, but I happened with 2.6.12 gentoo kernels, with 2.6.13-gentoo
and 2.6.13-gentoo-r1
I just built 2.6.13-r2 (and after that konsole hang again), sadly I closed it, when it
stopped to work, but another konsole session was easily to hang with some 'ls' and one ps
aux.
grep from another konsole shows this:
ps aux | grep konsole
1000 27398 0.0 1.8 31712 17112 ? S 01:56 0:01 konsole [kdeinit]
1000 31913 0.4 1.8 31616 17076 ? S 04:45 0:00 konsole [kdeinit]
1000 31968 0.0 0.0 3020 712 pts/4 R+ 04:48 0:00 grep konsole
damn, I hit commit to fast, 'ps aux' hang without showing anything, a second ps
aux in
another konsole shows this:
1000 31913 0.3 1.8 31616 17092 ? S 04:45 0:01 konsole
[kdeinit]
1000 31914 0.0 0.1 3888 1448 pts/0 Ss 04:45 0:00 /bin/bash
1000 31921 0.0 1.4 46520 13428 ? S 04:45 0:00 kio_http
[kdeinit]
https /tmp/ksocket-energyman
1000 31930 2.4 3.6 46364 32716 ? S 04:45 0:06 konqueror
[kdeinit]
-mimetype text/html https:/
1000 31931 0.0 1.4 46440 13424 ? S 04:45 0:00 kio_http
[kdeinit]
https /tmp/ksocket-energyman
1000 31949 0.0 0.0 3648 784 pts/0 S+ 04:47 0:00 ps aux
1000 31950 0.0 0.1 3892 1448 pts/1 Ss+ 04:47 0:00 /bin/bash
1000 31960 0.0 0.1 3892 1444 pts/4 Ss+ 04:48 0:00 /bin/bash
1000 31991 0.0 0.1 3888 1444 pts/5 Ss 04:49 0:00 /bin/bash
1000 31998 0.0 0.0 3648 784 pts/5 R+ 04:49 0:00 ps aux
Konsole hangs again:
cat /proc/meminfo
MemTotal: 906292 kB
MemFree: 67384 kB
Buffers: 19952 kB
Cached: 656992 kB
SwapCached: 0 kB
Active: 294880 kB
Inactive: 514460 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 906292 kB
LowFree: 67384 kB
SwapTotal: 996020 kB
SwapFree: 995696 kB
Dirty: 536 kB
Writeback: 0 kB
Mapped: 176596 kB
Slab: 17388 kB
CommitLimit: 1449164 kB
Committed_AS: 288812 kB
PageTables: 1888 kB
VmallocTotal: 122580 kB
VmallocUsed: 56908 kB
VmallocChunk: 62160 kB
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1464 520 ? S Sep20 0:00 init [3]
root 2 0.0 0.0 0 0 ? SN Sep20 0:00 [ksoftirqd/0]
root 3 0.0 0.0 0 0 ? S< Sep20 0:00 [events/0]
root 4 0.0 0.0 0 0 ? S< Sep20 0:00 [khelper]
root 5 0.0 0.0 0 0 ? S< Sep20 0:00 [kthread]
root 8 0.0 0.0 0 0 ? S< Sep20 0:00 [kacpid]
root 7 0.0 0.0 0 0 ? S< Sep20 0:00 [vesafb]
root 68 0.0 0.0 0 0 ? S< Sep20 0:00 [kblockd/0]
root 71 0.0 0.0 0 0 ? S< Sep20 0:00 [khubd]
root 112 0.0 0.0 0 0 ? S Sep20 0:00 [pdflush]
root 113 0.0 0.0 0 0 ? S Sep20 0:00 [pdflush]
root 115 0.0 0.0 0 0 ? S< Sep20 0:00 [aio/0]
root 114 0.0 0.0 0 0 ? S Sep20 0:05 [kswapd0]
root 704 0.0 0.0 0 0 ? S< Sep20 0:00 [kseriod]
root 730 0.0 0.0 0 0 ? S< Sep20 0:00 [ata/0]
root 753 0.0 0.0 0 0 ? S< Sep20 0:00 [reiserfs/0]
root 821 0.0 0.0 1464 488 ? S<s Sep20 0:00 udevd
root 5040 0.0 0.0 1456 580 ? Ss Sep20 0:00 /usr/sbin/acpid
-c /etc/acpi/events
root 5455 0.0 0.0 1800 856 ? S Sep20 0:00 /usr/sbin/hddtemp
-d /dev/hda
root 5666 0.0 0.0 2148 732 ? Ss Sep20 0:00 metalog [MASTER]
root 5667 0.0 0.0 1636 552 ? S Sep20 0:00 metalog [KERNEL]
root 5745 0.0 0.1 8728 1112 ? Ssl Sep20 0:01 /usr/sbin/nscd
root 6334 0.0 0.0 1736 836 ? S Sep20 0:00 /usr/sbin/smartd
-p /var/run/smartd.pid
root 6412 0.0 0.0 1520 616 ? Ss Sep20 0:00 /usr/sbin/cron
root 6594 0.0 0.0 1464 564 tty1 Ss+ Sep20 0:00 /sbin/agetty 38400 tty1
linux
root 6595 0.0 0.0 1464 564 tty2 Ss+ Sep20 0:00 /sbin/agetty 38400 tty2
linux
root 6617 0.0 0.0 2664 756 ? Ss Sep20 0:00 /usr/kde/3.4/bin/kdm
root 6620 3.9 3.8 37680 34700 ? SL Sep20 29:10 /usr/bin/X -nolisten tcp :0
vt3 -auth /var/run/xa
root 6621 0.0 0.1 3400 1428 ? S Sep20 0:00 -:0
1000 6653 0.0 0.1 4012 1212 ? Ss Sep20
0:00 /bin/sh /usr/kde/3.4/bin/startkde
1000 6712 0.0 1.1 25844 10400 ? Ss Sep20 0:01 kdeinit Running...
1000 6715 0.0 1.0 24564 9112 ? S Sep20 0:09 dcopserver [kdeinit] --nosid
1000 6717 0.0 1.1 26988 10764 ? S Sep20 0:00 klauncher [kdeinit]
1000 6720 0.1 2.1 67296 19912 ? Sl Sep20 0:52 kded [kdeinit]
1000 6725 0.0 1.3 26756 12184 ? S Sep20 0:00 kaccess [kdeinit]
1000 6738 0.0 1.3 26884 12516 ? S Sep20 0:04 khotkeys [kdeinit]
1000 6739 0.0 1.3 27152 12624 ? S Sep20 0:03 khotkeys [kdeinit]
1000 6740 0.0 0.0 1448 336 ? S Sep20 0:00 kwrapper ksmserver
1000 6742 0.0 1.3 26856 12324 ? S Sep20 0:00 ksmserver [kdeinit]
1000 6743 0.0 1.8 29796 16464 ? S Sep20 0:23 kwin [kdeinit]
1000 6744 0.0 1.8 35108 16416 ? S Sep20 0:20 kwin [kdeinit]
1000 6747 0.0 2.0 30700 18456 ? S Sep20 0:04 kdesktop [kdeinit]
1000 6748 0.0 2.5 38604 22828 ? S Sep20 0:06 kdesktop [kdeinit]
1000 6753 0.0 2.1 38152 19660 ? S Sep20 0:28 kicker [kdeinit]
1000 6754 0.2 2.3 34348 21540 ? S Sep20 1:55 kicker [kdeinit]
1000 6760 0.0 1.9 31276 17820 ? S Sep20 0:00 kgpg
1000 6762 0.0 1.8 30244 16376 ? S Sep20 0:01 kio_uiserver [kdeinit]
1000 6792 0.0 0.8 17368 8016 ? Ss Sep20 0:00 clamd
-c /home/energyman/klammail40nzd0
1000 7163 0.0 1.9 32272 17784 ? S Sep20 0:07 konsole [kdeinit]
1000 7164 0.0 0.1 3888 1448 pts/0 Ss Sep20 0:00 /bin/bash
1000 7198 0.0 0.1 3888 1464 pts/1 Ss+ Sep20 0:00 /bin/bash
1000 14199 0.0 1.2 14460 11060 ? S Sep20 0:01 alsamixergui
1000 20028 0.0 0.6 15988 5812 ? S 00:49 0:00 /usr/kde/3.4/bin/kdesud
root 24172 0.0 0.1 3628 1112 pts/0 S 01:53 0:00 su -
root 24175 0.0 0.2 4280 2096 pts/0 S 01:53 0:00 -su
1000 29153 0.1 3.9 58924 36064 ? S 02:41 0:17 konqueror [kdeinit] --silent
1000 6511 0.0 1.6 27860 15392 ? S 06:55 0:00 kwalletmanager --kwalletd
1000 6974 0.0 1.2 26340 11080 ? S 07:06 0:00 kio_file [kdeinit]
file /tmp/ksocket-energyman/kl
1000 7015 3.7 3.8 53140 34496 ? S 07:09 0:02 kmail -caption KMail -icon
kmail -miniicon kmail
1000 7018 0.1 1.4 28108 13388 ? SN 07:09 0:00 kio_thumbnail [kdeinit]
thumbnail /tmp/ksocket-en
1000 7033 0.0 1.3 45720 11868 ? S 07:10 0:00 kio_pop3 [kdeinit]
pop3 /tmp/ksocket-energyman/kl
1000 7034 0.0 1.3 45720 11876 ? S 07:10 0:00 kio_pop3 [kdeinit]
pop3 /tmp/ksocket-energyman/kl
1000 7045 0.1 1.4 46252 13208 ? S 07:10 0:00 kio_http [kdeinit]
https /tmp/ksocket-energyman/k
1000 7054 5.7 3.5 46104 32356 ? S 07:10 0:02 konqueror [kdeinit]
-mimetype text/html https://b
1000 7055 0.0 1.3 29240 12108 ? S 07:10 0:00 kio_http [kdeinit]
https /tmp/ksocket-energyman/k
1000 7066 1.9 1.3 15176 12024 ? S 07:10 0:00 aspell -a -S -m -B
root 7067 0.0 0.0 3648 780 pts/0 R+ 07:11 0:00 ps aux
cat /proc/vmstat
nr_dirty 0
nr_writeback 0
nr_unstable 0
nr_page_table_pages 478
nr_mapped 47271
nr_slab 4303
pgpgin 20038506
pgpgout 1750488
pswpin 0
pswpout 81
pgalloc_high 0
pgalloc_normal 32930936
pgalloc_dma 335786
pgfree 33277986
pgactivate 611741
pgdeactivate 459678
pgfault 10826108
pgmajfault 6512
pgrefill_high 0
pgrefill_normal 3054912
pgrefill_dma 169282
pgsteal_high 0
pgsteal_normal 4650274
pgsteal_dma 147620
pgscan_kswapd_high 0
pgscan_kswapd_normal 4830738
pgscan_kswapd_dma 155768
pgscan_direct_high 0
pgscan_direct_normal 3399
pgscan_direct_dma 99
pginodesteal 0
slabs_scanned 1003520
kswapd_steal 4794912
kswapd_inodesteal 124002
pageoutrun 160009
allocstall 88
pgrotated 119
nr_bounce 0
free
total used free shared buffers cached
Mem: 906292 862884 43408 0 20504 668652
-/+ buffers/cache: 173728 732564
Swap: 996020 324 995696
at /proc/stat
cpu 436778 485723 92811 3331648 75917 1704 0 0
cpu0 436778 485723 92811 3331648 75917 1704 0 0
intr 22265695 11060767 25820 0 1 1 1 0 1 0 0 1 1 1 0 453220 3201519 0 0 735625
2140877 2 396515 4251343 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 38583610
btime 1127235338
processes 39529
procs_running 1
procs_blocked 0
cat /proc/7163/status
Name: konsole
State: S (sleeping)
SleepAVG: 98%
Tgid: 7163
Pid: 7163
PPid: 6712
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 100 100 100 100
FDSize: 32
Groups: 10 18 19 26 27 35 80 85 100 250
VmSize: 32376 kB
VmLck: 0 kB
VmRSS: 17900 kB
VmData: 3928 kB
VmStk: 84 kB
VmExe: 40 kB
VmLib: 23712 kB
VmPTE: 48 kB
Threads: 1
SigQ: 0/14336
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000001003
SigCgt: 00000001800104a8
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
cat /proc/7164/status
Name: bash
State: S (sleeping)
SleepAVG: 98%
Tgid: 7164
Pid: 7164
PPid: 7163
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 100 100 100 100
FDSize: 256
Groups: 10 18 19 26 27 35 80 85 100 250
VmSize: 3888 kB
VmLck: 0 kB
VmRSS: 1448 kB
VmData: 436 kB
VmStk: 84 kB
VmExe: 636 kB
VmLib: 1192 kB
VmPTE: 12 kB
Threads: 1
SigQ: 0/14336
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000010000
SigIgn: 0000000000384004
SigCgt: 000000004b813efb
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
cat /proc/7198/status
Name: bash
State: S (sleeping)
SleepAVG: 95%
Tgid: 7198
Pid: 7198
PPid: 7163
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 100 100 100 100
FDSize: 256
Groups: 10 18 19 26 27 35 80 85 100 250
VmSize: 3888 kB
VmLck: 0 kB
VmRSS: 1464 kB
VmData: 436 kB
VmStk: 84 kB
VmExe: 636 kB
VmLib: 1192 kB
VmPTE: 12 kB
Threads: 1
SigQ: 0/14336
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000384004
SigCgt: 000000004b813efb
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
this night, the konsole was almost hang free, while last night, it was very hang-happy.
The only difference: this night, I did not compile anything.
7198 was the hanging one, 7164 a su - session that did not hang.
I'll go to bed now - the next time it hangs -which information do you want me to capture?
Oh, and by the way - I will switch to amd64 on thursday, so this will be the last 24
hours ;)
I'm also having this occur rather frequently, although it appears to only be a
certain combination of applications causing it.
The only time I noticed Konsole freezing is when I'm watching something using
Xine (xine-ui).
Not sure if this helps at all.
My emerge info:
Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo-r1 i686)
=================================================================
System uname: 2.6.13-gentoo-r1 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.13
ccache version 2.4 [disabled]
dev-lang/python: 2.3.4-r1, 2.4.1-r1
sys-apps/sandbox: 1.2.13
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
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="maint x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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=pentium-m -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://public.planetmirror.com/pub/gentoo
http://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentoo-php-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi alsa apache2 apm arts audiofile avi berkdb
big-tables bitmap-fonts bzip2 cdr cifs cli crypt cups curl curlwrappers dba
divx4linux doc dts dvd dvdr dvdread eds emboss encode fam fbcon firefox flac
foomatic foomaticdb fortran freetype ftp gd gdbm gif gimp gimpprint gpm
gstreamer gtk gtk2 hal ieee1394 imagemagick imlib ithreads j2ee java javascript
jmx jpeg junit kde kdeenablefinal kerberos lcms libg++ libwww mad mjpeg mmap mmx
mmx2 mmxext motif mozsvg mp3 mpeg mplayer msn musicbrainz mysql mysqli ncurses
network nls nobeanutils nocommonslogging norhino noxalan noxerces nptl nptlonly
nvidia ogg oggvorbis opengl oss pam pcre pdflib pear perl php pic png ppds
python qt quicktime readline real rtc ruby samba scanner sdl session speex spell
sql sse sse2 ssl subtitles svg tcltk tcpd tidy tiff tomcat truetype
truetype-fonts type1-fonts usb utf8 vcd vorbis wifi win32codecs wmf wxgtk1 xine
xml xml2 xpm xprint xsl xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Hi,
this is just a summary of the 'facts' I observed:
konsole hangs more likely when mldonkey runs, or I am compiling heavily (the compiling
can be over for hours, but it makes it happen more likely)
the bug shows only after a few hours of uptime
the bug shows most likely in konsole-windows with multiple sessions.
when one konsole starts to hang, all later started konsoles - new windows or new sessions
- will hang too after a few commands (sometimes even after some typed characters)
konsole sessions started BEFORE the one, that hangs, are less likely to hang too (almost
never)
konsole sessions su'ed root, are not as affected as the rest.
sometimes a hanging session will recover and show almost all typed characters. This can
take seconds or hours. But usually not.
xterm does not have any problems. Even when the bug is very active and does not let me
type anything, xterm is not affected.
all other kde-apps are not affected
temperatures are normal
voltages are normal
the cpu load does not influence the bug
xine does not influence the behaviour of the bug (as I can see - xine runs almost always,
but the bug mostly occur after an emerge -u world).
I had several kernel-updates, and nothing changed (including vanilla kernel.org kernels)
the latest kdelibs (-r1) make the bug a little bit harder to appear - but when he starts to
show, it is as bad as with kdelibs-3.4.2
have a little bit of swap-usage and/or a swapoff -a && swapon -a makes the bug appear a
little bit more likely.
Hi,
I switched to an amd64 system last friday and were totally hang-free until yesterday.
I started xine - konsole (which was not used to start xine) hung almost immediatly. Today I
did a lot of 'heavy' stuff and everything was fine, until I started xine.
So xine is at least a good trigger.
This is a little change in behaviour for me: with my athlon-xp konsole hung even without
xine. This has changed, since friday konsole is only hanging, when xine is involed.
I'm experiencing the exact same thing, and this only started happening after
moving from kde 3.4.2 to 3.4.3. Xine is a guaranteed antagonist of this problem,
but I've experienced it while running only firefox as well.
I did notice that after this problem occurs, even though the terminal fails to
update, input is still processed like normal. (My remote SSH sessions and
console IRC took the input, but I was blind to see what was happening.)
Also, I've noticed the terminal goes into almost a scroll-locked mode, as you
can hit the up/down arrow (without any modifier keys) on a locked terminal and
it will actually move/scroll within the current buffer.
I haven't yet found a way to bring a terminal back, other than waiting for it
(some never seem to come back.)
xine-ui locking konsole with scroll lock is a bug in xine-ui itself.
Should be fixed on 0.99.4 or 0.99.5 (still to be released), not sure.
Hi,
when xine-ui is able to hang a completly unrelated konsole session, it is more than just a
xine-bug.
This is something that should not happen. Why can one process (xine) totally '0wn' an
unrelates process (konsole)?
Btw, konsole hangs in 3.5_beta2 too.
xine-ui used to send a Scroll Lock fake key to X to disable screensavers/dpms.
When the foreground process is konsole, it gets the scroll lock and it reacts
as it's intended... it moves in scroll lock mode.
You should be able to press scroll lock a couple of time to un-stuck it.
Which version of xine-ui are you using? Tried latest ~arch ?
Hi,
I am a permanent ~arch user ;)
search xine-ui
[ Results for search key : xine-ui ]
[ Applications found : 1 ]
* media-video/xine-ui
Latest version available: 0.99.4-r3
Latest version installed: 0.99.4-r3
I will try your tip with scroll lock the next time, konsole hangs.
btw, any idea, why the scroll wheel does not work with xine anymore? (on amd64, with
x86 it woirked fine)
I had the same issue and it was xine-ui. When I disabled xine's screensaver
thing, it stoped locking up.
There are two ways to get rid of this problem. The one is to disable the option
in xine about the screensaver and the other one is to use the following patches
that revert xine-ui to the behaviour it had before. This is what the devs of
xine-ui have decided for now until a better solution is found (the patches are
actually taken from the cvs version of xine-ui).
This was on my TODO list since quite a while but I ended up forgetting about
it.
I'll do this now.
*** Bug 124500 has been marked as a duplicate of this bug. ***
Okay the patchset is updated in 0.99.4-r4.
*** Bug 122771 has been marked as a duplicate of this bug. ***