nagyist / vidnik

Automatically exported from code.google.com/p/vidnik
0 stars 0 forks source link

Crashes upon quitting #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Vidnik
2. Record something
3. Quit Vidnik, saving if asked

Crashes each time I try to quit.

Vidnik 0.12.0, Mac OS X 10.4.11

Crash log attached.

APE, do you think?

Original issue reported on code.google.com by keith.da...@gmail.com on 17 May 2008 at 2:12

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, the crash log tells the tale.

I was able to reproduce this, and fix it. The -[dealloc] of the model's 
representation of a movie was trying to 
remove itself from the undo history, which is "as designed" since you don't 
want to undo a change to the title 
of a movie that no longer exists.  However, the model-movie was being 
dealloc'ed because its owning 
document was dealloc'ed, and the owning document also owned the undo manager, 
and had already 
dealloc'ed it. An easy fix, but the bug only showed up on Tiger, and I'd done 
most of my undo/redo testing on 
Leopard.

The fix is already in the checked in souce code. It will be in the next 
official binary release of Vidnik,

Original comment by DavidPhi...@gmail.com on 21 May 2008 at 11:44