[Clam-devel] Turnaround: progress dialog crash

Pawel Bartkiewicz tuuresairon at gmail.com
Wed Aug 13 05:14:46 PDT 2008


On 12/08/2008, David García Garzón <dgarcia at iua.upf.edu> wrote:
> Pawel, i know that is weird that increasing the progress bar make the app to
> crash but disabling it is not the solution. Some insight on the matter
> follows:

I know, but I disabled it to check if there are any other remaining bugs.

> So the good solution is to set the widgets data sources to 0 again, before
> computing the chords. This way, adding the progress dialog cancel button
> would be also safe.

Ok, I wanted to do it, but how? By freeing the widgets and creating new ones?

BTW, there's a crash in Network::~Network also, though I have no idea
why. Deleting
the TonalAnalysis results in a crash as well. They're not so
important, as the application crashes when closing, but I'd like to
fix them too. At least by making the TonalAnalysis "static" I reduced
the analysis time (at the expense of slightly longer app starting
time).

Pawel


More information about the clam-devel mailing list