[Digikam-devel] [digikam] [Bug 319383] New: Crash while applying lensfun distortion correction

Matthias Adrian Mendler matyy at fishclan.net
Sun May 5 22:47:49 BST 2013


https://bugs.kde.org/show_bug.cgi?id=319383

            Bug ID: 319383
           Summary: Crash while applying lensfun distortion correction
    Classification: Unclassified
           Product: digikam
           Version: 3.1.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: digikam-devel at kde.org
          Reporter: matyy at fishclan.net

Application: digikam (3.1.0)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
This one picture is always crashing digikam when applying lensfun distortion
correction. While other pictures crasehd it several times before, only with
this one it crashes every time. 
Digikam also crashes when applying lensfun distortion correction in a batch
proccess - always, but not directly, just after starting for a few seconds. The
same pictures don't crash it tough, when lensfun is applied manually.

Could this actually be a bug in ubuntus lensfun library?

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f0ae240ea80 (LWP 3647))]

Thread 6 (Thread 0x7f0ab9d4a700 (LWP 3648)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0adcc6914b in wait (time=18446744073709551615, this=0x267d870) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x267d770,
mutex=mutex at entry=0x267d768, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00000000005ccce8 in Digikam::ScanController::run (this=0x267d500) at
/build/buildd/digikam-3.1.0/core/digikam/database/scancontroller.cpp:705
#4  0x00007f0adcc68bec in QThreadPrivate::start (arg=0x267d500) at
thread/qthread_unix.cpp:338
#5  0x00007f0ac506c3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#6  0x00007f0ad7195f8e in start_thread (arg=0x7f0ab9d4a700) at
pthread_create.c:311
#7  0x00007f0adbe85e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f0ab953e700 (LWP 3649)):
#0  0x00007f0ad49c5d40 in pthread_getspecific at plt () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0ad4a19390 in g_thread_self () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ad49f433e in g_main_context_acquire () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0ad49f50b4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0ad49f5304 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0adcd94036 in QEventDispatcherGlib::processEvents
(this=0x7f0aac0008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f0adcd6438f in QEventLoop::processEvents
(this=this at entry=0x7f0ab953da10, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0adcd64618 in QEventLoop::exec (this=this at entry=0x7f0ab953da10,
flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0adcc66410 in QThread::exec (this=this at entry=0x267ffe0) at
thread/qthread.cpp:542
#9  0x00007f0adcd45edf in QInotifyFileSystemWatcherEngine::run (this=0x267ffe0)
at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f0adcc68bec in QThreadPrivate::start (arg=0x267ffe0) at
thread/qthread_unix.cpp:338
#11 0x00007f0ac506c3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#12 0x00007f0ad7195f8e in start_thread (arg=0x7f0ab953e700) at
pthread_create.c:311
#13 0x00007f0adbe85e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f0ab8d35700 (LWP 3652)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0adcc6914b in wait (time=18446744073709551615, this=0x29fcef0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x29d6260,
mutex=mutex at entry=0x29d6258, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007f0adfcb40a9 in Digikam::ParkingThread::run (this=0x29d6240) at
/build/buildd/digikam-3.1.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f0adcc68bec in QThreadPrivate::start (arg=0x29d6240) at
thread/qthread_unix.cpp:338
#5  0x00007f0ac506c3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#6  0x00007f0ad7195f8e in start_thread (arg=0x7f0ab8d35700) at
pthread_create.c:311
#7  0x00007f0adbe85e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f0a9a5b9700 (LWP 3738)):
#0  0x00007f0ad4a34359 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0ad4a345b9 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ad49f47d5 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0ad49f50fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0ad49f5304 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0adcd94036 in QEventDispatcherGlib::processEvents
(this=0x7f0a0c002880, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f0adcd6438f in QEventLoop::processEvents
(this=this at entry=0x7f0a9a5b8aa0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0adcd64618 in QEventLoop::exec (this=this at entry=0x7f0a9a5b8aa0,
flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0adfcb364b in Digikam::WorkerObjectRunnable::run (this=0x8e684d0)
at /build/buildd/digikam-3.1.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007f0adcc5c55d in QThreadPoolThread::run (this=0x3ef2da0) at
concurrent/qthreadpool.cpp:107
#10 0x00007f0adcc68bec in QThreadPrivate::start (arg=0x3ef2da0) at
thread/qthread_unix.cpp:338
#11 0x00007f0ad7195f8e in start_thread (arg=0x7f0a9a5b9700) at
pthread_create.c:311
#12 0x00007f0adbe85e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f0a9f3b7700 (LWP 3847)):
[KCrash Handler]
#6  setColor (sixteenBit=true, data=0x7f0af74d73c8 <Address 0x7f0af74d73c8 out
of bounds>, this=<synthetic pointer>) at
/build/buildd/digikam-3.1.0/core/libs/dimg/dcolorpixelaccess.h:50
#7  Digikam::DImg::getSubPixelColorFast (this=this at entry=0x89abdf8,
x=<optimized out>, y=<optimized out>) at
/build/buildd/digikam-3.1.0/core/libs/dimg/dimg.cpp:1391
#8  0x00007f0adfc2fd74 in Digikam::LensFunFilter::filterImage (this=0x89abdb0)
at
/build/buildd/digikam-3.1.0/core/libs/dimg/filters/lens/lensfunfilter.cpp:196
#9  0x00007f0adfb1d894 in Digikam::DImgThreadedFilter::startFilterDirectly
(this=0x89abdb0) at
/build/buildd/digikam-3.1.0/core/libs/dimg/filters/dimgthreadedfilter.cpp:194
#10 0x00007f0adfcb60de in Digikam::DynamicThread::DynamicThreadPriv::run
(this=0x8576050) at
/build/buildd/digikam-3.1.0/core/libs/threads/dynamicthread.cpp:186
#11 0x00007f0adcc5c55d in QThreadPoolThread::run (this=0x3ef0800) at
concurrent/qthreadpool.cpp:107
#12 0x00007f0adcc68bec in QThreadPrivate::start (arg=0x3ef0800) at
thread/qthread_unix.cpp:338
#13 0x00007f0ad7195f8e in start_thread (arg=0x7f0a9f3b7700) at
pthread_create.c:311
#14 0x00007f0adbe85e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f0ae240ea80 (LWP 3647)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0adcc6914b in wait (time=18446744073709551615, this=0x2ca3ad0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2c9a1c8,
time=time at entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0adfcb4394 in Digikam::WorkerObject::wait (this=0x2ca39e0) at
/build/buildd/digikam-3.1.0/core/libs/threads/workerobject.cpp:95
#4  0x0000000000611ee3 in Digikam::FileActionMngr::shutDown
(this=this at entry=0x2ca36b0) at
/build/buildd/digikam-3.1.0/core/digikam/fileaction/fileactionmngr.cpp:110
#5  0x0000000000611f1d in Digikam::FileActionMngr::~FileActionMngr
(this=0x2ca36b0, __in_chrg=<optimized out>) at
/build/buildd/digikam-3.1.0/core/digikam/fileaction/fileactionmngr.cpp:78
#6  0x0000000000611fa7 in ~FileActionMngrCreator (this=0x2ca36b0,
__in_chrg=<optimized out>) at
/build/buildd/digikam-3.1.0/core/digikam/fileaction/fileactionmngr.cpp:52
#7  destroy () at
/build/buildd/digikam-3.1.0/core/digikam/fileaction/fileactionmngr.cpp:59
#8  0x00007f0adbdc8121 in __run_exit_handlers (status=1, listp=0x7f0adc14d6a8
<__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:77
#9  0x00007f0adbdc81a5 in __GI_exit (status=<optimized out>) at exit.c:99
#10 0x00007f0add7b8348 in qt_xio_errhandler () at
kernel/qapplication_x11.cpp:782
#11 0x00007f0ade457888 in KApplication::xioErrhandler (this=0x7fffb6799970,
dpy=0x25008f0) at ../../kdeui/kernel/kapplication.cpp:419
#12 0x00007f0ada3996de in _XIOError () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f0ada39716d in _XEventsQueued () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f0ada38875b in XEventsQueued () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f0add7f3bdc in x11EventSourceCheck (s=0x24da4b0) at
kernel/qguieventdispatcher_glib.cpp:85
#16 0x00007f0ad49f4c69 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f0ad49f5175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f0ad49f5304 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f0adcd94016 in QEventDispatcherGlib::processEvents (this=0x2461ca0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#20 0x00007f0add7f41ae in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007f0adcd6438f in QEventLoop::processEvents
(this=this at entry=0x7fffb6799360, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f0adcd64618 in QEventLoop::exec (this=this at entry=0x7fffb6799360,
flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f0adcd69cf6 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1218
#24 0x00007f0add74cffc in QApplication::exec () at kernel/qapplication.cpp:3828
#25 0x000000000048f9ab in main (argc=1, argv=0x7fffb6799ba8) at
/build/buildd/digikam-3.1.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 277584.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list