Bug 378724 - digikam - Direct crash when rotate left is choosed
Summary: digikam - Direct crash when rotate left is choosed
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-Rotate (show other bugs)
Version: 4.12.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-04-13 00:05 UTC by uaediaba
Modified: 2020-07-26 08:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description uaediaba 2017-04-13 00:05:11 UTC
Application: digikam (4.12.0)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.4.0-36-generic i686
Distribution: Ubuntu 16.04.2 LTS

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

When I opened digikam, I choosed a folder in the left panel. Then opened one folder in which were some pics with wrong rotation. So I was in the foto viewer and at one foto and then clicked at the symbol to rotate left. Then digikam crashed.
When I try to reproduce it, digikamt is crashing everytime directly after that step.
So I typed #gdb digikam into the console, but could not get digikam startet. after the crash the debug window is opening and so i am here now.

I don't have deeper debug knowledge so I can't tell if the crashing is related to the bug report called "Crash on rotate" which was closed by Gilles, because of external program crash.

So I will apreciate it, when someone with deeper knowledge kann analyze the bug and get the info out, if the fault is internal or of an external program.

Thanks to you/ them
Sapuani Teclada

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xacca79c0 (LWP 4280))]

Thread 6 (Thread 0x9f8acb40 (LWP 4298)):
[KCrash Handler]
#7  0xb3b2d8be in ?? () from /usr/lib/i386-linux-gnu/libjpeg.so.8
#8  0xb6fd01dc in do_rot_270 (dst_coef_arrays=0xb4182f90 <vtable for Exiv2::Iptcdatum+8>, src_coef_arrays=0xa2d085c, y_crop_offset=195134048, x_crop_offset=3020237506, dstinfo=0x9f8ab1cc, srcinfo=0x9f8ab378) at /build/digikam-Gcg5vj/digikam-4.12.0/core/libs/jpegutils/libjpeg-84/transupp.c:486
#9  jtransform_execute_transform (srcinfo=0x9f8ab378, dstinfo=0x9f8ab1cc, src_coef_arrays=0xa2d085c, info=0x9f8aaf38) at /build/digikam-Gcg5vj/digikam-4.12.0/core/libs/jpegutils/libjpeg-84/transupp.c:1463
#10 0xb6fc8685 in Digikam::JPEGUtils::JpegRotator::performJpegTransform (this=0x9f8ab880, action=KExiv2Iface::RotationMatrix::Rotate270, src=..., dest=...) at /build/digikam-Gcg5vj/digikam-4.12.0/core/libs/jpegutils/jpegutils.cpp:656
#11 0xb6fcc610 in Digikam::JPEGUtils::JpegRotator::exifTransform (this=0x9f8ab880, matrix=...) at /build/digikam-Gcg5vj/digikam-4.12.0/core/libs/jpegutils/jpegutils.cpp:414
#12 0xb6fce1db in Digikam::JPEGUtils::JpegRotator::exifTransform (this=0x9f8ab880, action=KExiv2Iface::RotationMatrix::Rotate270) at /build/digikam-Gcg5vj/digikam-4.12.0/core/libs/jpegutils/jpegutils.cpp:366
#13 0x0827c894 in Digikam::FileActionMngrFileWorker::transform (this=0x9037190, infos=..., action=7) at /build/digikam-Gcg5vj/digikam-4.12.0/core/app/fileaction/fileworkeriface.cpp:218
#14 0x0827ad66 in Digikam::FileWorkerInterface::qt_static_metacall (_o=0x9037190, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xa9f35b8) at /build/digikam-Gcg5vj/digikam-4.12.0/obj-i686-linux-gnu/core/app/fileworkeriface.moc:68
#15 0xb4761cca in QMetaCallEvent::placeMetaCall (this=0x96d8b90, object=0x9037190) at kernel/qobject.cpp:524
#16 0xb4769ea1 in QObject::event (this=0x9037190, e=0x96d8b90) at kernel/qobject.cpp:1222
#17 0xb70383aa in Digikam::WorkerObject::event (this=0x9037190, e=0x96d8b90) at /build/digikam-Gcg5vj/digikam-4.12.0/core/libs/threads/workerobject.cpp:160
#18 0xb4d9f64a in QApplicationPrivate::notify_helper (this=0x8c20540, receiver=0x9037190, e=0x96d8b90) at kernel/qapplication.cpp:4570
#19 0xb4da6951 in QApplication::notify (this=0xbff27fb4, receiver=0x9037190, e=0x96d8b90) at kernel/qapplication.cpp:4356
#20 0xb595f71c in KApplication::notify (this=0xbff27fb4, receiver=0x9037190, event=0x96d8b90) at /build/kde4libs-nQJkRJ/kde4libs-4.14.16/kdeui/kernel/kapplication.cpp:311
#21 0xb474e57a in QCoreApplication::notifyInternal (this=0xbff27fb4, receiver=0x9037190, event=0x96d8b90) at kernel/qcoreapplication.cpp:955
#22 0xb4752266 in QCoreApplication::sendEvent (event=0x96d8b90, receiver=0x9037190) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9d4f1e0) at kernel/qcoreapplication.cpp:1579
#24 0xb4752595 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1472
#25 0xb4780f91 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=0x9d5a400) at kernel/qeventdispatcher_glib.cpp:300
#27 0xb313aee9 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb313b189 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb313b254 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0xb47810f5 in QEventDispatcherGlib::processEvents (this=0x9c4eeb8, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#31 0xb474cc5d in QEventLoop::processEvents (this=0x9f8abfd4, flags=...) at kernel/qeventloop.cpp:149
#32 0xb474cfee in QEventLoop::exec (this=0x9f8abfd4, flags=...) at kernel/qeventloop.cpp:204
#33 0xb703681a in Digikam::WorkerObjectRunnable::run (this=0xabece28) at /build/digikam-Gcg5vj/digikam-4.12.0/core/libs/threads/threadmanager.cpp:196
#34 0xb46233c9 in QThreadPoolThread::run (this=0x9d4f0d0) at concurrent/qthreadpool.cpp:108
#35 0xb4630d3e in QThreadPrivate::start (arg=0x9d4f0d0) at thread/qthread_unix.cpp:352
#36 0xb39e4295 in start_thread (arg=0x9f8acb40) at pthread_create.c:333
#37 0xb42deeee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Thread 5 (Thread 0xa9dffb40 (LWP 4285)):
#0  0xb77c2c31 in __kernel_vsyscall ()
#1  0xb39e9a6c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0xb42eb64d in __pthread_cond_wait (cond=0x8db4df0, mutex=0x8db4dd8) at forward.c:149
#3  0xb4631312 in QWaitConditionPrivate::wait (time=4294967295, this=0x8db4dd8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8f11c10, mutex=0x8f11c0c, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb70372de in Digikam::ParkingThread::run (this=0x8f11c00) at /build/digikam-Gcg5vj/digikam-4.12.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4630d3e in QThreadPrivate::start (arg=0x8f11c00) at thread/qthread_unix.cpp:352
#7  0xb39e4295 in start_thread (arg=0xa9dffb40) at pthread_create.c:333
#8  0xb42deeee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Thread 4 (Thread 0xaa7ffb40 (LWP 4283)):
#0  0xb77c2c31 in __kernel_vsyscall ()
#1  0xb42cd9cf in read () at ../sysdeps/unix/syscall-template.S:84
#2  0xb31800b5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb313abaa in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb313b0b1 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb313b254 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb478111c in QEventDispatcherGlib::processEvents (this=0xa9e00470, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#7  0xb474cc5d in QEventLoop::processEvents (this=0xaa7fefe4, flags=...) at kernel/qeventloop.cpp:149
#8  0xb474cfee in QEventLoop::exec (this=0xaa7fefe4, flags=...) at kernel/qeventloop.cpp:204
#9  0xb462e0eb in QThread::exec (this=0x8d3ee70) at thread/qthread.cpp:538
#10 0xb472c4a6 in QInotifyFileSystemWatcherEngine::run (this=0x8d3ee70) at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb4630d3e in QThreadPrivate::start (arg=0x8d3ee70) at thread/qthread_unix.cpp:352
#12 0xb39e4295 in start_thread (arg=0xaa7ffb40) at pthread_create.c:333
#13 0xb42deeee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Thread 3 (Thread 0xab12bb40 (LWP 4282)):
#0  0xb77c2c31 in __kernel_vsyscall ()
#1  0xb39e9a6c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0xb42eb64d in __pthread_cond_wait (cond=0x8d3ebd0, mutex=0x8d3ebb8) at forward.c:149
#3  0xb4631312 in QWaitConditionPrivate::wait (time=4294967295, this=0x8d3ebb8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8d3eb2c, mutex=0x8d3eb28, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x082256be in Digikam::ScanController::run (this=0x8ccf968) at /build/digikam-Gcg5vj/digikam-4.12.0/core/app/database/scancontroller.cpp:725
#6  0xb4630d3e in QThreadPrivate::start (arg=0x8ccf968) at thread/qthread_unix.cpp:352
#7  0xb39e4295 in start_thread (arg=0xab12bb40) at pthread_create.c:333
#8  0xb42deeee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Thread 2 (Thread 0xac972b40 (LWP 4281)):
#0  0xb77c2c31 in __kernel_vsyscall ()
#1  0xb42d4d0f in poll () at ../sysdeps/unix/syscall-template.S:84
#2  0xafbee7cb in ?? () from /lib/i386-linux-gnu/libusb-1.0.so.0
#3  0xb39e4295 in start_thread (arg=0xac972b40) at pthread_create.c:333
#4  0xb42deeee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Thread 1 (Thread 0xacca79c0 (LWP 4280)):
#0  0xb77c2c31 in __kernel_vsyscall ()
#1  0xb39e9a6c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0xb42eb64d in __pthread_cond_wait (cond=0x9037258, mutex=0x9037240) at forward.c:149
#3  0xb4631312 in QWaitConditionPrivate::wait (time=4294967295, this=0x9037240) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9037200, mutex=0x90371fc, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb70375f2 in Digikam::WorkerObject::wait (this=0x9037190) at /build/digikam-Gcg5vj/digikam-4.12.0/core/libs/threads/workerobject.cpp:95
#6  0xb703ad3d in Digikam::ParallelWorkers::wait (this=0x903702c) at /build/digikam-Gcg5vj/digikam-4.12.0/core/libs/threads/parallelworkers.cpp:91
#7  0x08273407 in Digikam::FileActionMngr::~FileActionMngr (this=0x9036d10, __in_chrg=<optimized out>) at /build/digikam-Gcg5vj/digikam-4.12.0/core/app/fileaction/fileactionmngr.cpp:78
#8  0x08273468 in Digikam::FileActionMngrCreator::~FileActionMngrCreator (this=0x9036d10, __in_chrg=<optimized out>) at /build/digikam-Gcg5vj/digikam-4.12.0/core/app/fileaction/fileactionmngr.cpp:52
#9  destroy () at /build/digikam-Gcg5vj/digikam-4.12.0/core/app/fileaction/fileactionmngr.cpp:59
#10 0xb4226993 in __run_exit_handlers (status=1, listp=0xb43aa3dc <__exit_funcs>, run_list_atexit=true) at exit.c:82
#11 0xb42269ef in __GI_exit (status=1) at exit.c:104
#12 0xb4e19e03 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:782
#13 0xb595dea9 in KApplication::xioErrhandler (this=0xbff27fb4, dpy=0x8c270d0) at /build/kde4libs-nQJkRJ/kde4libs-4.14.16/kdeui/kernel/kapplication.cpp:419
#14 0xb595df81 in kde_xio_errhandler (dpy=0x8c270d0) at /build/kde4libs-nQJkRJ/kde4libs-4.14.16/kdeui/kernel/kapplication.cpp:126
#15 0xb38cc2ed in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#16 0xb38c9b56 in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#17 0xb38bafac in XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#18 0xb4e5c4e1 in x11EventSourceCheck (s=0x8c21240) at kernel/qguieventdispatcher_glib.cpp:85
#19 0xb313aada in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#20 0xb313b0b1 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#21 0xb313b254 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#22 0xb47810f5 in QEventDispatcherGlib::processEvents (this=0x8bbd570, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#23 0xb4e5cb66 in QGuiEventDispatcherGlib::processEvents (this=0x8bbd570, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0xb474cc5d in QEventLoop::processEvents (this=0xbff27e44, flags=...) at kernel/qeventloop.cpp:149
#25 0xb474cfee in QEventLoop::exec (this=0xbff27e44, flags=...) at kernel/qeventloop.cpp:204
#26 0xb47535f6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#27 0xb4d9d4e4 in QApplication::exec () at kernel/qapplication.cpp:3828
#28 0x080bc135 in main (argc=5, argv=0xbff280f4) at /build/digikam-Gcg5vj/digikam-4.12.0/core/app/main/main.cpp:230

Possible duplicates by query: bug 376429.

Reported using DrKonqi
Comment 1 caulier.gilles 2017-04-13 01:56:30 UTC

*** This bug has been marked as a duplicate of bug 376429 ***
Comment 2 caulier.gilles 2020-07-26 08:25:35 UTC
Fixed with #376429