Access Violations errors can have many causes. I am going to give you a list of things to try and rule out the issue, after you have restarted your computer.
In RootsMagic go to File>Database Tools and run all options there in consecutive order. If any issues are found run them a second time. Check if that resolved the error.
Run your anti-virus software program. Do a full scan. Windows 7 or later versions will have Windows Defender installed and should run that. If you don't have an anti-virus program then download Microsoft Security Essentials (free).
Download and install CCleaner (free) and run both the Cleaner and Registry tools. You do want it to fix the registry problems. When given the option to save a restore point please do so, just in case you need it. You can download CCleaner from here - https://www.ccleaner.com/ccleaner/download
Download and install Malwarebytes (free) and do a full scan of your computer. You will want to remove any bugs found. You can download Malwarebytes from here - https://www.malwarebytes.com/mwb-download/
There is no need to purchase the full version of CCleaner or Malwarebytes. The free versions will work just fine.
After doing that shut down your computer and restart it. Then open RootsMagic and see if the issues have been resolved.
Please note that its best to disconnect from the internet when you run your anti-virus and anti-malware programs. That is because these bugs are getting very sophisticated and "call" home when you try to remove them.