Bug#329916: xorg-x11: Unable to change focus from galeon or firefox

2007-08-04 Thread Jan Gorski
On Thu, 05 Jul 2007 at 21:58:19 +0200, Brice Goglin wrote:
> Jan Gorski wrote:
> > I have checked. Problem persists. Under xinerama and fvwm I lost control 
> > over X
> > just after starting galeon (which was restoring session with lots of pages).
> > Under xinerama and kwin there are no problems.
> >
> > https://bugs.freedesktop.org/show_bug.cgi?id=3040
> 
> Ok, thanks, I am marking this bug as forwarded upstream at the URL above.
> 
> Since the comments on this upstream bug are pretty old, it will be good
> to reply there and explain that the problem still occurs today, with
> Xserver (xserver-xorg-core) 1.3. Could you either do it or tell me which
> Xorg packages you did reproduce this bug with?

Sorry for late answer. Freeze can be reproduced with:

xorg   1:7.2-5
xorg-docs  1:1.4-2
xserver-xorg   1:7.2-5
xserver-xorg-core  2:1.3.0.0.dfsg-11
xserver-xorg-input-all 1:7.2-5
xserver-xorg-input-evdev   1:1.1.5-3
xserver-xorg-input-kbd 1:1.2.0-1+1.2.1
xserver-xorg-input-mouse   1:1.2.1-1
xserver-xorg-input-synaptics   0.14.7~git20070517-2
xserver-xorg-input-wacom   0.7.4.1-5
xserver-xorg-video-mga 1:1.4.6.1.dfsg.1-3
nvidia-glx 100.14.09-1
nvidia-kernel-2.6.21daradei.1.1100.14.09-1+daradei.1.1
nvidia-kernel-common   20051028+1
fvwm   1:2.5.21-1
galeon 2.0.2-4

Pozdrawiam
Slimak (na krawędzi)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329916: xorg-x11: Unable to change focus from galeon or firefox

2007-06-03 Thread Jan Gorski
On Fri, 01 Jun 2007 at 10:51:32 +0200, Jan Gorski wrote:
> On Thu, 31 May 2007 at 20:21:24 +0200, Brice Goglin wrote:
> > About 2 years ago, you reported a bug to the Debian BTS regarding being
> > unable to change focus from galeon to firefox. Did you reproduce this
> > problem recently? With Xorg/Etch? With latest xserver-xorg-core in
> > unstable? If not, I will close this bug in the next weeks.
> 
> If I remember correctly this is problem with xinerama, and xinerama bug
> decscription that I have found later said, that correction needs major 
> rewrite.
> I will check everything again and update bug report.

I have checked. Problem persists. Under xinerama and fvwm I lost control over X
just after starting galeon (which was restoring session with lots of pages).
Under xinerama and kwin there are no problems.

I guess that it might be connected with

https://bugs.freedesktop.org/show_bug.cgi?id=3040

Pozdrawiam
Jan Górski


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329916: xorg-x11: Unable to change focus from galeon or firefox

2007-06-01 Thread Jan Gorski
On Thu, 31 May 2007 at 20:21:24 +0200, Brice Goglin wrote:
> About 2 years ago, you reported a bug to the Debian BTS regarding being
> unable to change focus from galeon to firefox. Did you reproduce this
> problem recently? With Xorg/Etch? With latest xserver-xorg-core in
> unstable? If not, I will close this bug in the next weeks.

If I remember correctly this is problem with xinerama, and xinerama bug
decscription that I have found later said, that correction needs major rewrite.
I will check everything again and update bug report.

Pozdrawiam
Slimak (na krawędzi)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329901: xterm freezes when starting mc

