Bosch Building Technologies

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    How To create BVMS memory dump

    Related Products: BVMS, application crash, memory dump

    This article lists the scenarios in which technical support normally request dump file from a BVMS system. It contains general guidelines how to create a dump file for BVMS system and provides links to more concrete articles, that correspond to particular issues and exact steps to create a dump.

    BVMS dumps are needed to troubleshoot the following types of issues:

    • Application crashes – dump is expected to provide more information about the cause of the crash and its origin.
    • Memory or handle leaks – dump is expected to point to their origins
    • Deadlocks, freezes and hangs – dump is expected to point to their origins

    Recommended tool to create BVMS dumps.

    The recommended tool is Procdump. It is a command line tool which must be started from the command shell. Development provides couple of .bat files that start Procdump with predefined parameters and cover the most common dump creation cases. The tool as well as the set of .bat files are attached to this article: BVMS_DumpTools_V2.zip

    The batch file names follow a naming guideline: <Executable>_<Dump use case> , where <Executable> is one of:

    • ConfigClient
    • ConfigWizard
    • OperatorClient
    • ManagementServer
    • ArchivePlayer
    • ExceptionTest

    and <Dump use case> is one of

    • SingleDump
    • TwoDumps
    • DumpOnException
    • DumpOnHang
    • ActivatePostmortemDebugging

    There are 3 possible error scenarios and corresponding dump creation methods:

    Dump creation for reproducible crashes that trigger Windows Error Reporting

    • Run the affected application/service (Operator Client, Configuration Client or Management Server Service)
    • Reproduce the steps that lead to the crash
    • Leave the Windows crash dialog open
    • Run the corresponding batch file for creating a single dump: *_SingleDump.bat. E.g. run OperatorClient_SingleDump.bat to create a single dump of the Operator Client process.
    • Provide support with
      • the resulting .dmp file
      • a description of the steps to reproduce the problem
      • ConfigCollection

    Note: attached you can find a configured example for this scenario and application Operator Client - BVMS_OC_dump_onException.zip

    Dump creation for reproducible memory or handle leaks

    • Run the affected application/service (Operator Client, Configuration Client or Management Server Service)
    • Run the corresponding batch file for creating two dumps: *_TwoDumps.bat. E.g. run OperatorClient_TwoDumps.bat to create two dumps of the Operator Client process.
    • Note that by default, the delay between the two dumps is set to one hour (3600 seconds).
    • Depending on the magnitude of the memory leak, you might want to increase/decrease the delay. To do that, edit file *_TwoDumps.bat: replace value "3600" by a value that fits your needs e.g. a value of "7200" will create two dumps with a delay of two hours.
    • Reproduce the steps that lead to the memory leak. Wait until the second dump was created.
    • Provide support with
      • the resulting two .dmp files
      • a description of the steps to reproduce the memory leak
      • a ConfigCollection

    Dump creation for crashes/hangs/freezes that are hard to reproduce

    • Deactivate the restarting option for Operator Client / Configuration Client:

    To deactivate the restarting option for Operator Client / Configuration Client: edit ..\Bosch\VMS\bin\ConfigClient.exe.config or ..\Bosch\VMS\bin\OperatorClient.exe.config.

    • Navigate to section <appSettings>
    • add a new entry <add key = "DisableExceptionHandling" value="TRUE" />.
    • Run ActivatePostmortemDebugging.bat
    • Run the affected application/service (Operator Client, Configuration Client or Management Server Service)

    • As soon as the issue appears, check whether the dump was created.

      • Provide support with

      • the resulting .dmp file

      • description of the steps to reproduce the crash

      • ConfigCollection

    Note: attached you can find a configured example for this scenario and application Operator Client - BVMS_OC_dump_Just-In-Time-Debuger.zip

    Version history
    Revision #:
    4 of 4
    Last update:
    3 weeks ago
    Updated by:
     
    Labels (2)
    Contributors
    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist