| Title: | DEC C Problem Reporting Forum | 
| Notice: | Report DEC C++ problems in TURRIS::C_PLUS_PLUS | 
| Moderator: | CXXC::REPETE TCHEON | 
| Created: | Fri Nov 13 1992 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 1299 | 
| Total number of notes: | 6249 | 
    I have a problem with the DECC V5.5 compiler on AXP. The following 
    program access violates:
    
    #include <cma.h>
    
    main ()
    {
    }
    
    with 
    
    $ CC/DECC/DEBUG 
                    
    command. /DEBUG causes the ACCVIO. 
    
    
    %SYSTEM-F-ACCVIO, access violation, reason mask=04, virtual
    address=7D45FFB0, PC=00179E28, PS=0000001B
    
      Improperly handled condition, image exit forced.
        Signal arguments:   Number = 00000005
                            Name   = 0000000C
                                     00000004
                                     7D45FFB0
                                     00179E28
                                     0000001B
    
        Register dump:
        R0  = 00000000009C9420  R1  = 0000000000000001  R2  = 0000000000017B20
        R3  = 00000000005B6D78  R4  = 00000000009C9420  R5  = 0000000000000000
        R6  = 0000000000000000  R7  = 00000000005B4B60  R8  = 00000000005B6E20
        R9  = 000000007D4601C2  R10 = 00000000005B6D78  R11 = 000000000115058F
        R12 = 0000000001154093  R13 = 0000000000582168  R14 = 0000000000582168
        R15 = 000000007F9FDDA0  R16 = 00000000005B5638  R17 = 00000000005C00D8
        R18 = 0000000000000000  R19 = 00000000005B4B60  R20 = 0000000000000000
        R21 = 00000000005B4B60  R22 = 00000000004574F8  R23 = 00000000005C00D8
        R24 = 00000000009C93B0  R25 = 0000000000000006  R26 = 0000000000179BC8
        R27 = 0000000000017A40  R28 = 00545F545845544E  R29 = 0000000000000800
        SP  = 000000007F964000  PC  = 0000000000179E28  PS  = 000000000000001B
    
    
    
    I didn't try to locate where exactly inside CMA.H the compiler is
    choking. Would appreciate if there is any workaround and help.
    
    Thanks,
    -Steve, OpenVMS Engineering 
    
    
    ------------------- image header of decc$compiler.exe -----------------
    
    $ ana/image/header sys$system:decc$compiler.exe
    
    
    Analyze Image                                 5-FEB-1997 18:17:26.94  
    Page 1
    SYS$COMMON:[SYSEXE]DECC$COMPILER.EXE;4
    ANALYZ A05-19
    
    This is an OpenVMS Alpha image file
    
    IMAGE HEADER
       
    				:
    				:
    
            Image Identification Information
    
                    image name: "GEMC$CC_PROD"
                    image file identification: "C V5.5-002"
                    image file build identification: ""
                    link date/time: 23-OCT-1996 09:11:15.97
                    linker identification: "A11-20"
    
    
    
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 1259.1 | SPECXN::DERAMO | Dan D'Eramo | Wed Feb 05 1997 19:21 | 4 | |
|         If it is #include-ing <exc_handling.h> inside <cma.h> then
        this is probably topic 1225.
        
        Dan
 | |||||
| 1259.2 | Can you help verify the problem against your fix? | STAR::SLEE | VMS Engineering | Thu Feb 06 1997 10:37 | 13 | 
|     re: .-1
    
    I am not sure if it is the same problem as 1259. By just looking at the
    reason mask for the ACCVIO, the two cases are different. One easy way
    to verify will be to take my program and compile it against
    your latest compiler (which according to 1225.7, you have a fix for
    this problem already) and see if it is solving this problem also. 
    
    Would you be able to help verify and let me know the result? 
    
    Your help will be much appreciated. Thanks,
    
    -Steve
 | |||||
| 1259.3 | duplicate | CAIRN::HARRIS | Kevin Harris, dtn 381-2039 | Thu Feb 06 1997 16:02 | 4 | 
| Steve, I tried it with the X5.6 compiler and it compiled OK. So my guess is that it was a duplicate of the problem in 1225. -Kevin | |||||
| 1259.4 | Can I get the fix or X5.6 | STAR::SLEE | VMS Engineering | Thu Feb 06 1997 23:43 | 10 | 
|     re: .3
    
    Kevin,
    
    Can I get X5.6? Our nightly build needs to build a /DEBUG version for 
    developer to do debugging work. Is there a way for us to get X5.6?
    
    Any help will be much appreciated.
    
    -Steve
 | |||||
| 1259.5 | taken offline | CAIRN::HARRIS | Kevin Harris, dtn 381-2039 | Fri Feb 07 1997 10:26 | 0 | 
| 1259.6 | Fixed internal kit announced in note 3.44 | CXXC::REPETE | Rich Peterson 381-1802 ZKO2-3/N30 | Wed Feb 12 1997 10:43 | 0 | 
| 1259.7 | Going to TIMA, followups to DECC_BUGS 1225 | CXXC::REPETE | Rich Peterson 381-1802 ZKO2-3/N30 | Wed Mar 26 1997 19:26 | 10 | 
|          <<< TURRIS::DISK$NOTES_PACK:[NOTES$LIBRARY]DECC_BUGS.NOTE;1 >>>
                       -< DEC C Problem Reporting Forum >-
================================================================================
Note 1225.12           Crash, using V5.5-002, with /DEBUG               12 of 12
CXXC::REPETE "Rich Peterson 381-1802 ZKO2-3/N30"      3 lines  26-MAR-1997 14:03
                            -< It really is coming >-
--------------------------------------------------------------------------------
The kit and paperwork should be available for CSC review today.
Exactly how long it takes to get into TIMA after that is something
we don't really know.
 | |||||