Bug 308607 - Crashes when autorotating using EXIF data on many pictures
Summary: Crashes when autorotating using EXIF data on many pictures
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-Rotate (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-18 15:08 UTC by Francesco Presel
Modified: 2020-08-31 07:38 UTC (History)
1 user (show)

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


Attachments
debug information (12.29 KB, application/octet-stream)
2012-10-18 16:12 UTC, Francesco Presel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Presel 2012-10-18 15:08:30 UTC
Application: gwenview (2.9.1)
KDE Platform Version: 4.9.2
Qt Version: 4.8.2
Operating System: Linux 3.2.0-32-generic x86_64
Distribution: Linux Mint 13 Maya

-- Information about the crash:
- What I was doing when the application crashed:
In a folder containing ~800 pictures (2GiB), I selected "Extensions">"Images">"Automatic rotation using EXIF data" -> immediate crash. The program crashed every time, regardless whether I was selecting no pictures, a few photos or all of them.
Besides, the backtrace didn't always appear, and I had to try many times to get what I've attached. I'll try to get a better backtrace and attach it later.

The plugin appears to work, instead, if used on a folder with less pictures (10 pictures -> no crash).
But I find that quite useless: the more pictures you have, the more you need to have an automatic tool to rotate them

This is what appeared on the terminal:
Warning: Directory SonyMinolta, entry 0x0088: Data area exceeds data buffer, ignoring it.
Warning: Directory SonyMinolta, entry 0x0088: Data area exceeds data buffer, ignoring it.
Warning: Directory SonyMinolta, entry 0x0088: Data area exceeds data buffer, ignoring it.
gwenview(3425)/KIPI (general) KIPI::Interface::progressThumbnailChanged: This should only be invoked if the host application supports KIPI::Features ( HostSupportsProgressBar ). If host application do support that, then this function should have been overridden in the KIPI host interface. 
gwenview(3425)/KIPI (general) KIPI::Interface::progressThumbnailChanged: This should only be invoked if the host application supports KIPI::Features ( HostSupportsProgressBar ). If host application do support that, then this function should have been overridden in the KIPI host interface. 
gwenview(3425)/KIPI (general) KIPI::Interface::progressThumbnailChanged: This should only be invoked if the host application supports KIPI::Features ( HostSupportsProgressBar ). If host application do support that, then this function should have been overridden in the KIPI host interface. 
KCrash: Application 'gwenview' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/francesco/.kde/socket-francesco-desk/kdeinit4__0
gwenview: Fatal IO error: client killed

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd164c8c7c0 (LWP 3698))]

Thread 6 (Thread 0x7fd14d7d3700 (LWP 3701)):
#0  0x00007fd15ddf796e in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd15ddf7faa in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd15ddf8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd163ad9906 in QEventDispatcherGlib::processEvents (this=0x7fd1480008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd163aa8e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd163aa9097 in QEventLoop::exec (this=0x7fd14d7d2cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd1639a8057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd163a88b4f in QInotifyFileSystemWatcherEngine::run (this=0x27fc6e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd1639ab07b in QThreadPrivate::start (arg=0x27fc6e0) at thread/qthread_unix.cpp:307
#9  0x00007fd15ae76764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007fd15e4b8e9a in start_thread (arg=0x7fd14d7d3700) at pthread_create.c:308
#11 0x00007fd16165acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fd147fff700 (LWP 3702)):
#0  0x00007fd16164d8bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fd15ae7574c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#2  0x00007fd159082be7 in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.304.51
#3  0x00007fd15de328cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd15ddf7ba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd15ddf7fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fd15ddf8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fd163ad9906 in QEventDispatcherGlib::processEvents (this=0x7fd1400008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007fd163aa8e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fd163aa9097 in QEventLoop::exec (this=0x7fd147ffecd0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007fd1639a8057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#11 0x00007fd163a88b4f in QInotifyFileSystemWatcherEngine::run (this=0x25a26c0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007fd1639ab07b in QThreadPrivate::start (arg=0x25a26c0) at thread/qthread_unix.cpp:307
#13 0x00007fd15ae76764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#14 0x00007fd15e4b8e9a in start_thread (arg=0x7fd147fff700) at pthread_create.c:308
#15 0x00007fd16165acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd14574e700 (LWP 3707)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd1639ab58b in wait (time=18446744073709551615, this=0x276a290) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2793078, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd1645d187e in Gwenview::SemanticInfoThread::run (this=0x2793060) at ../../lib/semanticinfo/nepomuksemanticinfobackend.cpp:145
#4  0x00007fd1639ab07b in QThreadPrivate::start (arg=0x2793060) at thread/qthread_unix.cpp:307
#5  0x00007fd15ae76764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007fd15e4b8e9a in start_thread (arg=0x7fd14574e700) at pthread_create.c:308
#7  0x00007fd16165acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd125750700 (LWP 3708)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd1639ab58b in wait (time=18446744073709551615, this=0x3451b70) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3469270, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd1443f5ef6 in KIPIPlugins::KPActionThreadBase::run() () from /usr/lib/libkipiplugins.so.2
#4  0x00007fd1639ab07b in QThreadPrivate::start (arg=0x3698170) at thread/qthread_unix.cpp:307
#5  0x00007fd15ae76764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007fd15e4b8e9a in start_thread (arg=0x7fd125750700) at pthread_create.c:308
#7  0x00007fd16165acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd124f4f700 (LWP 3709)):
[KCrash Handler]
#6  ref (this=0x10) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QVariant::operator= (this=0x7fd124f4e700, variant=...) at kernel/qvariant.cpp:1797
#8  0x00007fd1443eecf4 in KIPIPlugins::KPHostSettings::metadataSettings() const () from /usr/lib/libkipiplugins.so.2
#9  0x00007fd1443e4c9d in KIPIPlugins::KPMetadata::init() () from /usr/lib/libkipiplugins.so.2
#10 0x00007fd12c8b9eb3 in ?? () from /usr/lib/kde4/kipiplugin_jpeglossless.so
#11 0x00007fd12c8ba525 in ?? () from /usr/lib/kde4/kipiplugin_jpeglossless.so
#12 0x00007fd12c8bb1c1 in ?? () from /usr/lib/kde4/kipiplugin_jpeglossless.so
#13 0x00007fd12c8b855d in ?? () from /usr/lib/kde4/kipiplugin_jpeglossless.so
#14 0x00007fd1375ab05b in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fd124f4ec80, th=0x7fd120002870, job=0x34ce720) at ../../../threadweaver/Weaver/Job.cpp:106
#15 0x00007fd1375ab1cc in ThreadWeaver::Job::execute (this=0x34ce720, th=0x7fd120002870) at ../../../threadweaver/Weaver/Job.cpp:135
#16 0x00007fd1375ac1d3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x34b36b0, t=0x7fd120002870) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#17 0x00007fd1375aa81f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd124f4ed20, parent=0x3553fb0, th=0x7fd120002870) at ../../../threadweaver/Weaver/Thread.cpp:95
#18 0x00007fd1375aa8db in ThreadWeaver::Thread::run (this=0x7fd120002870) at ../../../threadweaver/Weaver/Thread.cpp:142
#19 0x00007fd1639ab07b in QThreadPrivate::start (arg=0x7fd120002870) at thread/qthread_unix.cpp:307
#20 0x00007fd15ae76764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#21 0x00007fd15e4b8e9a in start_thread (arg=0x7fd124f4f700) at pthread_create.c:308
#22 0x00007fd16165acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd164c8c7c0 (LWP 3698)):
#0  0x00007fd161631267 in sched_yield () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fd15806d4fb in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.304.51
#2  0x00007fd15806d5cb in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.304.51
#3  0x00007fd158009e1d in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.304.51
#4  0x00007fd157f94ad8 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.304.51
#5  0x00007fd157f7311d in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.304.51
#6  0x00007fd157f72ff2 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.304.51
#7  0x00007fd15ae51685 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x00007fd164ac392d in _dl_fini () at dl-fini.c:259
#9  0x00007fd1615a2901 in __run_exit_handlers (status=1, listp=0x7fd16191f688, run_list_atexit=true) at exit.c:78
#10 0x00007fd1615a2985 in __GI_exit (status=<optimized out>) at exit.c:100
#11 0x00007fd162334508 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:780
#12 0x00007fd163001a18 in KApplication::xioErrhandler (this=0x7fffc1375dc0, dpy=0x25e6760) at ../../kdeui/kernel/kapplication.cpp:419
#13 0x00007fd15f48241e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007fd15f48038b in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007fd15f47baed in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007fd1624c8755 in syncX (this=0x2ce2170) at painting/qwindowsurface_raster.cpp:134
#17 QRasterWindowSurface::syncX (this=0x2ce2170) at painting/qwindowsurface_raster.cpp:130
#18 0x00007fd1624c8c21 in QRasterWindowSurface::beginPaint (this=0x2ce2170, rgn=...) at painting/qwindowsurface_raster.cpp:143
#19 0x00007fd1624e5c43 in QWidgetBackingStore::sync (this=0x2ce1740) at painting/qbackingstore.cpp:1304
#20 0x00007fd16230b930 in QWidgetPrivate::syncBackingStore (this=0x27809d0) at kernel/qwidget.cpp:1892
#21 0x00007fd16231947c in QWidget::event (this=0x27808e0, event=0x36f1c10) at kernel/qwidget.cpp:8664
#22 0x00007fd1626f311b in QMainWindow::event (this=0x27808e0, event=0x36f1c10) at widgets/qmainwindow.cpp:1478
#23 0x00007fd1630ff9f8 in KXmlGuiWindow::event (this=0x27808e0, ev=0x36f1c10) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#24 0x00007fd1622c87b4 in notify_helper (e=0x36f1c10, receiver=0x27808e0, this=0x25dd3b0) at kernel/qapplication.cpp:4556
#25 QApplicationPrivate::notify_helper (this=0x25dd3b0, receiver=0x27808e0, e=0x36f1c10) at kernel/qapplication.cpp:4528
#26 0x00007fd1622cd583 in QApplication::notify (this=0x7fffc1375dc0, receiver=0x27808e0, e=0x36f1c10) at kernel/qapplication.cpp:4417
#27 0x00007fd163003756 in KApplication::notify (this=0x7fffc1375dc0, receiver=0x27808e0, event=0x36f1c10) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007fd163aaa30c in QCoreApplication::notifyInternal (this=0x7fffc1375dc0, receiver=0x27808e0, event=0x36f1c10) at kernel/qcoreapplication.cpp:915
#29 0x00007fd163aae0ea in sendEvent (event=0x36f1c10, receiver=0x27808e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x256e2b0) at kernel/qcoreapplication.cpp:1539
#31 0x00007fd163ad9473 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#33 0x00007fd15ddf7d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fd15ddf80a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fd15ddf8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fd163ad989f in QEventDispatcherGlib::processEvents (this=0x256f770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007fd162370cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007fd163aa8e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007fd163aa9097 in QEventLoop::exec (this=0x7fffc1375d20, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007fd163aae3e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#41 0x0000000000427395 in main (argc=6, argv=0x7fffc13760e8) at ../../app/main.cpp:142

This bug may be a duplicate of or related to bug 304763.

Possible duplicates by query: bug 305893, bug 305811, bug 304763, bug 302292.

Reported using DrKonqi
Comment 1 Francesco Presel 2012-10-18 16:12:51 UTC
Created attachment 74630 [details]
debug information

This is the backtrace I obtained after installing more debug packages
Comment 2 caulier.gilles 2012-10-18 21:25:39 UTC
Same problem than #302292

*** This bug has been marked as a duplicate of bug 302292 ***
Comment 3 caulier.gilles 2020-08-31 07:38:50 UTC
Fixed with #302292