2006-11-02 Thread Jan Gorski
On Wed, 01 Nov 2006 at 19:51:20 -0500, Thomas Dickey wrote:
> You could add a printf to get the number of screens in the display,
> e.g., I did this (enabling trace), but a printf would also work:
> 
> Trace("FIXME %d\n", dpy->default_screen);
> Trace("FIXME %d\n", dpy->nscreens);
> if (XParseColor(screen->display, cmap, spec, &def)

Well, dpy is no defined in function AllocateAnsiColor(...), I used:

printf("Before XParseColor\n def_screen = %d\n nscreens = %d\n",
DefaultScreen(screen->display),
ScreenCount(screen->display));

But I did not any programming in plain X and am not sure if this is what you
wanted to see. 

> For the normal single-screen, that's default_screen=0, nscreens=1.

My code gives 

(gdb) run
Starting program: /home/slimak/kodowanie/got/debian/xterm-210/xterm
(start mc here)
XXX Before XParseColor
 def_screen = 0
 nscreens = 1
(those three lines repeated few times)

both on single and multihead configurations.

Xterm allocates few colours in first run and then freezes in poll(). On
subsequent run it allocates more colours and freezes, on third run it works. But
I remember, that it is a little bit random --- some times in the past it needed
more mc runnings before stopping freezes.

I have also created new user and tested xterm on it --- it worked. So I started
looking for a reason, and found it. If on newly created user I add .Xresources
with this line

xterm*font: -xos4-terminus-bold-r-normal--24-*-*-*-*-*-iso10646-1

the problem appears if xterm is run on multihead xinerama configuration. 
On single head it works fine.

Another strange thing --- it somtimes happens, that after starting xterm (on
multihead and with changed font) it is completly white --- the command promt is
not visible. New characters are visible.

> Next - to see if xterm is seeing more than one screen, if being started
> on the second screen is the cause of the problem (confusing X), and if so,
> whether the display information passed to xterm can tell it to use a
> different screen number.  If that's the explanation, I can modify xterm
> to take that into account.  (If it's not, I'm still puzzled ;-)

Thats part of my xorg.conf

Section "ServerLayout"
Identifier "ii19ii22"
Screen 0 "II22 NV436" 1280 0
Screen 1 "II19 NV432" 0 0
Option "Xinerama"
InputDevice"HHKB"
InputDevice"Mysz A4Tech 0"
Option "CustomKeycode" "on"
EndSection

xterm starts always on left screen, which is Screen 1
but when using xinerama there is no screen :0.1 ---

[EMAIL PROTECTED]:~$ set |grep DISP
DISPLAY=:0.0
[EMAIL PROTECTED]:~$ xterm -display :0.1
xterm Xt error: Can't open display: :0.1

As I recall xinerama merges all screens --- it even allows overlapping of them.

Regards
Jan Górski



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329901: xterm freezes when starting mc

2006-11-01 Thread Jan Gorski
On Mon, 30 Oct 2006 at 18:50:46 -0500, Thomas Dickey wrote:
> If you could reproduce it with a copy of xterm built with debug code,
> then it's possible that you could attach it with gdb from another window
> and see where it's hanging.  You wouldn't need the setgid mode on the
> executable, since it's unlikely that the utmp code is involved.

That is what I have done:

[EMAIL PROTECTED]:~/kodowanie/got/debian/xterm-210$ export CFLAGS=-g
[EMAIL PROTECTED]:~/kodowanie/got/debian/xterm-210$ ./configure --enable-trace
...
[EMAIL PROTECTED]:~/kodowanie/got/debian/xterm-210$ make
...
[EMAIL PROTECTED]:~/kodowanie/got/debian/xterm-210$ gdb xterm
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library
"/lib/libthread_db.so.1".

(gdb) run
Starting program: /home/slimak/kodowanie/got/debian/xterm-210/xterm
(xterm started, i started mc from xterm it got frozen, i hit ctrl-c in gdb)
Program received signal SIGINT, Interrupt.
0x2b98a5cbcc8f in poll () from /lib/libc.so.6
(gdb) bt
#0  0x2b98a5cbcc8f in poll () from /lib/libc.so.6
#1  0x2b98a58e1d2f in XProcessInternalConnection () from 
/usr/lib/libX11.so.6
#2  0x2b98a58e2142 in _XRead () from /usr/lib/libX11.so.6
#3  0x2b98a58e2b81 in _XReply () from /usr/lib/libX11.so.6
#4  0x2b98a58cfc3b in XParseColor () from /usr/lib/libX11.so.6
#5  0x0042c747 in AllocateAnsiColor (pTerm=0x595420, res=0x595778, 
spec=0x443ca5 "white") at ./misc.c:1454
#6  0x0042c8e3 in xtermGetColorRes (res=0x595778) at ./misc.c:1484
#7  0x0040c16d in SGR_Foreground (color=15) at ./charproc.c:805
#8  0x0040c4f4 in setExtendedFG () at ./charproc.c:881
#9  0x0040e101 in doparsing (c=109, sp=0x5615e0) at ./charproc.c:1869
#10 0x0040f9a0 in VTparse () at ./charproc.c:2785
#11 0x00413687 in VTRun () at ./charproc.c:4737
#12 0x004246df in main (argc=0, argv=0x7fff05c8d380) at ./main.c:2354
(gdb) kill
Kill the program being debugged? (u or n) y
tarting program: /home/slimak/kodowanie/got/debian/xterm-210/xterm
(xterm started, i started mc from xterm it got frozen a bit later, i hit ctrl-c 
in gdb)
Program received signal SIGINT, Interrupt.
0x2bcc1c8f in poll () from /lib/libc.so.6
(gdb) bt
#0  0x2bcc1c8f in poll () from /lib/libc.so.6
#1  0x2b8e6d2f in XProcessInternalConnection () from
/usr/lib/libX11.so.6
#2  0x2b8e7142 in _XRead () from /usr/lib/libX11.so.6
#3  0x2b8e7b81 in _XReply () from /usr/lib/libX11.so.6
#4  0x2b8d4c3b in XParseColor () from /usr/lib/libX11.so.6
#5  0x0042c747 in AllocateAnsiColor (pTerm=0x595420, res=0x5956d0, 
spec=0x443c05 "gray50") at ./misc.c:1454
#6  0x0042c8e3 in xtermGetColorRes (res=0x5956d0) at ./misc.c:1484
#7  0x0040c16d in SGR_Foreground (color=8) at ./charproc.c:805
#8  0x0040c4f4 in setExtendedFG () at ./charproc.c:881
#9  0x0040e101 in doparsing (c=109, sp=0x5615e0) at ./charproc.c:1869
#10 0x0040f9a0 in VTparse () at ./charproc.c:2785
#11 0x00413687 in VTRun () at ./charproc.c:4737
#12 0x004246df in main (argc=0, argv=0x7fff55c88370) at
./main.c:2354
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) run
Starting program: /home/slimak/kodowanie/got/debian/xterm-210/xterm
(xterm started, i run mc in it, it does no freeze this time, but i interrupt it 
anyway ;)
Program received signal SIGINT, Interrupt.
0x2b8583743a45 in select () from /lib/libc.so.6
(gdb) bt
#0  0x2b8583743a45 in select () from /lib/libc.so.6
#1  0x0041027c in in_put () at ./charproc.c:3190
#2  0x0041036c in doinput () at ./charproc.c:3222
#3  0x0040f993 in VTparse () at ./charproc.c:2785
#4  0x00413687 in VTRun () at ./charproc.c:4737
#5  0x004246df in main (argc=0, argv=0x7fff282058f0) at ./main.c:2354
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) 

> Doing that would give more insight into the problem - to see whether it's
> an X library problem, or whether xterm's gotten into some state that I
> could fix.

What next?

Regards
Jan Górski


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329901: xterm freezes when starting mc

2006-10-30 Thread Jan Gorski
On Sun, 25 Sep 2005 at 12:32:07 -0400, Thomas Dickey wrote:
> On Sun, Sep 25, 2005 at 04:50:14PM +0200, Jan Gorski wrote:
> > On Sat, 24 Sep 2005 at 19:25:52 -0400, Thomas Dickey wrote:
> > > (That would be "configure --enable-trace --enable-wide-chars 
> > > --enable-luit",
> > > and the executable produces Trace-parent.out and Trace-child.out)
> > 
> > Well, I've run it. Traces are in http://slimak.info/~slimak/traces.tar.bz2 
> > if
> > you want to look at them. All hangs end with this line
> 
> thanks (got a copy for reading)

For some time I was using xfce4-terminal and xfce4wm to avoid this bug (and
another one, 329916).  At least month ago I gave a try to fvwm again, and it was
working --- till last upgrade :). Now I have checkd it in few configurations,
and it seems, that both bugs depend on xinerama(1)... Bug 329916 is a bit
upredictible, and sometimes it takes a moment till it appears, but this bug is
easier to reproduce, so maybe somebody can tell me what else can be done to find
out what happens?

