[Digikam-devel] [digikam] [Bug 339593] Crash on opening

Michael Reed mike at unmusic.co.uk
Thu Oct 2 07:14:02 BST 2014


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

Michael Reed <mike at unmusic.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike at unmusic.co.uk

--- Comment #1 from Michael Reed <mike at unmusic.co.uk> ---
This might be related to the problem that I am having. At the moment I can't
access the main, root directory in the album view. As usual, the thumbnails
momentarily appear before sorting themselves into my chosen order (descending),
but then it segfaults.  

I've had a bit of intermittent crashy behaviour since I changed camera to the
Olympus. The folder in question contains 12,000+ files of Olympus (.orf), Canon
(.cr2), Panasonic (.rw2), png, jpg, wav, mov, idx, xmp (from Darktable) type.
"P7012188_v2.PNG.xmp" is an example of one of the filenames that Darktable has
generated.

I have just tried unchecking all of the optional information in the Album View
section of the settings, but it hasn't made a difference.

I am also on 4.3 from the PPA on Kubuntu 14.04. As far as I can see, 4.2 could
open the folder, but as I say, things have been a bit crashy ever since I got
the Olympus earlier in the year.

Crash report below. Let me know if there's anything you'd like me to try.

Backtrace of the crash I experienced:

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 0x7ff8fcc02ac0 (LWP 3039))]

