Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1363

Parallel build error on windows debug build: C:\src\mongo\mongod.pdb : fatal error LNK1212: error opening program database; file is in use

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.5
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Visual Studio 2008/2010
    • Operating System:
      ALL

      Description

      My machine has 8 gigs of ram and 4 hyperthreaded codes (8 CPU as far as the OS is concerned) so I build with scons -j8 to peg them all and get the fastest build output. When I need to do something cpu I use -j7 so my system remains responsive.

      Full buildlog attached, and I will be doing some further investigation. At the risk of sounding like a broken record I'm new to python so I stumble over stupid stuff a lot.

      Theories I have to resolve this problem:

      1. Use a phony SideEffect() on everything that invokes lib.exe and linker.exe with mongo.pdb so they don't build in parallel
      2. All symbols for all exevcutables seem to be going to one symbol database: env.Append( CPPFLAGS=' /Fd"mongod.pdb" ' )
      This should be changes to one pdb per assembly
      3.Stop using the PDB construction variable and embed debug symbols directly in the executable.

        Attachments

          Activity

            People

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            zippy1981 Justin Dearing
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: