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

Conference pamsrc::objectbroker_development

Title:ObjectBroker Development - BEA Systems' CORBA
Notice:See note 2 for kit locations; note 4 for training
Moderator:RECV::GUMBELd
Created:Thu Dec 27 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2482
Total number of notes:13057

2449.0. "obb$quick prblm on VAX V6.2, OBB V2.7" by SWETSC::EKLUND (On a clear day you can see forever) Thu Mar 06 1997 01:58

	Hi, 

	Having no knowledge at all of OBB I have this 
	problem in my hands from a customer. 

	Can I please get some help ?

	Problem: genereration of quick application on 
	OpenVMS VAX V6.2, OBB V2.7.


$ @sys$system:obb$quick test.idl cxx build
$ type test.idl
/*********************************************************/
/*
/*
/* synopCorba.idl
/(*
/*      Contains description of the CORBA interface for
/*      siganlling and storing SYNOP's into ROAD
/*
/*      A U T H O R
/*      Per Hagstr�m
/*
/*      D A T E
/*      970120
/*
/*      R E V I S I O N S
/*
/*
/*
/*********************************************************/

interface synopTypes{



typedef long tgmFormatType[113];

};


module synopCorba{


        interface synop:synopTypes{

                // operations
                short storeSynop(in tgmFormatType tgm);
        };

};



Running the output, the client, gives this accvio:

$ run testclient
%SYSTEM-F-ACCVIO, access violation, reason mask=04, virtual 
address=0000020C, PC
=00003D40, PSL=03C00000
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    
abs PC

TESTSTUB        __init_TESTSTUB7115BB            8860      
0000003C  00003D40
                                                           
0001B611  0001B611
$

	Now, if we instead of using C++ uses C-code it works.


	regards
	Johan

    
T.RTitleUserPersonal
Name
DateLines
2449.1REQUE::BOWERPeter Bower, ObjectBrokerThu Mar 06 1997 11:166
    
    I could not reproduce this on V2.7-11 on VAX/VMS V6.1. Have the
    customer compile and link the client image by hand - just cut
    and paste the cxx and link commands from the obb$quick output
    and add /debug. Then run the program and see where it dies.
    
2449.2W'll try with new LIBOBBCXX.OLBSWETSC::EKLUNDOn a clear day you can see foreverFri Mar 07 1997 09:479
    Hi,
    
    and thanx for the help. 
    
    We tried and it happens 'early' in the code, well before his code
    starts. We guess it happens in the code from LIBOBBCXX.OLB. So we 
    thought that we should take the LIBOBBCXX.OLB from V2.7-11 and try.
    
    -Johan
2449.3Now SolvedSWETSC::EKLUNDOn a clear day you can see foreverFri Mar 14 1997 04:548
    Hi,
    
    This took some time but since we upgraded the compiler from V5.4-010 to
    V5.5 the code executes fine.
    
    Thanx for the assistance.
    
    -Johan