Bug 307689 - Crashes during Export to Rajce service [patch]
Summary: Crashes during Export to Rajce service [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Rajce (show other bugs)
Version: 2.9.0
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-01 21:39 UTC by Ctibor Brančík
Modified: 2018-01-30 21:26 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.0.0
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (9.70 KB, text/plain)
2013-09-16 18:04 UTC, datamason
Details
New crash information added by DrKonqi (7.11 KB, text/plain)
2013-09-27 10:09 UTC, peca
Details
New crash information added by DrKonqi (11.33 KB, text/plain)
2014-05-04 20:42 UTC, peca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ctibor Brančík 2012-10-01 21:39:54 UTC
Application: digikam (2.9.0)
KDE Platform Version: 4.9.1
Qt Version: 4.8.2
Operating System: Linux 3.4.2-pf x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed: I selected photos from my album and exported them with Rajce plugin. I added new album and begun exporting my photos. After all photos were uploaded, digikam crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0357f36800 (LWP 23213))]

Thread 6 (Thread 0x7f033641d700 (LWP 23214)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f035224ceb3 in wait (time=18446744073709551615, this=0x1727ba0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1727a98, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e0cf8 in Digikam::ScanController::run (this=0x1727830) at /var/tmp/portage/media-gfx/digikam-2.9.0/work/digikam-2.9.0/core/digikam/database/scancontroller.cpp:698
#4  0x00007f035224c027 in QThreadPrivate::start (arg=0x1727830) at thread/qthread_unix.cpp:307
#5  0x00007f034f80e006 in start_thread (arg=0x7f033641d700) at pthread_create.c:305
#6  0x00007f035146e62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f0335c1c700 (LWP 23215)):
#0  0x00007f0351465953 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f034a0d6d0e in g_main_context_poll (n_fds=1, fds=0x7f0328002a00, timeout=-1, context=0x7f03280009a0, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f03280009a0, self=<optimized out>) at gmain.c:3141
#3  g_main_context_iterate (context=0x7f03280009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3083
#4  0x00007f034a0d6e2c in g_main_context_iteration (context=0x7f03280009a0, may_block=1) at gmain.c:3207
#5  0x00007f035237c3b6 in QEventDispatcherGlib::processEvents (this=0x7f03280008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f035234bdf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f035234c0e5 in QEventLoop::exec (this=0x7f0335c1bd40, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0352249948 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f035232ac00 in QInotifyFileSystemWatcherEngine::run (this=0x172ad70) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f035224c027 in QThreadPrivate::start (arg=0x172ad70) at thread/qthread_unix.cpp:307
#11 0x00007f034f80e006 in start_thread (arg=0x7f0335c1c700) at pthread_create.c:305
#12 0x00007f035146e62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f033541b700 (LWP 23221)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f035224ceb3 in wait (time=18446744073709551615, this=0x1a2bc50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1894278, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f035576da79 in Digikam::ParkingThread::run (this=0x1894260) at /var/tmp/portage/media-gfx/digikam-2.9.0/work/digikam-2.9.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f035224c027 in QThreadPrivate::start (arg=0x1894260) at thread/qthread_unix.cpp:307
#5  0x00007f034f80e006 in start_thread (arg=0x7f033541b700) at pthread_create.c:305
#6  0x00007f035146e62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f0324b3e700 (LWP 23224)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f032699909d in LoopRequest (p_playlist=0x20aea48) at playlist/thread.c:537
#2  Thread (data=0x20aea48) at playlist/thread.c:584
#3  0x00007f034f80e006 in start_thread (arg=0x7f0324b3e700) at pthread_create.c:305
#4  0x00007f035146e62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f0319da7700 (LWP 23248)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f035224ceb3 in wait (time=18446744073709551615, this=0x5d56a40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5d55bb8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f031f32ced4 in KIPIPlugins::KPRawThumbThread::run (this=0x5d56040) at /var/tmp/portage/media-plugins/kipi-plugins-2.9.0/work/digikam-2.9.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:107
#4  0x00007f035224c027 in QThreadPrivate::start (arg=0x5d56040) at thread/qthread_unix.cpp:307
#5  0x00007f034f80e006 in start_thread (arg=0x7f0319da7700) at pthread_create.c:305
#6  0x00007f035146e62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f0357f36800 (LWP 23213)):
[KCrash Handler]
#6  ref (this=0x30) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QString (other=..., this=0x7fff29c57950) at ../../include/QtCore/../../src/corelib/tools/qstring.h:726
#8  QDir::fromNativeSeparators (pathName=...) at io/qdir.cpp:854
#9  0x00007f035230073e in QUrl::fromLocalFile (localFile=...) at io/qurl.cpp:6130
#10 0x00007f031fbee3ac in KIPIRajceExportPlugin::RajceWidget::uploadNext (this=0x5d433a0) at /var/tmp/portage/media-plugins/kipi-plugins-2.9.0/work/digikam-2.9.0/extra/kipi-plugins/rajceexport/rajcewidget.cpp:509
#11 0x00007f0352362ae2 in QMetaObject::activate (sender=0x5d436f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff29c57b60) at kernel/qobject.cpp:3547
#12 0x00007f031fbe4df1 in KIPIRajceExportPlugin::RajceSession::busyFinished (this=<optimized out>, _t1=6) at /var/tmp/portage/media-plugins/kipi-plugins-2.9.0/work/kipi-plugins-2.9.0_build/rajceexport/rajcesession.moc:122
#13 0x00007f031fbe78a7 in KIPIRajceExportPlugin::RajceSession::finished (this=0x5d436f0) at /var/tmp/portage/media-plugins/kipi-plugins-2.9.0/work/digikam-2.9.0/extra/kipi-plugins/rajceexport/rajcesession.cpp:780
#14 0x00007f0352362ae2 in QMetaObject::activate (sender=0x612f6e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff29c57da0) at kernel/qobject.cpp:3547
#15 0x00007f03527fd072 in KJob::result (this=<optimized out>, _t1=0x612f6e0) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1_build/kdecore/kjob.moc:208
#16 0x00007f03527fd0b0 in KJob::emitResult (this=0x612f6e0) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/jobs/kjob.cpp:318
#17 0x00007f035429e134 in KIO::SimpleJob::slotFinished (this=0x612f6e0) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kio/kio/job.cpp:494
#18 0x00007f03542a5a6c in KIO::TransferJob::slotFinished (this=0x612f6e0) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kio/kio/job.cpp:1081
#19 0x00007f0352362ae2 in QMetaObject::activate (sender=0x5faf1a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#20 0x00007f035434ce61 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kio/kio/slaveinterface.cpp:172
#21 0x00007f0354349b44 in KIO::SlaveInterface::dispatch (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kio/kio/slaveinterface.cpp:88
#22 0x00007f035433cf2e in KIO::Slave::gotInput (this=0x5faf1a0) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kio/kio/slave.cpp:344
#23 0x00007f0352362ae2 in QMetaObject::activate (sender=0x5fa8f90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#24 0x00007f035426e585 in dequeue (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kio/kio/connection.cpp:82
#25 KIO::ConnectionPrivate::dequeue (this=0x5f7b470) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kio/kio/connection.cpp:71
#26 0x00007f0352361ede in QObject::event (this=0x5fa8f90, e=<optimized out>) at kernel/qobject.cpp:1195
#27 0x00007f0352d87e1c in QApplicationPrivate::notify_helper (this=0x15fba40, receiver=0x5fa8f90, e=0x6162860) at kernel/qapplication.cpp:4551
#28 0x00007f0352d8c8ef in QApplication::notify (this=<optimized out>, receiver=0x5fa8f90, e=0x6162860) at kernel/qapplication.cpp:4412
#29 0x00007f0353b08688 in KApplication::notify (this=0x7fff29c59200, receiver=0x5fa8f90, event=0x6162860) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdeui/kernel/kapplication.cpp:311
#30 0x00007f035234d10b in QCoreApplication::notifyInternal (this=0x7fff29c59200, receiver=0x5fa8f90, event=0x6162860) at kernel/qcoreapplication.cpp:915
#31 0x00007f0352350707 in sendEvent (event=0x6162860, receiver=0x5fa8f90) at kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x159a570) at kernel/qcoreapplication.cpp:1539
#33 0x00007f035237c213 in sendPostedEvents () at kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#35 0x00007f034a0d6a32 in g_main_dispatch (context=0x15faac0) at gmain.c:2539
#36 g_main_context_dispatch (context=0x15faac0) at gmain.c:3075
#37 0x00007f034a0d6d75 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x15faac0, self=<optimized out>) at gmain.c:3146
#38 g_main_context_iterate (context=0x15faac0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3083
#39 0x00007f034a0d6e2c in g_main_context_iteration (context=0x15faac0, may_block=1) at gmain.c:3207
#40 0x00007f035237c37a in QEventDispatcherGlib::processEvents (this=0x159be80, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#41 0x00007f0352e2de46 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f035234bdf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f035234c0e5 in QEventLoop::exec (this=0x7fff29c59070, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f0352350b9b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#45 0x00000000004965ab in main (argc=1, argv=<optimized out>) at /var/tmp/portage/media-gfx/digikam-2.9.0/work/digikam-2.9.0/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 Jiri Slaby 2013-08-15 07:34:36 UTC
There are two dups: bug 322557 and bug 312540.
Comment 2 caulier.gilles 2013-08-15 08:47:46 UTC
*** Bug 312540 has been marked as a duplicate of this bug. ***
Comment 3 caulier.gilles 2013-08-15 08:48:14 UTC
*** Bug 322557 has been marked as a duplicate of this bug. ***
Comment 4 Jiri Slaby 2013-08-15 12:00:18 UTC
http://git.reviewboard.kde.org/r/112098/
Comment 5 datamason 2013-09-16 18:04:46 UTC
Created attachment 82342 [details]
New crash information added by DrKonqi

digikam (2.8.0) on KDE Platform 4.9.5 using Qt 4.8.3

No export to racjet, just closed dialogue.

-- Backtrace (Reduced):
#6  QString (other=..., this=0x7ffff1e22c20) at ../../include/QtCore/../../src/corelib/tools/qstring.h:725
#7  QDir::fromNativeSeparators (pathName=...) at io/qdir.cpp:854
#8  0x00007f2551fbc467 in QUrl::fromLocalFile (localFile=...) at io/qurl.cpp:6257
#9  0x00007f250d13a0b0 in KIPIRajceExportPlugin::RajceWidget::cancelUpload() () from /usr/lib/kde4/kipiplugin_rajceexport.so
#10 0x00007f250d13d1f0 in KIPIRajceExportPlugin::RajceWindow::slotClose() () from /usr/lib/kde4/kipiplugin_rajceexport.so
Comment 6 peca 2013-09-27 10:09:31 UTC
Created attachment 82514 [details]
New crash information added by DrKonqi

gwenview (2.8.5) on KDE Platform 4.8.5 (4.8.5) "release 2" using Qt 4.8.1

I am uploading photos to rajce.net. After photos upload gwenview crasched.

-- Backtrace (Reduced):
#7  QString (other=..., this=0x7ffff09e3410) at ../../src/corelib/tools/qstring.h:726
#8  QDir::fromNativeSeparators (pathName=...) at io/qdir.cpp:854
#9  0x00007f37647b8cc0 in QUrl::fromLocalFile (localFile=...) at io/qurl.cpp:6131
#10 0x00007f3745692b08 in KIPIRajceExportPlugin::RajceWidget::uploadNext (this=0x3d27450) at /usr/src/debug/digikam-2.6.0/extra/kipi-plugins/rajceexport/rajcewidget.cpp:509
[...]
#12 0x00007f374568b241 in KIPIRajceExportPlugin::RajceSession::busyFinished (this=this@entry=0x3d27810, _t1=_t1@entry=6) at /usr/src/debug/digikam-2.6.0/build/extra/kipi-plugins/rajceexport/rajcesession.moc:122
Comment 7 caulier.gilles 2013-10-28 09:19:47 UTC
Git commit 99519a7c34a6ca229b77a20d97c99c6e9fcab907 by Gilles Caulier.
Committed on 28/10/2013 at 09:16.
Pushed by cgilles into branch 'master'.

apply patch from Jiri Slaby to prevent RajceExport tool crash at dialog init.
REVIEW: 112098
FIXED-IN: 4.0.0

M  +5    -4    rajceexport/rajcewidget.cpp

http://commits.kde.org/kipi-plugins/99519a7c34a6ca229b77a20d97c99c6e9fcab907
Comment 8 peca 2014-05-04 20:42:38 UTC
Created attachment 86458 [details]
New crash information added by DrKonqi

gwenview (4.11.4) on KDE Platform 4.11.5 using Qt 4.8.5

- What I was doing when the application crashed:
I Uploaded photos by rajce.net plugin to new photo album. After finishing photos upload gwenview whith kipi-plugin crashed...

-- Backtrace (Reduced):
#7  QString (other=..., this=this@entry=0x7fffc05e9500) at ../../src/corelib/tools/qstring.h:726
#8  QDir::fromNativeSeparators (pathName=...) at io/qdir.cpp:854
#9  0x00007f751a59f1bc in QUrl::fromLocalFile (localFile=...) at io/qurl.cpp:6260
#10 0x00007f74de571ae4 in KIPIRajceExportPlugin::RajceWidget::uploadNext (this=0x56903d0) at /usr/src/debug/digikam-3.5.0/extra/kipi-plugins/rajceexport/rajcewidget.cpp:516
#11 0x00007f74de574a75 in KIPIRajceExportPlugin::RajceWidget::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/digikam-3.5.0/build/extra/kipi-plugins/rajceexport/rajcewidget.moc:89