[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

2626.0. "DECwindows & Debugger (status=2dba104)" by MLNCSC::BELLENCHIA (R. Bellenchia - Product Support Italy) Wed Apr 18 1990 13:30

Hello,
	I'm in trouble with a customer that works with VMS v5.3, 
DECwindows v2.0 and DEC PHIGS v2.0. The problem appears debugging a PHIGS 
application. The program starts correctly (creates the PHIGS environment) but 
after some break point, the PHIGS windows disappears and the debug aborts his
session with the following error message: 
    LINKABORT network partner aborted logical link .....

The DECwindows server error log file (SYS$MANAGER:DECW$SERVER_0_ERROR.LOG) 
reports: 
   "Connection nnnnn is closed by Txport (status = 2dba104)" nnnnn= is the 
                                                             connection number

I think that the problem is application independent because it works fine using 
the VAX Workstation Software.

Is there anybody that could help me ?

As is not clear where is the problem, I've posted the same note also in 
Debug and PHIGS notes file.
T.RTitleUserPersonal
Name
DateLines
2626.1DECWIN::JMSYNGEJames M Synge, VMS DevelopmentWed Apr 18 1990 14:0716
    2dba104 is the code for the message
    
    	"%DECW-F-BUFFERTIMEOUT, buffer wait timed out"
    
    It means that your application wasn't reading events, errors or replies
    from the server, and that the server had run out of buffer space.  When
    this happened, the server waited a while (probably 30 seconds) and then
    killed the link.
    
    >I think that the problem is application independent because it works
    >fine using the VAX Workstation Software.
    
    I don't understand what this means.
    
    
    James
2626.2debug with careTOOLEY::B_WACKERWed Apr 18 1990 14:164
Remember that when you're sitting at a breakpoint you can't process 
events, so choose breakpoints carefully and don't generate unnecessary 
events while you're there.  There's no guaranteed way to debug X 
processes.
2626.3More informationMLNCSC::BELLENCHIAR. Bellenchia - Product Support ItalyThu Apr 19 1990 05:2027
RE:.1

    >>I think that the problem is application independent because it works
    >>fine using the VAX Workstation Software.
    
    >I don't understand what this means.
    
This means that the debugger work fine using the VWS.
Before the status=2dba104, there is the following message "Using extra todo 
packet pool". What does it mean ? 

RE: .2
    >Remember that when you're sitting at a breakpoint you can't process 
    >events, so choose breakpoints carefully and don't generate unnecessary 
    >events while you're there.  There's no guaranteed way to debug X 
    >processes.

The server breaks the link immediately after the breakpoint established by the 
customer.
So doing it prevents any actions from the customer. The system doesn't react 
when the customer hits any character or shrinks the window to an icon or tries 
to do anything.

Thanks in advance for any reply.

Roberto

2626.4DECWIN::FISHERPrune Juice: A Warrior's Drink!Thu Apr 19 1990 13:3015
I don't know much about Phigs, but I wonder if the server might be generating
a large quantity of events either via X or via Phigs.  For example, with X,
if the program mapped a whole slug of windows and then immediately hit the
break point, the server would then send a whole slug of expose events which
would not be serviced, and which could cause the server to react as above.

One thing that might help slightly, depending on what is generating the events:
If you call XSynchronize(dpy,1) at the start ONLY WHEN YOU ARE DEBUGGING!, Xlib
will send each request to the server as the request is made rather than buffering
them up.  This might spread out any events which are being generated by the
request.  Doing this also makes errors appear synchronously with the call that
created them.  The disadvantage is that it is a LOT slower, and of course it
may mask some program errors due to assumed synchronicity.

Burns
2626.5Using extra todo packet pool is not an errorSTAR::VATNEPeter Vatne, VMS DevelopmentThu Apr 19 1990 14:295
> Before the status=2dba104, there is the following message "Using extra todo 
> packet pool". What does it mean ? 

Ignore that message.  It is essentially an internal debugging message.
It is not a problem unless you get several hundred of them...
2626.6KONING::KONINGNI1D @FN42eqFri Apr 20 1990 14:064
It sure would be nice if X treated temporary resource shortages in a more
sensible fashion.

	paul