Crash in DCC32 when compiling a package from the command line

Giganews Newsgroups
Subject:Crash in DCC32 when compiling a package from the command line
Posted by: Clayton Arends (nospam_claytonarends@hotmail.com)
Date:Thu, 30 Sep 2010

I have recently started having a problem compiling a third-party package
that I use in RS2009.  I am posting my problem here to see if anyone has any
ideas for how I might proceed figuring out the cause of my problem.

Here are the facts:
1. This package builds fine within the IDE
2. When built via msbuild there is a long delay until finally the following
message is written out:
  CodeGear.Delphi.Targets(123,3):
    error MSB6006: "dcc" exited with code -1073741819.
3. If I build the package with dcc32 (using the command line generated via
msbuild) then dcc32 crashes and the OS displays a "DCC32.EXE has stopped
working" dialog.

I recently merged in changes that the vendor had made.  I added two files to
the project that the vendor also added (I manage my own project file for the
package).  I merged in these changes more than a month ago.  I only now
noticed the problem when I started doing the automated builds for this code
branch.

Here's the really odd thing.  If I remove the two new files from the package
and build from the command-line then the build works.  The files are still
compiled by dcc32 (it outputs the following warning):
  Warning: W1033 Unit 'name' implicitly imported into package 'name'

So, I currently have a "working" solution but I'm not happy with it since I
don't like these sorts of fixes and who knows if this problem will come back
again in the future, or if bad code is being generated, etc.

Thank you for any suggestions,

Clayton

Replies