still crashing when closing files - HistoryPart ?
Daniel Franke
daniel.franke at imbs.uni-luebeck.de
Sat Sep 6 22:32:04 UTC 2003
> -----Original Message-----
> From: kdevelop-devel-admin at barney.cs.uni-potsdam.de
> [mailto:kdevelop-devel-admin at barney.cs.uni-potsdam.de]On Behalf Of
> Roberto Raggi
> Sent: Thursday, September 04, 2003 6:49 PM
> To: kdevelop-devel at kdevelop.org; Daniel Franke
> Subject: Re: still crashing when closing files
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Daniel,
> please, can you post the backtrace?
>
Roberto,
after updating CVS today, I traced this crash myself for a while ...
I found, when commenting out lines 311-313 in parts/history/historypart.cpp
(HistoryPart::partRemoved())
--
311 for( ; it.current(); ++it)
312 if(it.current()->m_part == part)
313 m_history.remove(it.current());
--
gideon does not crash. This is only 4 steps up the crash point. I'm not
involved enough to trace it any further ... and time is too short to really
get involved :(
BTW, it seems unlikely, but:
* when opening/closing a file using the menu, the backtraces
are reliable equivalent
* opening using the shortcut [Ctrl+O] respectivly [Ctrl+W] when closing
backtraces vary
I even had times when HistoryPart::m_history was _empty_, the file then
could be closed (when using shortcuts only), gideon was still alive.
Does this tell anybody anything?
regards
Daniel
More information about the KDevelop-devel
mailing list