tcc.exe crash
I am having some problem with long command lines for TCC. I have read
the help documentation and believe I am nowhere near the internal TCC
limitations.
I run "TCC 12.11.69 Windows 7 [Version 6.1.7601]" (32 bit)
The following command line causes a crash. The quotes are intentional
(added by cygwin make). I have isolated the TCC command lines which
do not work, so that the fact that the problem was discovered in make
is not an issue here. Copy and paste of the commands in this report
will demonstrate the problem; the quotes are significant and my path to tcc.exe (E:\opt\JPSoft\TCMD12\) needs to be replicated for an exact match.
E:\opt\JPSoft\TCMD12\tcc.exe -c "e:\opt\Borland\BDS\3.0\Bin\dcc32.exe Sys\APCLI.pas -Ue:\opt\madshi\madCollection\madExcept\Delphi2005;e:\opt\madshi\madCollection\madBasic\Delphi2005;e:\opt\madshi\madCollection\madDisAsm\Delphi2005;Sys;Math;Graph;Tide;FPLoT;netcdf;.;.;e:/opt/Raize/RC4/Lib/Delphi2005;e:/opt/HiComponents/ImageEn/Delphi2005;e:/opt/Borland/BDS/3.0/Lib"
TCC reports the following error
TCC: (Sys) The system cannot find the path specified.
"\\?\E:\opt\Borland\BDS\3.0\Bin\dcc32.exe Sys\APCLI.pas -Ue"
The \\?\ prefix is interesting, as is the truncation at the first colon
of the -U option.
The corresponding Win7 error box problem details are as follows:
Problem signature:
Problem Event Name: BEX
Application Name: tcc.exe
Application Version: 12.1.1.69
Application Timestamp: 4df6bee6
Fault Module Name: StackHash_6a0c
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 00440042
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 3081
Additional Information 1: 6a0c
Additional Information 2: 6a0c2613e92241025843a173afe0a554
Additional Information 3: 4d4a
Additional Information 4: 4d4ac4ec642fc711bb32837b4c0df0fe
If I now modify the command line to be the following, TCC does not report
an error but still crashes with a Win7 error.
E:\opt\JPSoft\TCMD12\tcc.exe -c "e:\opt\Borland\BDS\3.0\Bin\dcc32.exe Sys\APCLI.pas -Ue:\opt\madshi\madCollection\madExcept\Delphi2005;e:\opt\madshi\madCollection\madBasic\Delphi2005;e:\opt\madshi\madCollection\madDisAsm\Delphi2005;Math;Graph;Tide;FPLoT;netcd;e:/opt/Raize/RC4/Lib/Delphi2005;e:/opt/HiComponents/ImageEn/Delphi2005;e:/opt/Borland/BDS/3.0"
Problem signature:
Problem Event Name: BEX
Application Name: tcc.exe
Application Version: 12.1.1.69
Application Timestamp: 4df6bee6
Fault Module Name: StackHash_2264
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 00000000
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 3081
Additional Information 1: 2264
Additional Information 2: 2264db07e74365624c50317d7b856ae9
Additional Information 3: 875f
Additional Information 4: 875fa2ef9d2bdca96466e8af55d1ae6e
If I delete just one random character from the second command line, the
command completes successfully.
This problem also exists under WinXP SP3.
This problem does *not* exist for 4NT 7.01.370, under either WinXP or Win7.
Regards, Arnstein.
I am having some problem with long command lines for TCC. I have read
the help documentation and believe I am nowhere near the internal TCC
limitations.
I run "TCC 12.11.69 Windows 7 [Version 6.1.7601]" (32 bit)
The following command line causes a crash. The quotes are intentional
(added by cygwin make). I have isolated the TCC command lines which
do not work, so that the fact that the problem was discovered in make
is not an issue here. Copy and paste of the commands in this report
will demonstrate the problem; the quotes are significant and my path to tcc.exe (E:\opt\JPSoft\TCMD12\) needs to be replicated for an exact match.
E:\opt\JPSoft\TCMD12\tcc.exe -c "e:\opt\Borland\BDS\3.0\Bin\dcc32.exe Sys\APCLI.pas -Ue:\opt\madshi\madCollection\madExcept\Delphi2005;e:\opt\madshi\madCollection\madBasic\Delphi2005;e:\opt\madshi\madCollection\madDisAsm\Delphi2005;Sys;Math;Graph;Tide;FPLoT;netcdf;.;.;e:/opt/Raize/RC4/Lib/Delphi2005;e:/opt/HiComponents/ImageEn/Delphi2005;e:/opt/Borland/BDS/3.0/Lib"
TCC reports the following error
TCC: (Sys) The system cannot find the path specified.
"\\?\E:\opt\Borland\BDS\3.0\Bin\dcc32.exe Sys\APCLI.pas -Ue"
The \\?\ prefix is interesting, as is the truncation at the first colon
of the -U option.
The corresponding Win7 error box problem details are as follows:
Problem signature:
Problem Event Name: BEX
Application Name: tcc.exe
Application Version: 12.1.1.69
Application Timestamp: 4df6bee6
Fault Module Name: StackHash_6a0c
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 00440042
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 3081
Additional Information 1: 6a0c
Additional Information 2: 6a0c2613e92241025843a173afe0a554
Additional Information 3: 4d4a
Additional Information 4: 4d4ac4ec642fc711bb32837b4c0df0fe
If I now modify the command line to be the following, TCC does not report
an error but still crashes with a Win7 error.
E:\opt\JPSoft\TCMD12\tcc.exe -c "e:\opt\Borland\BDS\3.0\Bin\dcc32.exe Sys\APCLI.pas -Ue:\opt\madshi\madCollection\madExcept\Delphi2005;e:\opt\madshi\madCollection\madBasic\Delphi2005;e:\opt\madshi\madCollection\madDisAsm\Delphi2005;Math;Graph;Tide;FPLoT;netcd;e:/opt/Raize/RC4/Lib/Delphi2005;e:/opt/HiComponents/ImageEn/Delphi2005;e:/opt/Borland/BDS/3.0"
Problem signature:
Problem Event Name: BEX
Application Name: tcc.exe
Application Version: 12.1.1.69
Application Timestamp: 4df6bee6
Fault Module Name: StackHash_2264
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 00000000
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 3081
Additional Information 1: 2264
Additional Information 2: 2264db07e74365624c50317d7b856ae9
Additional Information 3: 875f
Additional Information 4: 875fa2ef9d2bdca96466e8af55d1ae6e
If I delete just one random character from the second command line, the
command completes successfully.
This problem also exists under WinXP SP3.
This problem does *not* exist for 4NT 7.01.370, under either WinXP or Win7.
Regards, Arnstein.