Scenario: Darwin crashes when opening a recording or switching layouts for a recording
Troubleshooting:
- Make a backup of the Darwin database: Open the Admin tool, switch to the backup tab and klick the "Backup recording database" button. Select a target folder (I recommend to create one on the desktop), leave the "raw data" checkbox unchecked and click OK. This is always a good idea as it is quick and you can always restore the original database - just in case you spoil something.
- Check if you are running the most recent official release version of Darwin. Maybe the bug has been fixed in the meantime.
- Check if the problem occurs for all recordings. Open a different recording and open the same screen layout that caused the crash on the other recording (you can import a test-recording from the installation CD).
- If the problem does NOT occur on the test-recording, then it's likely that the reference-recording is somehow damaged -> see "Repairing a recording".
- If the problem repeats then it's likely that the bug is somewhere in the Darwin configuration -> see "Fixing the system configuration"
Repairing a recording
- Open Darwin. In the database view, select the recording (set the checkbox on the left), click on "Export" and export the recording into DAW-format (this way you can always restore the recording the way it is now. Might be helpful for in-depth research of the problem)
- When back in the DB-View right-click the recording and select "Reset recording". This way all modifications (beat analysis + corrections, all exclusions, arrhythmia analysis settings) made after importing it will be removed.
- Open the recording. You will need to analyze it. Switch to the view that had problems so see if it's working now. If it works now, then the recording was somehow spoiled. If you invested already a lot of time into that recording and you NEED that work, you can send the DAW-file to us, we will try to find the problem and repair the recording for you.
Fixing the system configuration
If the steps above don't lead to a success we need to look at the systems configuration.
Changing the system configuration is critical as it affects all Darwin workstations that are connected to the current database. And you don't want to "play around" on a system that is in productive use. We recommend to investigate a problem on a test-PC and then come back with your findings and repair the productive system. If you don't have a test system at hand you can create a test database to play with. See "Creating a test database". If you are working on your test-system that does not hold critical data you can skip the first 2 steps and directly proceed to "Finding the evil setting".
First we will transfer the settings of the damaged system to our test system.
Get settings from "bad" system:
On "bad" system:
- Open the admin-tool
- Switch to the "Backup" tab. Click on the Settings / Backup button
- A window "backup settings" appears. All fields that are selectable have been changed for this system. Make sure all checkboxes are ticked, enter a filename for the backup file and press OK.
- Just to be sure: Export one recording that shows the problem into DAW-format
Feed "bad" settings into test system:
On test-system:
- Import a problematic recording (= a recording that shows the problem on the test system). It should work fine now as the test system still has standard settings. Otherwise continue with section "Repairing a recording".
- Open the Admin-Tool. Note down the path for the Raw data and the setting for license server on a piece of paper. You'll need that later.
- Switch to the "Backup" tab. Click on the Settings / Restore button
- A window "Restore settings" appears. Select the backup file you created before. Press OK.
- If the Admin-Tool closes, re-open it and enter the settings for the raw data path and the license server you noted down before.
- Open the problematic recording. The bug has to appear now on the test system. If not: Read instructions again. If you are sure you made everything correct contact us.
Finding the evil setting
- Open the Admin-Tool and switch to the "Setup" tab
- In the lower right corner click on "reset to factory defaults"
- A window opens and lets you select which part of the system configuration you want to reset. All fields that are selectable have been changed for this system. Fields of special interest for system stability are "Default arrhythmia settings" and even more the "In-depth customization".
- If you are in the mood for some adventure you can right-click on the entry "In depth customization" and select "show differences" from the popup menu. You will get a window listing all modifications in the general system configuration, but the list is very technical. However, we tried to make the value names as self-explanatory as possible. Looking at the values might help you locate the problematic configuration. If you find this view confusing just close it and continue with the next step.
- Select "In-depth customization" and press OK.
- Start the admin-Tool again and enter the license server setting that you noted down before. Press OK.
- Start Darwin and check if the problem is gone now.
- If the problem persists you can step-by-step reset the settings (arrhythmia settings, workflows...) to see which setting one is causing the misbehavior.
Bear in mind that you removed system customization that you might need to do again, so the system users again have "their" Darwin.
In any case please inform us about your findings so we can improve Darwin so that this problem doesn't show up again in the future. A guideline how to write a proper bug report can be found here.
Good luck! :)
Creating a test database
- Create a folder "C:\Test" (will hold the database) and in that folder a subfolder "Data". (you may chose a different location freely, it's just an example)
- Run the admin tool. When the password dialog appears, press Escape.
- ATTENTION: Note down the original database location and the License server address on a piece of paper. You will need that to revert to the original database later.
- Click the button in the right corner of the field "database name"
- In the upcoming window select "local database", enter "C:\Test\Evolution2.fdb" and press OK
- Confirm the "Do you want to create the database" question.
- Log into the admin tool.
- Enter "C:\Test\Data" into the Raw data path
- Enter the license server address that you noted down before.
- Press OK.
You can now start Darwin with a fresh database and do your tests. When you are finished, open the Admin Tool and change the database name back to the name that you noted down before.