VirtualBox

Ignore:
Timestamp:
Jul 13, 2016 3:49:00 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108733
Message:

Main/server: add a BUILDID to the server similar to what we have in VBoxC to be able to identify core dumps generated from VBoxSVC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/xpcom/server.cpp

    r61714 r62222  
    743743        return RTMsgErrorExit(RTEXITCODE_FAILURE, "failed to open release log (%s, %Rrc)", szError, vrc);
    744744
     745    /* Set up a build identifier so that it can be seen from core dumps what
     746     * exact build was used to produce the core. Same as in Console::i_powerUpThread(). */
     747    static char saBuildID[48];
     748    RTStrPrintf(saBuildID, sizeof(saBuildID), "%s%s%s%s VirtualBox %s r%u %s%s%s%s",
     749                "BU", "IL", "DI", "D", RTBldCfgVersion(), RTBldCfgRevision(), "BU", "IL", "DI", "D");
     750
    745751    daemon_pipe_wr = PR_GetInheritedFD(VBOXSVC_STARTUP_PIPE_NAME);
    746752    RTEnvUnset("NSPR_INHERIT_FDS");
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette