Bug 269106

Summary: Host application crashes if the currently uploading item is removed from the export list.
Product: [Applications] digikam Reporter: Akarsh Simha <akarsh.simha>
Component: Plugin-WebService-GoogleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, farhand98, myriam, sheldonl
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0
Sentry Crash Report:
Attachments: Backtrace.

Description Akarsh Simha 2011-03-22 06:58:18 UTC
Created attachment 58241 [details]
Backtrace.

Version:           1.2.0 (using KDE 4.4.5) 
OS:                Linux

If I try to remove the photo that is currently uploading from the export list (either by hitting clear list or hitting the "-" button), the application crashes.

Reproducible: Always

Steps to Reproduce:
Select an item. Export it to some service. (I tried Picasa and Facebook, it crashed on those two). While it is still in the process of uploading, remove it from the list either using the "-" button or the clear list button.

Actual Results:  
The application crashed.

Expected Results:  
IMO, the buttons must be disabled when the currently uploading item is selected.

I'm attaching a backtrace generated by KCrashHandler.
Comment 1 caulier.gilles 2011-03-22 09:03:45 UTC
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0xb539faca in QPixmap::paintEngine() const () from /usr/lib/libQtGui.so.4
#8  0xb541a6ae in QPainter::begin(QPaintDevice*) () from /usr/lib/libQtGui.so.4
#9  0xb541b028 in QPainter::QPainter(QPaintDevice*) () from /usr/lib/libQtGui.so.4
#10 0xa8099155 in KIPIPlugins::ImagesListViewItem::setProgressAnimation(QPixmap const&) () from /usr/lib/libkipiplugins.so.1
#11 0xa8099349 in KIPIPlugins::ImagesList::slotProgressTimerDone() () from /usr/lib/libkipiplugins.so.1
#12 0xa809957b in KIPIPlugins::ImagesList::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkipiplugins.so.1

==> please update to last kipi-plugins 1.9.0 and try again...

Gilles Caulier
Comment 2 caulier.gilles 2011-11-03 12:44:27 UTC
kipi-plugins 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 3 Farhan 2011-12-06 16:00:33 UTC
As of kipi-plugins 2.3.0, this bug has been (partially) fixed.

On removing the picture using - while it is still uploading, the picture is removed and digikam continues and finishes the upload.

As for the expected results, when i upload multiple images, if I may suddenly want to remove a few pictures. So I would like the remove button to stay.

Currently, even I remove one picture out of many, it still stays in the upload queue and gets uploaded.
Comment 4 caulier.gilles 2011-12-20 10:30:26 UTC
Akarsh,

The crash still here using 2.4 or it have disappear ?

Gilles Caulier
Comment 5 caulier.gilles 2012-02-09 09:58:17 UTC
It stil valid using 2.5.0 release ?

Gilles Caulier
Comment 6 caulier.gilles 2012-06-22 08:56:10 UTC
Official Kipi-plugins 2.6.0 release is out since few days now :

http://www.digikam.org/drupal/node/656

Please, check if this entry still valid, or update report accordingly.

Thanks in advance.

Gilles Caulier
Comment 7 caulier.gilles 2013-12-23 14:12:53 UTC
We needs fresh feedback here please...

Gilles Caulier
Comment 8 caulier.gilles 2015-06-28 10:02:00 UTC
New Kipiplugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 9 caulier.gilles 2015-08-23 14:33:30 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.
Comment 10 caulier.gilles 2016-07-02 16:15:13 UTC
With digiKam 5.0.0, this problem is not reproducible.
Gilles Caulier