Thread 5 (Thread 0x7ff8d6172700 (LWP 3040)):
#0  0x00007ff8f57a9c6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff8daca8248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007ff8f15ce182 in start_thread (arg=0x7ff8d6172700) at
pthread_create.c:312
#3  0x00007ff8f57b6fbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7ff8cfacb700 (LWP 3041)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff8f6598816 in wait (time=18446744073709551615, this=0x25a6ca0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x25a6bb0,
mutex=mutex at entry=0x25a6ba8, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00000000005f565e in Digikam::ScanController::run (this=0x269d0a0) at
/build/buildd/digikam-4.3.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007ff8f659832f in QThreadPrivate::start (arg=0x269d0a0) at
thread/qthread_unix.cpp:349
#5  0x00007ff8f15ce182 in start_thread (arg=0x7ff8cfacb700) at
pthread_create.c:312
#6  0x00007ff8f57b6fbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7ff8cf2ca700 (LWP 3042)):
#0  0x00007ff8ed70462a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff8ed7049b9 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff8ed6c2718 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff8ed6c2f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff8ed6c30ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff8f66c77be in QEventDispatcherGlib::processEvents
(this=0x7ff8c00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007ff8f66990af in QEventLoop::processEvents
(this=this at entry=0x7ff8cf2c9ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff8f66993a5 in QEventLoop::exec (this=this at entry=0x7ff8cf2c9ae0,
flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ff8f6595c5f in QThread::exec (this=this at entry=0x25aa050) at
thread/qthread.cpp:537
#9  0x00007ff8f667a823 in QInotifyFileSystemWatcherEngine::run (this=0x25aa050)
at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007ff8f659832f in QThreadPrivate::start (arg=0x25aa050) at
thread/qthread_unix.cpp:349
#11 0x00007ff8f15ce182 in start_thread (arg=0x7ff8cf2ca700) at
pthread_create.c:312
#12 0x00007ff8f57b6fbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7ff891ffb700 (LWP 3070)):
[KCrash Handler]
#6  0x00007ff8f27420e2 in
Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const
() from /usr/lib/libexiv2.so.12
#7  0x00007ff8fa929452 in KExiv2Iface::KExiv2Previews::data(int) () from
/usr/lib/libkexiv2.so.11
#8  0x00007ff8fa9296ab in KExiv2Iface::KExiv2Previews::image(int) () from
/usr/lib/libkexiv2.so.11
#9  0x00007ff8fa25efdb in Digikam::ThumbnailCreator::createThumbnail
(this=this at entry=0x2bc1aa0, info=..., detailRect=...) at
/build/buildd/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:528
#10 0x00007ff8fa261c76 in Digikam::ThumbnailCreator::load (this=0x2bc1aa0,
path=..., rect=..., pregenerate=pregenerate at entry=true) at
/build/buildd/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:261
#11 0x00007ff8fa2625c0 in Digikam::ThumbnailCreator::pregenerate
(this=<optimized out>, path=...) at
/build/buildd/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:184
#12 0x00007ff8fa271040 in Digikam::ThumbnailLoadingTask::execute
(this=0x77e6030) at
/build/buildd/digikam-4.3.0/core/libs/threadimageio/thumbnailtask.cpp:82
#13 0x00007ff8fa2491a6 in Digikam::LoadSaveThread::run (this=0x2bbe170) at
/build/buildd/digikam-4.3.0/core/libs/threadimageio/loadsavethread.cpp:136
#14 0x00007ff8fa282ffe in Digikam::DynamicThread::DynamicThreadPriv::run
(this=0x2bfdc60) at
/build/buildd/digikam-4.3.0/core/libs/threads/dynamicthread.cpp:186
#15 0x00007ff8f658bfee in QThreadPoolThread::run (this=0x450c630) at
concurrent/qthreadpool.cpp:108
#16 0x00007ff8f659832f in QThreadPrivate::start (arg=0x450c630) at
thread/qthread_unix.cpp:349
#17 0x00007ff8f15ce182 in start_thread (arg=0x7ff891ffb700) at
pthread_create.c:312
#18 0x00007ff8f57b6fbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ff8fcc02ac0 (LWP 3039)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff8f6598816 in wait (time=18446744073709551615, this=0x2cf7bd0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x2ce8040,
mutex=mutex at entry=0x2ce8018, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007ff8f658b242 in QThreadPoolPrivate::waitForDone (this=0x2ce7f90,
msecs=msecs at entry=-1) at concurrent/qthreadpool.cpp:295
#4  0x00007ff8f658c6b5 in QThreadPool::~QThreadPool (this=0x2de09b0,
__in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:438
#5  0x00007ff8f658c6e9 in QThreadPool::~QThreadPool (this=0x2de09b0,
__in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#6  0x00007ff8f66b1168 in QObjectPrivate::deleteChildren
(this=this at entry=0x2e94d10) at kernel/qobject.cpp:1907
#7  0x00007ff8f66b36ff in QObject::~QObject (this=0x2e0cd70,
__in_chrg=<optimized out>) at kernel/qobject.cpp:926
#8  0x00007ff8fa280177 in ~ThreadManagerCreator (this=0x2e0cd70,
__in_chrg=<optimized out>) at
/build/buildd/digikam-4.3.0/core/libs/threads/threadmanager.cpp:236
#9  destroy () at
/build/buildd/digikam-4.3.0/core/libs/threads/threadmanager.cpp:241
#10 0x00007ff8f56f8149 in __run_exit_handlers (status=1, listp=0x7ff8f5a7b6c8
<__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:82
#11 0x00007ff8f56f8195 in __GI_exit (status=<optimized out>) at exit.c:104
#12 0x00007ff8f70f3878 in qt_xio_errhandler () at
kernel/qapplication_x11.cpp:783
#13 0x00007ff8f7d968d0 in KApplication::xioErrhandler (this=0x7fff0c95f550,
dpy=0x24c4b30) at ../../kdeui/kernel/kapplication.cpp:419
#14 0x00007ff8f3cae5ee in _XIOError () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007ff8f3cabfed in _XEventsQueued () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007ff8f3c9e0db in XEventsQueued () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#17 0x00007ff8f712e62c in x11EventSourceCheck (s=0x24b2c50) at
kernel/qguieventdispatcher_glib.cpp:85
#18 0x00007ff8ed6c2a61 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ff8ed6c2f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ff8ed6c30ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007ff8f66c77a1 in QEventDispatcherGlib::processEvents (this=0x23df030,
flags=...) at kernel/qeventdispatcher_glib.cpp:434
#22 0x00007ff8f712ebb6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007ff8f66990af in QEventLoop::processEvents
(this=this at entry=0x7fff0c95f030, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007ff8f66993a5 in QEventLoop::exec (this=this at entry=0x7fff0c95f030,
flags=...) at kernel/qeventloop.cpp:204
#25 0x00007ff8f669eb79 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#26 0x00007ff8f708b37c in QApplication::exec () at kernel/qapplication.cpp:3828
#27 0x00000000004963b0 in main (argc=<optimized out>, argv=<optimized out>) at
/build/buildd/digikam-4.3.0/core/digikam/main/main.cpp:236

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



More information about the Digikam-devel mailing list