Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-963

Erlang processes crash when running the delayed_commits test on Windows Server 2008

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.1
    • None
    • Infrastructure
    • None
    • This Windows box is a virtual machine
      Windows Server 2008 Standard without Hyper-V Service Pack 2 64-bit
      2 GB RAM
      2 Core Intel Xeon CPU @ 2.53GHz each

    Description

      The debugging I've done points to this being an erlsrv.exe bug. Here my steps to recreate.

      Install 1.0.1 CouchDB as a service using the Windows Binary Installer. I did not select to "Start service after installation".
      Edit the local.ini to set the logging level to "debug".
      Go to the service control panel and start the Apache CouchDB service.
      Go to Test Suite in Futon and run the "delayed_commits" test.

      After about 15 - 20 seconds go to the service control panel and refresh to see that the service is no longer running. ProcessExplorer verifies the erlsrv.exe and erl.exe processes are not running. The last message in the log is a _restart command that returns 200.

      When I run CouchDB using CouchDB.bat. The test completes without crashing.

      When I set the DebugType in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ericsson\Erlang\ErlSrv\1.1\Apache CouchDB to 1 (DEBUG_TYPE_NEW) to get a erlsrv.exe log, the test completes without crashing.

      I will attach the log files from CouchDB and erlsrv.exe.

      Attachments

        1. couch.log
          655 kB
          Terry Smith
        2. Apache CouchDB.debug.2
          120 kB
          Terry Smith
        3. dch_couch.log
          1.27 MB
          Dave Cottlehuber
        4. COUCHDB-963_workaround_and_improved_uninstall.patch
          2 kB
          Dave Cottlehuber
        5. couchdb_init_restart_OTP-9139_minimal.patch
          14 kB
          Dave Cottlehuber

        Activity

          People

            Unassigned Unassigned
            tsmith2010 Terry Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: