Freeze when canceling CImg based filters

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Freeze when canceling CImg based filters

Bugzilla from andi.clemens@gmx.net
Hi,

I sometimes get freezes when canceling a DImg filter, like _Inpainting_.
The progress bar stops moving, the UI is frozen, but _htop_ shows no CPU
usage. digiKam behaves like it is crashed (but it isn't).

Can you confirm this? It is not happening all the time, you might need to do
these tests more often.

Andi
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Freeze when canceling CImg based filters

Marcel Wiesweg
> Hi,
>
> I sometimes get freezes when canceling a DImg filter, like _Inpainting_.
> The progress bar stops moving, the UI is frozen, but _htop_ shows no CPU
> usage. digiKam behaves like it is crashed (but it isn't).
>
> Can you confirm this? It is not happening all the time, you might need to
>  do these tests more often.

Do you have a backtrace? If it's a deadlock, you should be able to attach gdb
and see which mutexes are responsible.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Freeze when canceling CImg based filters

Bugzilla from andi.clemens@gmx.net
No I don't have a backtrace, it is not crashing.
I need to kill digiKam with "killall -9 digikam", otherwise it is not
stoppable.

I'll try to attach cgdb to the running process and see if I can get some
information.

Andi

On Wednesday 04 November 2009 22:24:52 Marcel Wiesweg wrote:

> > Hi,
> >
> > I sometimes get freezes when canceling a DImg filter, like _Inpainting_.
> > The progress bar stops moving, the UI is frozen, but _htop_ shows no CPU
> > usage. digiKam behaves like it is crashed (but it isn't).
> >
> > Can you confirm this? It is not happening all the time, you might need to
> >  do these tests more often.
>
> Do you have a backtrace? If it's a deadlock, you should be able to attach
>  gdb and see which mutexes are responsible.
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Freeze when canceling CImg based filters

Gilles Caulier-4
sound like a problem with CImg.

David Tschumperlé, the CImg author has contacted me to port digiKam
code to new GMic framework which include now greystoration algorithm.
New CImg do not compile with digiKam due to lack greystoration code,
and will not be maintened in the future.

In GMic, a lots of code have been rewritten and sound like more
stable. I don't have yet found time to port code from digiKam

http://gmic.sourceforge.net/

Gilles

2009/11/4 Andi Clemens <[hidden email]>:

> No I don't have a backtrace, it is not crashing.
> I need to kill digiKam with "killall -9 digikam", otherwise it is not
> stoppable.
>
> I'll try to attach cgdb to the running process and see if I can get some
> information.
>
> Andi
>
> On Wednesday 04 November 2009 22:24:52 Marcel Wiesweg wrote:
>> > Hi,
>> >
>> > I sometimes get freezes when canceling a DImg filter, like _Inpainting_.
>> > The progress bar stops moving, the UI is frozen, but _htop_ shows no CPU
>> > usage. digiKam behaves like it is crashed (but it isn't).
>> >
>> > Can you confirm this? It is not happening all the time, you might need to
>> >  do these tests more often.
>>
>> Do you have a backtrace? If it's a deadlock, you should be able to attach
>>  gdb and see which mutexes are responsible.
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel