| On VAX VMS (same cluster) it gives the following error:
$CXX /assume=noheader_type_default/exceptions=nocleanup/noopt/debug -
/template_define bug.CXX
%CLI-F-TEXT, Compiler abort - virtual memory limits exceeded.
%SYSTEM-F-ABORT, abort
Bye --+--
Kay R. Fisher |
---------------O---------------
################################################################################
|
| With DEC C++ V5.5-017 on OpenVMS Alpha V6.2-1H3, we can compile the
code in the base note. However, trying to go one more level causes
problems:
#include <map>
template class map<int, double>;
template class map<int, map<int, double> >;
template class map<int, map<int, map<int, double> > >;
template class map<int, map<int, map<int, map<int, double> > > >;
$ CXX /assume=noheader_type_default/exceptions=nocleanup/noopt/debug -
/template_define bug.CXX
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual
address=6C61202C, PC=6C61202C, PS=0000001B
Improperly handled condition, image exit forced.
Signal arguments: Number = 00000005
Name = 0000000C
00010000
6C61202C
6C61202C
0000001B
Register dump:
R0 = 0000000000A96A60 R1 = 000000007ED6FBE9 R2 = 726961703C726F74
R3 = 692074736E6F633C R4 = 62756F64202C746E R5 = 3E203E203E20656C
R6 = 693C7373656C202C R7 = 6C61202C3E20746E R8 = 3C726F7461636F6C
R9 = 6E6F633C72696170 R10 = 202C746E69207473 R11 = 2C746E693C70616D
R12 = 0000000001674BF0 R13 = 0000000000000000 R14 = 0000000000491ED4
R15 = 000000007EE91DA0 R16 = 0000000000A98280 R17 = 00000000000000F7
R18 = 000000000000000F R19 = 0000000000000000 R20 = FFFFFFFFFFFFFFFB
R21 = 0000000000202926 R22 = 000000007F3608D0 R23 = 000000007ED6E3D0
R24 = 000000007ED6FBEB R25 = 0000000000000002 R26 = 61636F6C6C61202C
R27 = 0000000000202926 R28 = 0000000000000000 R29 = 2C656C62756F6420
SP = 000000007ED6F430 PC = 61636F6C6C61202C PS = 300000000000001B
|
| Re: .2 from Jeff Zeeb:
> I have logged this problem in our tracking database.
Any update? We're still getting the message:
%CLI-F-TEXT, Compiler abort - virtual memory limits exceeded.
%SYSTEM-F-ABORT, abort
on our VAX system (DEC C++ V5.5-017 on OpenVMS VAX V6.1), and a
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=6C61202C,
PC=6C61202C, PS=0000001B
on our Alpha (DEC C++ V5.5-017 on OpenVMS Alpha V6.2-1H3).
In both cases, the command line is:
cxx/assume=noheader_type_default/template_define bug
and the code is:
#include <map>
template class map<int, double>;
template class map<int, map<int, double> >;
template class map<int, map<int, map<int, double> > >;
template class map<int, map<int, map<int, map<int, double> > > >;
Is there a field-test version or a patch we could try out? This is
having an impact on our development.
-Michael
|