From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29761 invoked from network); 10 Apr 1998 18:21:02 -0000 Received: from ulexite.nist.gov (donahue@129.6.180.150) by mail2.redhat.com with SMTP; 10 Apr 1998 18:21:02 -0000 Received: (from donahue@localhost) by ulexite.nist.gov (8.8.4/8.8.4) id OAA17053; Fri, 10 Apr 1998 14:21:26 -0400 Date: Fri, 10 Apr 1998 14:21:26 -0400 Message-Id: <199804101821.OAA17053@ulexite.nist.gov> From: "Michael J. Donahue" To: axp-list@redhat.com Subject: X11 crashing (memory violation); 20 window limit? Reply-to: michael.donahue@nist.gov (Michael Donahue) 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). ######################################################################