[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1363.0. "DECW EFT2 crashes easily...backward step?" by LARVAE::BULLARD () Mon Sep 04 1989 12:54

/*	The following program seems to blow Decwindows away.Sometimes the
system hangs when the program starts or if you move the windows,resize or
expose them (you have to play around for a short while to generate activity).
When the system hangs there is a lot of disk activity and the screen clears
if you hit the control key.The system then requires a DECW$STARTUP to 
get it back.
	I am using Decwindows EFT 2.0 on VMS 5.2.The link date for the
server is 7-JUL-1989,the image file is DECW T2.0-FT1 and the linker id is
05-05. I am running on a Vaxstation 2000 with 6MB of memory (I have seen 
the same problem on a VS3100 with 8Mb).                        
        The problem does not occur on Decwindows version 1 nor does the 
problem occur if you quickly iconify the Decterm window after kicking the
program off.I am not working as part of the official test program but I am
doing some work for a customer to test some problems he was having with 
version 1,which have all been fixed.I am worried that this new version
is less usable than version 1 and I would like to ensure that engineering
are aware of the problem.I have attached the decw$server log which results.
	The command file to build the program is as follows:-

$cc 'p1'
$define/nolog c$include decw$examples.decw$include,sys$library
$define/nolog vaxc$include c$include
$link  'p1',sys$input/opt
sys$share:decw$xlibshr/share
sys$share:vaxcrtl/share
sys$share:decw$dwtlibshr/share        */


#include signal
#include <decw$include/xlib.h>
#include <decw$include/x.h>

#define screenNumber DefaultScreen(dp)
#define depth        DefaultDepth(dp,screenNumber)
#define blackPixel BlackPixel (dp,screenNumber)
#define whitePixel WhitePixel (dp,screenNumber)

XSetWindowAttributes window_attributes;
Display *dp = 0;

unsigned long attribute_mask;

int main (ac,av)

        int ac;
        char **av;
        {
        Window wd;
        int i;

        --ac,++av;

        dp = XOpenDisplay ("0::0,0");


        for (i = 0 ; i < 10; ++i)

                {
        wd = XCreateSimpleWindow (dp,RootWindow (dp, DefaultScreen (dp)),
                100 + i * 10,100+i*20,300,200,depth,blackPixel,whitePixel);

        printf ("Created Window %d handle %x\n",i,wd);

        XSelectInput (dp,wd,ButtonPressMask |
                            ButtonReleaseMask |
                            ExposureMask |
                            EnterWindowMask |
                            LeaveWindowMask |
                            ExposureMask |
                            VisibilityChangeMask |
                            StructureNotifyMask |
                            FocusChangeMask );

        XMapWindow (dp, wd);

        }

        while (1) {

                XMapEvent event_ptr;
                printf ("hello,event type = %d\n",event_ptr.type);
                XNextEvent (dp,&event_ptr);
                switch (event_ptr.type) {

                case MapNotify : XSetInputFocus (dp,event_ptr.window,
                                                RevertToParent,CurrentTime);
                printf ("Focus set Window  handle %x\n",event_ptr.window);
                }
        }
        return (1);
	}





/*


 4-SEP-1989 14:10:27.9 Hello, this is the X server
Dixmain address=1440c
Now attach all known txport images
in SetFontPath
out SetFontPath
GPX color/monochrome support loaded
gpx$InitOutput address=109188
Connection Prefix: len == 42
 4-SEP-1989 14:12:03.9 Now I call scheduler/dispatcher
 4-SEP-1989 14:12:12.8 Connection 9a100 is closed by Txport
 4-SEP-1989 14:12:32.2 Connection 9a138 is closed by Txport
 4-SEP-1989 14:15:15.6 Invalid access from transport: DECNET         
                                                node: 42358          
                                                user: 621            
 4-SEP-1989 14:16:12.0 Connection 9c440 is closed by Txport
 4-SEP-1989 14:16:24.4 Connection 9c440 is closed by Txport
 4-SEP-1989 14:16:47.9 Connection 9c440 is closed by Txport
 4-SEP-1989 14:47:22.2 Connection 9e7c0 is closed by Txport
 4-SEP-1989 14:47:23.4 Using extra todo packet pool...
%SYSTEM-F-ROPRAND, reserved operand fault at PC=80000010, PSL=03C00000

  Improperly handled condition, image exit forced.

	Signal arguments	      Stack contents

	Number = 00000003		 8013786E
	Name   = 00000454		 00000002
		 80000010		 7FF9BF6C
		 03C00000		 7FF9BF54
					 00000004
					 7FF9C1E4
					 00000001
					 7FF9C1F9
					 00129280
					 03000001

	Register dump

	R0 = 7FF9C1E5  R1 = 7FF9C200  R2 = 7FF9C0CC  R3 = 7FF9C001
	R4 = 7FF9C201  R5 = 7FF9C0CC  R6 = 0015D470  R7 = 0000000C
	R8 = 7FF9C0A4  R9 = 0000000F  R10= 00000000  R11= 000B4508
	AP = 7FF9BF10  FP = 7FF9BED0  SP = 7FF9BF44  PC = 80000010
	PSL= 03C00000

%DECW-I-ACCEPT_FAILED, could not accept connection request from SHARIF::"0=SYSTEM/S ................
-SYSTEM-F-CONNECFAIL, connect to network object timed-out or failed     */

T.RTitleUserPersonal
Name
DateLines
1363.1MOVIES::LESLIEAndy ��� LeslieMon Sep 04 1989 13:189
    And you have OF COURSE submitted a QAR...?
    
    
    Notes conferences are NOT an official FT support tool and if it ain't
    QAR'd, it ain't going to contribute toward a measurement of success or
    failure for the ft.
    
    Andy