On Sun, 13 Feb 2005 11:14:54 -0500, MenTaLguY <mental@...3...> wrote:
I wonder which SPDocument would be getting garbage-collected, though? Can you set a breakpoint in SPDocument::~SPDocument and check the uri?
When I open fill&stroke without loading any document (no crash), ~SPDocument is not called. When I do it after loading something, then _after_ I press ctrl+shift+f but before the crash, it destroys the empty document (uri == NULL, base == NULL, name == "New document 1") that was created on launch and then replaced by the loaded one. I don't know why this destroying happens not when the empty document is really killed, but when I run fill&stroke after that.
I won't be able to do any debugging until later today because right now I will roll back to yesterday's CVS in order to finish a design.