Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25764 - shortcut to konsole hangs the system for 5 seconds and opent it to phantom screen
Summary: shortcut to konsole hangs the system for 5 seconds and opent it to phantom sc...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-02 10:35 UTC by Lesley van Zijl
Modified: 2003-08-07 07:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lesley van Zijl 2003-08-02 10:35:15 UTC
Situation:
I have a kde 3.1.3 2screen Xinerama layout on 2 gfx cards
I have have various shortcuts in kde, one for 'konsole --nomenubar --noframe
--notoolbar --noscrollbar --geometry 600' (ctrl + r) and one for
'/usr/bin/MozillaFirebird' (ctrl + e)

Problem:
the 'ctrl + e' one works perfectly, but as soon as I use the 'ctrl + r' one
(which I do a lot ;))
the system hangs for 5 seconds (100% CPU can't do anything etc.) just before
that I see a Shell - Konsole <n> in my taskbar but it doesn't appear where my
mouse is (as it did in kde-3.1.2) the most annoying thing is that it appears
fullscreen on a 'phantom' third monitor, when I click 2 times on the taskbar I
see it 'come down (minimize)' from the left (the phantomscreen) I can left click
on it and choose maximize to get it back on my main screen.

it's not the syntax for the command that the short cut uses because when I do
the same command in a console I get the new konsole 

BUT when I use the Kmenu it appears again in the 'phantom screen'
I can't find anything in the logs :( so I cant post those.

the only thing I can add is this:

exci@ws exci $ konsole --nomenubar --noframe --notoolbar --noscrollbar
--geometry 600
konsole: cannot chown /dev/pts/3.
Reason: Operation not permitted
konsole_grantpty: determined a strange device name `/dev/ptmx'.
konsole: chownpty failed for device /dev/pts/3::/dev/pts/3.
       : This means the session can be eavesdroped.
       : Make sure konsole_grantpty is installed in
       : /usr/kde/3.1/bin/ and setuid root.
konsole_grantpty: determined a strange device name `/dev/ptmx'.

that is what it 'says' when I use a console to open konsole.

I am aware of the very strange bug, and Im not surprised if you don't understand
what I am saying :), but please say so so that I can add more info.



Reproducible: Always
Steps to Reproduce:
1. use the kmenu shortcut for konsole --nomenubar --noframe --notoolbar
--noscrollbar --geometry 600



Actual Results:  
5 seconds extreme load + conole in 'phantom screen'

Expected Results:  
a konsole opent at my mouse pointer

ws root # emerge info
Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.6.0-test2 i686 AMD Athlon(tm) XP 2000+
GENTOO_MIRRORS="ftp://sunsite.dk/mirrors/gentoo/ http://gentoo.linux.no/
http://ftp.snt.utwente.nl/pub/os/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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/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=""
USE="x86 -dnd -emacs faad -leim -lucid mad xvid dvd xinerama -gtk2 pic acpi
acpi4linux 3dnow aalib alsa avi crypt dga encode gif gtk imlib ipv6 java jpeg
kde lcms mikmod mmx motif mozilla mpeg ncurses oggvorbis opengl pam pdflib perl
png python qt qtmt quicktime readline sdl spell sse ssl svga tcltk tcpd tiff
truetype wmf X xml xml2 xmms xv"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse"
CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache fixpackages"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-08-06 20:56:30 UTC
 
konsole_grantpty: determined a strange device name `/dev/ptmx'. 
 
Look at the files in /dev/pts.  Do they all ahve the same permissions? 
 
Is konsole_grantpty in /usr/kde/3.1/bin and is it setuid root? 
 
Looks like there's some strange stuff going on with devfs here - most likely with the 2.6 
kernel.  My guess is that konsole hasn't been updated yet to deal with 2.6 devices.  Does a 
2.4 kernel work? 
Comment 2 Lesley van Zijl 2003-08-07 04:11:52 UTC
first of all the permissions:

exci@ws exci $ ls -alh /dev/pts
total 0
drwxr-xr-x    1 root     root            0 Jan  1  1970 .
drwxr-xr-x    1 root     root            0 Jan  1  1970 ..
crw-------    1 exci     tty      136,   0 Aug  7 12:57 0
crw-------    1 exci     tty      136,   1 Aug  7 12:57 1
crw-------    1 exci     tty      136,   2 Aug  7 13:02 2

both on 2.6 as 2.4 kernel (2.4.21 vanilla)

the 2.4 kernel:
Again if I use the kde button --> system --> konsole  the system hangs for 5 seconds
I found out that this is 5 seconds of 100% load and 44% usage of memory by X
great fun with vmware/win2k on ;) --> swapping 10 minutes, I lost complete control of my system (irc pinged out etc.) and loads of 12+

I also tried to start konsole (wihout the start parms etc.) via aterm (which I love since konsole stopped working for me ;)) it started at once on the right screen.

2 seconds ago I tried it via aterm with all the parms, again no errors what so ever and starting normally

So part of the problem is devfs/devpts of 2.6 but still my konsole behaves abnormal or is this because I use the 2.5 kernel since 2.5.45 and almost all my apps are compiled with it ?

Comment 3 Lesley van Zijl 2003-08-07 04:24:26 UTC
ow btw, seems that I am the only one with this problem so give it a low priority since I fell in love with aterm ;)
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2003-08-07 07:43:41 UTC
It definitely looks like this is an issue between konsole and the newness of the 2.5/2.6 kernel 
stuff.  I think you should probably file this at bugs.kde.org and see if they have any known 
resolution to it, as this will become a much bigger problem once 2.6 becomes more popular. 
 
Thanks for the heads up, though.