Camtasia 9.0.5 crashes during startup / splash screen on Windows 10 x64 (10.0.15063)

  • 1
  • Problem
  • Updated 1 year ago
I have already opened a support ticket on this one (351012), as recommended here: https://support.techsmith.com/hc/en-us/articles/203730048-Camtasia-Windows-Crashes-Right-After-Splas...

Unfortunately, this completely stopped production of a few trailer videos I need to have ready today, so I'm looking for any advice on how to fix this. Camtasia 9 did work on this machine before, it only started crashing yesterday but I didn't have it open for a little while (a month or two), and there was one fairly big Windows update in the meantime, so this could very well be related.

The crash always happens while "Preparing Main Window", regardless of whether I try to open an existing project or create a new project (at first I thought it was a buggy project - but that's not the case).

When I open this in the Visual Studio 2015 debugger, it shows this:
An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: Set property 'System.Windows.FrameworkElement.Height' threw an exception.
Photo of jashan

jashan

  • 3 Posts
  • 1 Reply Like
  • frustrated

Posted 1 year ago

  • 1
Photo of Dave O'Rourke

Dave O'Rourke, Senior Software Engineer

  • 1417 Posts
  • 373 Reply Likes
Jashan,

First of all, sorry for the trouble.  That definitely should not happen.  From the information in your post, I can only make an educated guess.  It appears that we're trying to set the height of something in the UI, and it's failing in an unexpected way (exception is thrown).

One thing we've had some trouble with is the splitter that separates the timeline on the bottom of the UI from the preview, tools, and properties panel on the top.  We save the height of the timeline on app close, and we try to restore the timeline height on next run.  This normally works great, and the main window is restored to be just as you left it.  But I've seen a few cases when this doesn't work as expected.  I'm not 100% sure this is what's causing your crash, but it's a guess.

So let's try this:
1. Close Camtasia.
2. Run regedit.exe
3. Navigate to the TimelineHeight entry as shown in this screenshot.  Click on the TimelineHeight value on the right side, then hit the Delete key to delete it.


4. After pressing the Delete key, you'll get this scary warning (on Windows 10, or a similar prompt on other OS's).  In general, the warning gives good advice.  You shouldn't delete things from the registry at random.  But in this case, the value we're deleting will be regenerated on next run (assuming we get past the crash).  So it's OK to click Yes here.


5. Start Camtasia.  If we get past the crash, then I guessed correctly.  If not, then we'll need some crash diagnostics in order to diagnose and fix the issue.  Our TechSupport staff can help with this.

Again, I apologize for the trouble this has caused you.  Please let us know how it goes.
Photo of jashan

jashan

  • 3 Posts
  • 1 Reply Like
Thank you! TimelineHeight was not enough. The value was 297.33333, which is a little odd - but after deleting it and trying to start Camtasia again, it crashed at the exact same point. You were still spot on: Deleting all of Camtasia Studio / 9.0 (after making a backup ;-) ) did fix the issue. Not sure how much info I have lost, yet, but that's stuff I can certainly recover, if I need to. Much better than crashing on startup :-)
Photo of jashan

jashan

  • 3 Posts
  • 1 Reply Like
PS: I attached the backup of my registry in #351012 Camtasia Crashes on Startup - feel free to grab it if this helps debugging the issue. I also asked Jimmy B. who made a similar suggestion (he was just less specific ;-) ) to share that file with you. Good luck!
Photo of Dave O'Rourke

Dave O'Rourke, Senior Software Engineer

  • 1417 Posts
  • 373 Reply Likes
Ok, glad to hear you found a solution.  The registry info you provided may help as we look for a root cause.  Thanks for that.  If you can think of anything else that might have been a trigger, please do let us know.  It will be important for us to be able to reproduce the error in order to fix it.

You should be OK with the registry changes you made.  It's always a good idea to make a backup first, just in case.  Deleting the Camtasia Studio / 9.0 hive under HKEY_CURRENT_USER (not HKEY_LOCAL_MACHINE) while Camtasia is closed will basically reset you to a first-run state, meaning all of those values will be reset to factory defaults on the next run.  So you will lose any customization you've made in the preferences dialog, most-recently open projects, last used production settings, etc.  But I wouldn't expect any serious problems.

And just to clarify for others who may read this later... we never consider deleting things in the registry to be a "fix".  When we suggest that course of action, it's always as a troubleshooting step, or a workaround, intended to help get you unstuck.  It's best to be working with our TechSupport staff when performing steps like these.