[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: help koffice: fix a test and report it here
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2010-11-06 15:59:23
Message-ID: 201011061659.24000.boud () valdyas ! org
[Download RAW message or body]
On Saturday 06 November 2010, Inge Wallin wrote:
> On Saturday, November 06, 2010 14:22:36 Boudewijn Rempt wrote:
> > 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?
>
> I see two ways to handle it:
> - Show some other type of chart.
> - Show a gray area and maybe some text "unhandled char type"
>
> Any of these would be acceptable, while a crash is of course not. Which chart
> type are there that cause crashes? I thought that Johannes, Björn and
> Sebsauer had implemented all types now.
You can see which documents cause the crash in Jos' svg chart; and all those \
documents are in the kofficetests repo. I didn't check them all to see which chart \
they contains.
--
Boudewijn Rempt | http://www.valdyas.org
Ceterum censeo lapsum particulorum probae delendum esse
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic