Bug 272623 - KPhotoAlbum blows up while retrieving albums from PIcasa
Summary: KPhotoAlbum blows up while retrieving albums from PIcasa
Status: RESOLVED FIXED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
: 301579 307668 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-06 14:58 UTC by Darryl L. Pierce
Modified: 2012-10-01 12:37 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Import dialog does not allow setting the Destination path (11.24 KB, image/png)
2012-03-03 06:30 UTC, Miika Turkia
Details
PicasaWeb Import tool running under digiKam (371.63 KB, image/png)
2012-03-03 09:19 UTC, caulier.gilles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darryl L. Pierce 2011-05-06 14:58:21 UTC
Application: kphotoalbum (4.1.1)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.35.12-90.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
- What I was doing when the application crashed:

1. Select Plugins->Import->Import From Picasa Web
2. Enter authentication information
3. Select a web album to retrieve
4. Click to continue

Expected: Pictures to be retrieved.
Actual: KPhotoAlbum crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f4d61a968c0 (LWP 5678))]

Thread 2 (Thread 0x7f4d4c7c7700 (LWP 5684)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000381ee7457b in wait (this=<value optimized out>, mutex=0x1467bb8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1467bb8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f4d56030f24 in KIPIPlugins::LoadRawThumbThread::run (this=0x141f9b0) at /usr/src/debug/kipi-plugins-1.9.0/common/libkipiplugins/dialogs/imagedialog.cpp:537
#4  0x000000381ee73e95 in QThreadPrivate::start (arg=0x141f9b0) at thread/qthread_unix.cpp:320
#5  0x00000034df606ccb in start_thread (arg=0x7f4d4c7c7700) at pthread_create.c:301
#6  0x00000034deee0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f4d61a968c0 (LWP 5678)):
[KCrash Handler]
#6  KIPIPicasawebExportPlugin::PicasawebWidget::getDestinationPath (this=<value optimized out>) at /usr/src/debug/kipi-plugins-1.9.0/picasawebexport/picasawebwidget.cpp:269
#7  0x00007f4d4deb3ce7 in KIPIPicasawebExportPlugin::PicasawebWindow::slotGetPhotoDone (this=0x131c2d0, errCode=<value optimized out>, errMsg=..., photoData=<value optimized out>) at /usr/src/debug/kipi-plugins-1.9.0/picasawebexport/picasawebwindow.cpp:877
#8  0x00007f4d4deb78a2 in KIPIPicasawebExportPlugin::PicasawebWindow::qt_metacall (this=0x131c2d0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff73eb28f0) at /usr/src/debug/kipi-plugins-1.9.0/x86_64-redhat-linux-gnu/picasawebexport/picasawebwindow.moc:112
#9  0x000000381ef71acf in QMetaObject::activate (sender=0x149be60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff73eb28f0) at kernel/qobject.cpp:3278
#10 0x00007f4d4dea529b in KIPIPicasawebExportPlugin::PicasawebTalker::signalGetPhotoDone (this=<value optimized out>, _t1=0, _t2=<value optimized out>, _t3=<value optimized out>) at /usr/src/debug/kipi-plugins-1.9.0/x86_64-redhat-linux-gnu/picasawebexport/picasawebtalker.moc:183
#11 0x00007f4d4deacd95 in KIPIPicasawebExportPlugin::PicasawebTalker::slotResult (this=0x149be60, job=0x16f1250) at /usr/src/debug/kipi-plugins-1.9.0/picasawebexport/picasawebtalker.cpp:670
#12 0x00007f4d4deae2f3 in KIPIPicasawebExportPlugin::PicasawebTalker::qt_metacall (this=0x149be60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff73eb2ad0) at /usr/src/debug/kipi-plugins-1.9.0/x86_64-redhat-linux-gnu/picasawebexport/picasawebtalker.moc:115
#13 0x000000381ef71acf in QMetaObject::activate (sender=0x16f1250, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff73eb2ad0) at kernel/qobject.cpp:3278
#14 0x00007f4d645092d2 in KJob::result (this=<value optimized out>, _t1=0x16f1250) at /usr/src/debug/kdelibs-4.6.2/x86_64-redhat-linux-gnu/kdecore/kjob.moc:194
#15 0x00007f4d64509310 in KJob::emitResult (this=0x16f1250) at /usr/src/debug/kdelibs-4.6.2/kdecore/jobs/kjob.cpp:312
#16 0x00007f4d65ea331d in KIO::SimpleJob::slotFinished (this=0x16f1250) at /usr/src/debug/kdelibs-4.6.2/kio/kio/job.cpp:525
#17 0x00007f4d65ea8882 in KIO::TransferJob::slotFinished (this=0x16f1250) at /usr/src/debug/kdelibs-4.6.2/kio/kio/job.cpp:1118
#18 0x00007f4d65eacf61 in KIO::TransferJob::qt_metacall (this=0x16f1250, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff73eb2f20) at /usr/src/debug/kdelibs-4.6.2/x86_64-redhat-linux-gnu/kio/jobclasses.moc:367
#19 0x000000381ef71acf in QMetaObject::activate (sender=0x13262c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#20 0x00007f4d65f4ca11 in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.6.2/kio/kio/slaveinterface.cpp:173
#21 0x00007f4d65f49943 in KIO::SlaveInterface::dispatch (this=<value optimized out>) at /usr/src/debug/kdelibs-4.6.2/kio/kio/slaveinterface.cpp:89
#22 0x00007f4d65f3d0e6 in KIO::Slave::gotInput (this=0x13262c0) at /usr/src/debug/kdelibs-4.6.2/kio/kio/slave.cpp:348
#23 0x00007f4d65f3d6fc in KIO::Slave::qt_metacall (this=0x13262c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff73eb3370) at /usr/src/debug/kdelibs-4.6.2/x86_64-redhat-linux-gnu/kio/slave.moc:82
#24 0x000000381ef71acf in QMetaObject::activate (sender=0x1361480, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#25 0x00007f4d65e746b7 in KIO::ConnectionPrivate::dequeue (this=0x14bdd80) at /usr/src/debug/kdelibs-4.6.2/kio/kio/connection.cpp:82
#26 0x00007f4d65e7476d in KIO::Connection::qt_metacall (this=0x1361480, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x16ec4f0) at /usr/src/debug/kdelibs-4.6.2/x86_64-redhat-linux-gnu/kio/connection.moc:79
#27 0x000000381ef715ca in QObject::event (this=0x1361480, e=<value optimized out>) at kernel/qobject.cpp:1217
#28 0x000000381fdb7cd4 in QApplicationPrivate::notify_helper (this=0xd3cb00, receiver=0x1361480, e=0x14d1c20) at kernel/qapplication.cpp:4462
#29 0x000000381fdbc88a in QApplication::notify (this=<value optimized out>, receiver=0x1361480, e=0x14d1c20) at kernel/qapplication.cpp:4341
#30 0x00007f4d64ae6f96 in KApplication::notify (this=0x7fff73eb3e50, receiver=0x1361480, event=0x14d1c20) at /usr/src/debug/kdelibs-4.6.2/kdeui/kernel/kapplication.cpp:311
#31 0x000000381ef5d19c in QCoreApplication::notifyInternal (this=0x7fff73eb3e50, receiver=0x1361480, event=0x14d1c20) at kernel/qcoreapplication.cpp:731
#32 0x000000381ef60985 in sendEvent (receiver=0x0, event_type=0, data=0xcfb600) at kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xcfb600) at kernel/qcoreapplication.cpp:1372
#34 0x000000381ef881b3 in sendPostedEvents (s=0xd41b20) at kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=0xd41b20) at kernel/qeventdispatcher_glib.cpp:277
#36 0x00000034e0e41e33 in g_main_dispatch (context=0xd40d20) at gmain.c:2149
#37 g_main_context_dispatch (context=0xd40d20) at gmain.c:2702
#38 0x00000034e0e42610 in g_main_context_iterate (context=0xd40d20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#39 0x00000034e0e428ad in g_main_context_iteration (context=0xd40d20, may_block=1) at gmain.c:2843
#40 0x000000381ef8834f in QEventDispatcherGlib::processEvents (this=0xcfade0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#41 0x000000381fe5d35e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#42 0x000000381ef5c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x000000381ef5c77c in QEventLoop::exec (this=0x7fff73eb3da0, flags=...) at kernel/qeventloop.cpp:201
#44 0x000000381ef60c3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#45 0x000000000043ef71 in main (argc=1, argv=0x7fff73eb4578) at /usr/src/debug/kphotoalbum-4.1.1/main.cpp:86

Reported using DrKonqi
Comment 1 caulier.gilles 2011-11-03 12:44:30 UTC
kipi-plugins 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 2 caulier.gilles 2011-12-20 10:35:06 UTC
Darryl,

This file still valid using kipi-plugins 2.4 ?

Gilles Caulier
Comment 3 Miika Turkia 2012-03-03 06:30:36 UTC
Created attachment 69250 [details]
Import dialog does not allow setting the Destination path

When trying to import images from Picasaweb the plugin does not allow setting the destination path. This leads to crash on PicasawebWidget::getDestinationPath.
Comment 4 Miika Turkia 2012-03-03 06:32:47 UTC
The above attachment was from the current git version. So the bug is still present.
Comment 5 caulier.gilles 2012-03-03 09:19:12 UTC
Created attachment 69253 [details]
PicasaWeb Import tool running under digiKam

The widget dedicated to show uploaded path is re-implemented into KPhotoalbum KIPI interface. It sound like this re-implementation is not functionnal or bugous. This is not a roblem from the plugin. Look dialog content running through digiKam, which re-implement this widget properly...

Gilles Caulier
Comment 6 Miika Turkia 2012-03-03 16:51:05 UTC
Seems that in KPhotoAlbum we only have a dummy function for the uploadWidget with a comment TODO. If someone is willing to implement it, it can be found from  Plugins/Interface.cpp.
Comment 7 Miika Turkia 2012-06-20 04:21:46 UTC
*** Bug 301579 has been marked as a duplicate of this bug. ***
Comment 8 Jesper Pedersen 2012-08-30 19:02:27 UTC
uploadWidget interface implemented.
Comment 9 Jekyll Wu 2012-10-01 12:37:24 UTC
*** Bug 307668 has been marked as a duplicate of this bug. ***