Cheers
Jan Górski

(1) adding Option "Xinerama" to sigle monitor configuration does not trigger
problems, so maybe not xinerama, but something else connected with using two
monitors...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329916: xorg-x11: Unable to change focus from galeon or firefox

2006-10-30 Thread Jan Gorski
On Sun, 29 Oct 2006 at 23:59:04 +0100, Jan Gorski wrote:
> I seems, that this bug (and some other --- freezing xterm during startup of mc
> or mutt few times after starting X for example) are connected with mga video 
> driver.
> When I start X on nvidia only, there are no problems. If I use mga only, or 
> both
> cards, they appear.

Some more testing showed, that with two non mga cards problems still exist. So,
maybe it's connected with xinerama? How to find what causes this?
 
Pozdrawiam
Jan Górski


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329916: xorg-x11: Unable to change focus from galeon or firefox

2006-10-29 Thread Jan Gorski
I seems, that this bug (and some other --- freezing xterm during startup of mc
or mutt few times after starting X for example) are connected with mga video 
driver.
When I start X on nvidia only, there are no problems. If I use mga only, or both
cards, they appear.

Pozdrawiam
Jan Górski


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329901: xterm freezes when starting mc

2005-09-25 Thread Jan Gorski
On Sat, 24 Sep 2005 at 19:25:52 -0400, Thomas Dickey wrote:
> (That would be "configure --enable-trace --enable-wide-chars --enable-luit",
> and the executable produces Trace-parent.out and Trace-child.out)

Well, I've run it. Traces are in http://slimak.info/~slimak/traces.tar.bz2 if
you want to look at them. All hangs end with this line

xtermGetColorRes for Acolors[x]

with different x.

I've noticed one more thing --- with default font mc starts without problems.
I use *VT100*font: -xos4-terminus-bold-r-normal--24-240-72-72-c-120-iso10646-1

> Other than that - attaching gdb to the xterm process and doing a bt (stack
> trace) should show where it is executing.

#0  0xb7c4cf58 in select () from /lib/tls/libc.so.6
#1  0xb7ed962a in _XEnq () from /usr/X11R6/lib/libX11.so.6
#2  0xb7ed9a3e in _XRead () from /usr/X11R6/lib/libX11.so.6
#3  0xb7edaa2a in _XReply () from /usr/X11R6/lib/libX11.so.6
#4  0xb7ecb3c6 in XParseColor () from /usr/X11R6/lib/libX11.so.6
#5  0x0806a605 in AllocateAnsiColor (pTerm=0x80c2490, res=0x80c2628, 
spec=0x80c062c "yellow") at ./misc.c:1421
#6  0x0806a743 in xtermGetColorRes (res=0x80c2628) at ./misc.c:1451
#7  0x08050ff3 in SGR_Foreground (color=11) at ./charproc.c:805
#8  0x08051189 in setExtendedFG () at ./charproc.c:881
#9  0x08057f32 in doparsing (c=Variable "c" is not available.) 
at ./charproc.c:1915
#10 0x08059621 in VTparse () at ./charproc.c:2770
#11 0x08059725 in VTRun () at ./charproc.c:4667
#12 0x08066be5 in main (argc=0, argv=0xbfaaf288) at ./main.c:2291

Does it make things clearer?

Pozdrawiam
Slimak (na krawędzi)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329901: Mail delivery failed: returning message to sender

2005-09-24 Thread Jan Gorski
On Sun, 25 Sep 2005 at 00:26:06 +0200, Mail Delivery System wrote:
> This message was created automatically by mail delivery software.
> 
> A message that you sent could not be delivered to one or more of its
> recipients. This is a permanent error. The following address(es) failed:
> 
>   [EMAIL PROTECTED]
> SMTP error from remote mail server after MAIL FROM:<[EMAIL PROTECTED]>:
> host mail1.radix.net [207.192.128.31]: 550 5.0.0 Rejected for Spam Nov/03

Interesting, I don't remeber sending spam in my life... So why is this?

