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

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



    • 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


      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.


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



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