Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* X11 crashing (memory violation); 20 window limit?
@ 1998-04-10 18:21 Michael J. Donahue
  1998-04-11 17:34 ` KOUICHI Takahashi-S
  1998-04-16 13:43 ` Andreas Johansson
  0 siblings, 2 replies; 7+ messages in thread
From: Michael J. Donahue @ 1998-04-10 18:21 UTC (permalink / raw)
  To: axp-list

Hi all,

Sorry if this is an FAQ.  I have 2 Linux/AXP machines here, one
running RedHat 4.2 with Matrox Millennium video, the other is mostly
RH 4.1 with S3.  Both are running kernel 2.0.30.  I have found that if
I launch about 20 X apps the server crashes.  The following bash
script automates the process:

#!/bin/bash
n=30 ; i=0
while [ $i -lt $n ] ; do
  xterm -geometry 40x3+${i}0+${i}0 &
  let i+=1
done

I use xterm above, but the app doesn't seem to matter.  The exact
number of apps to crash appears to vary depending on the X server &
the window manager (if I startx X using xinit directly the magic
number seems to be 27).  The following gets recorded in
/var/log/messages, from the S3 server release 3.3.2:

  Apr  9 20:32:18 saaz kernel: X: memory violation at pc=120157bec rp=120157b6c (bad address = 120000000)

S3 release 3.3.1 I gives:

  Apr  9 19:15:32 saaz kernel: X: memory violation at pc=12015500c rp=120154f8c (bad address = 120000000)

and SVGA release 3.3.1 (with the Matrox card):

  Apr  9 22:46:10 localhost kernel: X: memory violation at pc=12012692c rp=1201268ac (bad address = 120000000)

Same address, every time.

I've attached sample server output below.  Is this a known problem?
Is there a known solution?  My Linux/x86 boxes do not suffer this
problem.

TIA,

-mike

-- 
Michael J. Donahue
National Institute of Standards and Technology
Mathematical & Computational Sciences Division
Bldg 820, Rm 365
Gaithersburg, MD 20899
email: michael.donahue@nist.gov
voice: (301) 975-5424
  fax: (301) 990-4127
  web: http://math.nist.gov/mcsd/Staff/MDonahue/


##########################################################################

XFree86 Version 3.3.2 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: March 2 1998
	If the server is older than 6-12 months, or if your card is newer
	than the above date, look for a newer version before reporting
	problems.  (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.0.30 alpha [ELF] 
Configured drivers:
  S3: accelerated server for S3 graphics adaptors (Patchlevel 0)
      newmmio, mmio_928, s3_generic
(using VT number 7)

XF86Config: /usr/X11R6/lib/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc101"
(**) XKB: layout: "us"
(**) XKB: variant: ""
(**) XKB: options: ""
(**) Mouse: type: PS/2, device: /dev/mouse, buttons: 3
(**) S3: Graphics device ID: "Diamond Stealth 64 Video VRAM"
(**) S3: Monitor ID: "ViewSonic P810"
(--) S3: Mode "640x480" needs vert refresh rate of 100.02 Hz. Deleted.
(--) S3: Mode "800x600" needs vert refresh rate of 100.03 Hz. Deleted.
(--) S3: Mode "1024x768" needs hsync freq of 80.21 kHz. Deleted.
(--) S3: Mode "1280x1024" needs hsync freq of 81.13 kHz. Deleted.
(--) S3: Mode "1600x1200" needs hsync freq of 87.50 kHz. Deleted.
(--) S3: Mode "1152x864" needs hsync freq of 89.62 kHz. Deleted.
(--) S3: Mode "1280x1024" needs hsync freq of 91.15 kHz. Deleted.
(--) S3: Mode "1600x1200" needs hsync freq of 93.75 kHz. Deleted.
(--) S3: Mode "1600x1200" needs hsync freq of 105.77 kHz. Deleted.
(--) S3: Mode "1280x1024" needs hsync freq of 107.16 kHz. Deleted.
(--) S3: Mode "1800X1440" needs hsync freq of 96.15 kHz. Deleted.
(--) S3: Mode "1800X1440" needs hsync freq of 104.52 kHz. Deleted.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(--) S3: PCI: 968 rev 0, Linear FB @ 0xf8000000
(--) S3: chipset:   968 rev. 3
(--) S3: chipset driver: newmmio
(--) S3: card type: PCI
(--) S3: videoram:  4096k
(--) S3: Detected an IBM RGB524 ramdac rev. c0
(--) S3: Ramdac type: ibm_rgb524
(--) S3: Ramdac speed: 170 MHz
(--) S3: Using hardware cursor from IBM RGB52x RAMDAC
(--) S3: Using IBM RGB52x programmable clock (MCLK 66.476 MHz)
(--) S3: with refclock 14.318 MHz (probed 14.386 & 14.289)
(--) S3: Maximum allowed dot-clock: 170.000 MHz
(**) S3: Mode "1024x768": mode clock =  98.900
(**) S3: Mode "640x480": mode clock =  31.500
(**) S3: Mode "800x600": mode clock =  60.750
(--) S3: Operating RAMDAC in pixel multiplex mode
(**) S3: Using sparse 32 bpp.  Color weight: 888
(--) S3: Virtual resolution set to 1024x768
(--) S3: Local bus LAW is 0xF8000000
(--) S3: Using a banksize of 4096k, line width of 1024
(--) S3: S3 968 dashed line malfunction, using workaround code
(--) S3: Using a single 64x64 area at (960,768) for expanding pixmaps
(--) S3: Using 32 planes of 960x256 at (0,768) aligned 8 as font cache

Fatal server error:
Caught signal 11.  Server aborting


When reporting a problem related to a server crash, please send
the full server output, not just the last messages

xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
xinit:  connection to X server lost.
xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
X connection to :0.0 broken (explicit kill or server shutdown).

######################################################################


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X11 crashing (memory violation); 20 window limit?
  1998-04-10 18:21 X11 crashing (memory violation); 20 window limit? Michael J. Donahue
@ 1998-04-11 17:34 ` KOUICHI Takahashi-S
  1998-04-16 13:43 ` Andreas Johansson
  1 sibling, 0 replies; 7+ messages in thread
From: KOUICHI Takahashi-S @ 1998-04-11 17:34 UTC (permalink / raw)
  To: axp-list

hi,

From: "Michael J. Donahue" <donahue@ulexite.nist.gov>
Subject: X11 crashing (memory violation); 20 window limit?
Date: Fri, 10 Apr 1998 14:21:26 -0400

> running RedHat 4.2 with Matrox Millennium video, the other is mostly
> RH 4.1 with S3.  Both are running kernel 2.0.30.  I have found that if
> I launch about 20 X apps the server crashes.  The following bash

I'm suffering from exactly the same problem on my PC164lx.

configuration of the system is:

base system:	StataboWare-1.1beta 
		(japanese linux/alpha distribution which is
		 known to be very stable and FP performance intensive)
kernel:		2.1.88
libc:		glibc2.0.6
video card:	Millenium II PCI 
X server:	XF86 3.3.1(or 3.3.2, i've forgot which)



I think someone said that upgrade to glibc-2.0.7 and it will work fine,
so today I tried that version of glibc (using update of RH5.0) 
but it seems to me nothing changed.


any idea?


- Kouichi Takahashi
- Bio Informatics Lab.
- Keio Univ SFC, japan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X11 crashing (memory violation); 20 window limit?
  1998-04-10 18:21 X11 crashing (memory violation); 20 window limit? Michael J. Donahue
  1998-04-11 17:34 ` KOUICHI Takahashi-S
@ 1998-04-16 13:43 ` Andreas Johansson
  1998-04-19  6:50   ` adisaacs
  1 sibling, 1 reply; 7+ messages in thread
From: Andreas Johansson @ 1998-04-16 13:43 UTC (permalink / raw)
  To: Michael Donahue; +Cc: axp-list

On Fri, 10 Apr 1998, Michael J. Donahue wrote:

> Hi all,
> 
> Sorry if this is an FAQ.  I have 2 Linux/AXP machines here, one
> running RedHat 4.2 with Matrox Millennium video, the other is mostly
> RH 4.1 with S3.  Both are running kernel 2.0.30.  I have found that if
> I launch about 20 X apps the server crashes.  The following bash
> script automates the process:
> 
> [...]
> 
> I've attached sample server output below.  Is this a known problem?
> Is there a known solution?  My Linux/x86 boxes do not suffer this
> problem.

I strongly second this bug report, this error has been known for years,
when will it be fixed?

/Andreas


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X11 crashing (memory violation); 20 window limit?
  1998-04-16 13:43 ` Andreas Johansson
@ 1998-04-19  6:50   ` adisaacs
  1998-04-21  9:32     ` Wes Bauske
  0 siblings, 1 reply; 7+ messages in thread
From: adisaacs @ 1998-04-19  6:50 UTC (permalink / raw)
  To: axp-list

On Thu, Apr 16, 1998 at 03:43:18PM +0200, Andreas Johansson wrote:
> On Fri, 10 Apr 1998, Michael J. Donahue wrote:
>
> > Hi all,
> >
> > Sorry if this is an FAQ.  I have 2 Linux/AXP machines here, one
> > running RedHat 4.2 with Matrox Millennium video, the other is mostly
> > RH 4.1 with S3.  Both are running kernel 2.0.30.  I have found that if
> > I launch about 20 X apps the server crashes.  The following bash
> > script automates the process:
> > [...]
> > I've attached sample server output below.  Is this a known problem?
> > Is there a known solution?  My Linux/x86 boxes do not suffer this
> > problem.
> I strongly second this bug report, this error has been known for years,
> when will it be fixed?

As soon as someone goes out and fixes it.  There's a very odd bug occuring
somewhere deep in the X server, and while I've been looking at the code for
a while, I haven't been able to figure out exactly what's going wrong.

If anyone out there knows the internals of the xc/programs/Xserver/os/
and would be willing to help me debug this problem (or if you'd just like
to take a shot at it yourself) drop me a line and I'll let you know what
I've done.

I do plan to work on this some more, hopefully soon.

thanks,
-andy
-- 
Andy Isaacson adisaacs@mtu.edu adi@acm.org    Fight Spam, join CAUCE:
http://www.csl.mtu.edu/~adisaacs/              http://www.cauce.org/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X11 crashing (memory violation); 20 window limit?
  1998-04-19  6:50   ` adisaacs
@ 1998-04-21  9:32     ` Wes Bauske
  1998-04-30  5:15       ` Andrew Isaacson
  0 siblings, 1 reply; 7+ messages in thread
From: Wes Bauske @ 1998-04-21  9:32 UTC (permalink / raw)
  To: axp-list@redhat.com

adisaacs@trurl.resnet.mtu.edu wrote:

> On Thu, Apr 16, 1998 at 03:43:18PM +0200, Andreas Johansson wrote:
> > On Fri, 10 Apr 1998, Michael J. Donahue wrote:
> >
> > > Hi all,
> > >
> > > Sorry if this is an FAQ.  I have 2 Linux/AXP machines here, one
> > > running RedHat 4.2 with Matrox Millennium video, the other is mostly
> > > RH 4.1 with S3.  Both are running kernel 2.0.30.  I have found that if
> > > I launch about 20 X apps the server crashes.  The following bash
> > > script automates the process:
> > > [...]
> > > I've attached sample server output below.  Is this a known problem?
> > > Is there a known solution?  My Linux/x86 boxes do not suffer this
> > > problem.
> > I strongly second this bug report, this error has been known for years,
> > when will it be fixed?
>
> As soon as someone goes out and fixes it.  There's a very odd bug occuring
> somewhere deep in the X server, and while I've been looking at the code for
> a while, I haven't been able to figure out exactly what's going wrong.
>
> If anyone out there knows the internals of the xc/programs/Xserver/os/
> and would be willing to help me debug this problem (or if you'd just like
> to take a shot at it yourself) drop me a line and I'll let you know what
> I've done.
>
> I do plan to work on this some more, hopefully soon.
>
> thanks,
> -andy
> --

It appears to be crashing at ProcChangeSaveSet() at dispatch.c:473

I'm getting nonsense for the variables in that routine so I will try
compile them without optimization tomorrow and see if that sheds
light on the problem.

One hint to my earlier note on attaching to the X server. Alway
'detach' from it when you're thru looking at the failure or your
console will get hosed up. Every thing backs out OK when you
allow the X server to reset the console back to VGA mode and
you can keep trying changes without having to reboot to get your
console straightened out. (I got things hosed up once)

I did a breakpoint on that statement and it is hit only on the second
window and then finally goes into a loop calling this routine many
times until it fails with the SIGSEGV on the last window.

Wes


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X11 crashing (memory violation); 20 window limit?
  1998-04-21  9:32     ` Wes Bauske
@ 1998-04-30  5:15       ` Andrew Isaacson
  1998-04-30  9:26         ` David Alan Gilbert
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Isaacson @ 1998-04-30  5:15 UTC (permalink / raw)
  To: axp-list

wsb@paralleldata.com ("Wes Bauske") wrote:
[snip X server crash story]
> It appears to be crashing at ProcChangeSaveSet() at dispatch.c:473
> 
> I'm getting nonsense for the variables in that routine so I will try
> compile them without optimization tomorrow and see if that sheds
> light on the problem.
> 
> One hint to my earlier note on attaching to the X server. Alway
> 'detach' from it when you're thru looking at the failure or your
> console will get hosed up. Every thing backs out OK when you
> allow the X server to reset the console back to VGA mode and
> you can keep trying changes without having to reboot to get your
> console straightened out. (I got things hosed up once)

Oh yeah, that's one thing I didn't mention.  If the crash isn't
hardware-driver related, Xnest or Xvfb is much easier to debug.  That
way you don't lose your console when the server crashes.

-andy
-- 
Andy Isaacson adisaacs@mtu.edu adi@acm.org    Fight Spam, join CAUCE:
http://www.csl.mtu.edu/~adisaacs/              http://www.cauce.org/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X11 crashing (memory violation); 20 window limit?
  1998-04-30  5:15       ` Andrew Isaacson
@ 1998-04-30  9:26         ` David Alan Gilbert
  0 siblings, 0 replies; 7+ messages in thread
From: David Alan Gilbert @ 1998-04-30  9:26 UTC (permalink / raw)
  To: adisaacs; +Cc: axp-list

Andrew Isaacson wrote:

> Oh yeah, that's one thing I didn't mention.  If the crash isn't
> hardware-driver related, Xnest or Xvfb is much easier to debug.  That
> way you don't lose your console when the server crashes.

Thats what I thought when I was getting X crashes when running kfm; so I ran
it in an Xnest; while I now get fewer X crashes I still get some - it would
appear that for reasons I can't fathom the bug can penetrate the extra layer
- I'll be damned if I can understand why.

Dave


-- 
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work:    dg @ cogency.co.uk        - +44-(0)161-428-9444           -
- Home:    gro.gilbert @ treblig.org -                               -
----------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-04-30  9:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-10 18:21 X11 crashing (memory violation); 20 window limit? Michael J. Donahue
1998-04-11 17:34 ` KOUICHI Takahashi-S
1998-04-16 13:43 ` Andreas Johansson
1998-04-19  6:50   ` adisaacs
1998-04-21  9:32     ` Wes Bauske
1998-04-30  5:15       ` Andrew Isaacson
1998-04-30  9:26         ` David Alan Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox