Bug#45265: closing terminal emulation crashes konqueror

Waldo Bastian bastian at kde.org
Wed Jul 17 18:58:45 BST 2002


On Wednesday 17 July 2002 01:59 am, David Faure wrote:
> > Not sure if that is the right fix. Problem is that setActivePart(foo)
> > crashes when the old d->m_activePart has been deleted already.
>
> But... the old part hasn't been completely destroyed yet, has it?
> This should be called from the ~Part destructor, so the object still
> exists as a Part, i.e. calling widget() on it should be ok. Where
> does it crash exactly?

It crashes on the disconnect call. But I now see that I misread the backtrace. 
The real problem was that the ~Part was being deleted twice, but that was due 
to some change I tried in konsole. It now works just fine with your original 
fix and a fix to konsole. I will commit.

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com





More information about the kfm-devel mailing list