Re: help koffice: fix a test and report it here
Boudewijn Rempt <[email protected]>
| Newsgroups | gmane.comp.kde.devel.koffice |
|---|---|
| Organization | valdyas |
| Message-ID | <[email protected]> |
On Saturday 06 November 2010, Jos van den Oever wrote:
> To find, where in the code most crashes occur, have a look at the file
> backtraces.svg that can be found under 'Artifacts'. I have attached the latest
> one to this mail. I connects the code points leading to a crash in a nice
> graph. If the line is thicker, more files cause this crash.
I guess you compile with asserts enabled?
Looks like the biggest problems are here:
Axis.cpp
KDChartModel *newModel = dynamic_cast<KDChartModel*>( newDiagram->model() );
// FIXME: This causes a crash on unimplemented types. We should
// handle that in some other way.
Q_ASSERT( newModel );
And it also shows why those files crash: the chart model is unimplemented... Josim, Inge -- what would be the "other way" to handle that?
--
Boudewijn Rempt | http://www.valdyas.org
Ceterum censeo lapsum particulorum probae delendum esse