Pozdrawiam
Slimak (na krawedzi)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329901: xterm freezes when starting mc

2005-09-24 Thread Jan Gorski
On Sat, 24 Sep 2005 at 15:21:54 -0400, Thomas Dickey wrote:
> If you can kill the mc process from another xterm without killing the xterm,
> it is likely that the problem lies in mc rather than xterm.

I can kill mc, but xterm is still frozen. Similar thing happens with mutt. BTW,
is it possible and not considered a bug, that application can leave xterm in
frozen state even after it has been killed? I cannot even raise any menu with
ctrl click. How can I investigate this?

Pozdrawiam
Slimak (na krawędzi)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329901: Problem does not exist when using xterm on remote xserver...

2005-09-24 Thread Jan Gorski
I've tried logging on my account from remote xserver, and everything worked
right.

Pozdrawiam
Slimak (na krawedzi)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329916: xorg-x11: Unable to change focus from galeon or firefox

2005-09-24 Thread Jan Gorski
Package: xorg-x11
Severity: important


This is rather request for help in finding where is the bug, because I don't
know how to do it. That's what happens to me:

With LC_CTYPE=pl_PL.UTF-8 (I cannot repreduce it with LC_CTYPE=pl_PL) while
using galeon or mozilla I find sometimes that I am unable to change active
window. Menus, adding tabs and browsing works. gkrellm is being updated. I can
kill server with Ctrl-Alt-Backspace, but now other window responds to mouse,
fvwm keyboard shortcuts does not work etc. How can I check what's going on?
Or maybe this is repreducible somwhere else... 

Pozdrawiam
Slimak (na krawedzi)

fvwm 2.5.12-5
galeon 1.3.21-6
mozilla-browser 2:1.7.8-1
mozilla-firefox 1.0.6-5
xorg-x11 6.8.2.dfsg.1-7

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'stable'), (70, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12dwapiii.1.0
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329901: It's not because of locale setting

2005-09-24 Thread Jan Gorski
I'm more problems with X now, and while testing I've found, that this problem is
not bound to locale setting...

Pozdrawiam
Slimak (na krawedzi)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#329901: xterm freezes when starting mc

2005-09-24 Thread Jan Gorski
Package: xterm
Version: 6.8.2.dfsg.1-7
Severity: normal


I've recently set LC_CTYPE to pl_PL.UTF-8. Now after starting X first and second
run of mc in xterm is unsuccesfull. 

Run 1. Only first line (menubar) is renderd.
Run 2. First line and 39 characters of second line are visible.
Run 3. Not all lines are visible, but xterm does not freeze and ^L repaints
window.

Pozdrawiam
Slimak (na krawędzi)


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'stable'), (70, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12dwapiii.1.0
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)

Versions of packages xterm depends on:
ii  libc6 2.3.5-6GNU C Library: Shared libraries an
ii  libexpat1 1.95.8-3   XML parsing C library - runtime li
ii  libfontconfig12.3.2-1generic font configuration library
ii  libfreetype6  2.1.7-2.4  FreeType 2 font engine, shared lib
ii  libice6   6.8.2.dfsg.1-7 Inter-Client Exchange library
ii  libncurses5   5.4-9  Shared libraries for terminal hand
ii  libsm66.8.2.dfsg.1-7 X Window System Session Management
ii  libxaw8   6.8.2.dfsg.1-7 X Athena widget set library
ii  libxext6  6.8.2.dfsg.1-7 X Window System miscellaneous exte
ii  libxft2   2.1.7-1FreeType-based font drawing librar
ii  libxmu6   6.8.2.dfsg.1-7 X Window System miscellaneous util
ii  libxp66.8.2.dfsg.1-7 X Window System printing extension
ii  libxpm4   6.8.2.dfsg.1-7 X pixmap library
ii  libxrender1   1:0.9.0-2  X Rendering Extension client libra
ii  libxt66.8.2.dfsg.1-7 X Toolkit Intrinsics
ii  xlibs 6.8.2.dfsg.1-7 X Window System client libraries m
ii  xlibs-data6.8.2.dfsg.1-7 X Window System client data

Versions of packages xterm recommends:
ii  xutils6.8.2.dfsg.1-7 X Window System utility programs

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]