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

s2g9h+ennz3zdcrvs88 at sharklasers.com s2g9h+ennz3zdcrvs88 at sharklasers.com
Thu Oct 2 04:23:44 BST 2014


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

            Bug ID: 339593
           Summary: Crash on opening
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: digikam-devel at kde.org
          Reporter: s2g9h+ennz3zdcrvs88 at sharklasers.com

Directly after opening, Digikam shows thumb previews for up to 5 seconds then
crashes. Crash log below. If there's way I can make a more verbose output,
please reply to this bug report so I can do that. I checked the sqlite db and
it doesn't seem corrupt.

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 0x7f3893507ac0 (LWP 10050))]

Thread 5 (Thread 0x7f386c195700 (LWP 10077)):
#0  0x00007f388c0a4c6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f387170e248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f3887ebe182 in start_thread (arg=0x7f386c195700) at
pthread_create.c:312
#3  0x00007f388c0b1fbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f3862e66700 (LWP 10079)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f388ce93816 in wait (time=18446744073709551615, this=0x1a59d80) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x1a59c90,
mutex=mutex at entry=0x1a59c88, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00000000005f565e in Digikam::ScanController::run (this=0x1a59a00) at
/build/buildd/digikam-4.3.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f388ce9332f in QThreadPrivate::start (arg=0x1a59a00) at
thread/qthread_unix.cpp:349
#5  0x00007f3887ebe182 in start_thread (arg=0x7f3862e66700) at
pthread_create.c:312
#6  0x00007f388c0b1fbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f3862665700 (LWP 10080)):
#0  0x00007f3883ff462a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3883ff4989 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3883fb2699 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3883fb2f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3883fb30ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f388cfc27be in QEventDispatcherGlib::processEvents
(this=0x7f38540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f388cf940af in QEventLoop::processEvents
(this=this at entry=0x7f3862664ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f388cf943a5 in QEventLoop::exec (this=this at entry=0x7f3862664ae0,
flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f388ce90c5f in QThread::exec (this=this at entry=0x1a5c2d0) at
thread/qthread.cpp:537
#9  0x00007f388cf75823 in QInotifyFileSystemWatcherEngine::run (this=0x1a5c2d0)
at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f388ce9332f in QThreadPrivate::start (arg=0x1a5c2d0) at
thread/qthread_unix.cpp:349
#11 0x00007f3887ebe182 in start_thread (arg=0x7f3862665700) at
pthread_create.c:312
#12 0x00007f388c0b1fbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f3852689700 (LWP 10112)):
[KCrash Handler]
#6  0x00007f3889036b62 in
Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const
() from /usr/lib/libexiv2.so.12
#7  0x00007f3891224452 in KExiv2Iface::KExiv2Previews::data
(this=this at entry=0x7f3852688750, index=index at entry=0) at
../../libkexiv2/kexiv2previews.cpp:162
#8  0x00007f38912246ab in KExiv2Iface::KExiv2Previews::image
(this=this at entry=0x7f3852688750, index=index at entry=0) at
../../libkexiv2/kexiv2previews.cpp:174
#9  0x00007f3890b59fdb in Digikam::ThumbnailCreator::createThumbnail
(this=this at entry=0x1f87b60, info=..., detailRect=...) at
/build/buildd/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:528
#10 0x00007f3890b5cc76 in Digikam::ThumbnailCreator::load (this=0x1f87b60,
path=..., rect=..., pregenerate=pregenerate at entry=true) at
/build/buildd/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:261
#11 0x00007f3890b5d5c0 in Digikam::ThumbnailCreator::pregenerate
(this=<optimized out>, path=...) at
/build/buildd/digikam-4.3.0/core/libs/threadimageio/thumbnailcreator.cpp:184
#12 0x00007f3890b6c040 in Digikam::ThumbnailLoadingTask::execute
(this=0x791d900) at
/build/buildd/digikam-4.3.0/core/libs/threadimageio/thumbnailtask.cpp:82
#13 0x00007f3890b441a6 in Digikam::LoadSaveThread::run (this=0x1f69590) at
/build/buildd/digikam-4.3.0/core/libs/threadimageio/loadsavethread.cpp:136
#14 0x00007f3890b7dffe in Digikam::DynamicThread::DynamicThreadPriv::run
(this=0x1f9e5e0) at
/build/buildd/digikam-4.3.0/core/libs/threads/dynamicthread.cpp:186
#15 0x00007f388ce86fee in QThreadPoolThread::run (this=0x320b310) at
concurrent/qthreadpool.cpp:108
#16 0x00007f388ce9332f in QThreadPrivate::start (arg=0x320b310) at
thread/qthread_unix.cpp:349
#17 0x00007f3887ebe182 in start_thread (arg=0x7f3852689700) at
pthread_create.c:312
#18 0x00007f388c0b1fbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f3893507ac0 (LWP 10050)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f388ce93816 in wait (time=18446744073709551615, this=0x1d25ee0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x1aee440,
mutex=mutex at entry=0x1aee418, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007f388ce86242 in QThreadPoolPrivate::waitForDone (this=0x1aee390,
msecs=msecs at entry=-1) at concurrent/qthreadpool.cpp:295
#4  0x00007f388ce876b5 in QThreadPool::~QThreadPool (this=0x1d180f0,
__in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:438
#5  0x00007f388ce876e9 in QThreadPool::~QThreadPool (this=0x1d180f0,
__in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#6  0x00007f388cfac168 in QObjectPrivate::deleteChildren
(this=this at entry=0x1d184c0) at kernel/qobject.cpp:1907
#7  0x00007f388cfae6ff in QObject::~QObject (this=0x1b204a0,
__in_chrg=<optimized out>) at kernel/qobject.cpp:926
#8  0x00007f3890b7b177 in ~ThreadManagerCreator (this=0x1b204a0,
__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 0x00007f388bff3149 in __run_exit_handlers (status=1, listp=0x7f388c3766c8
<__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:82
#11 0x00007f388bff3195 in __GI_exit (status=<optimized out>) at exit.c:104
#12 0x00007f3878d82224 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#13 0x00007f388e6918d0 in KApplication::xioErrhandler (this=0x7fffb63b7540,
dpy=0x17c7230) at ../../kdeui/kernel/kapplication.cpp:419
#14 0x00007f388a5a95ee in _XIOError () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f388a5a6fed in _XEventsQueued () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007f388a5990db in XEventsQueued () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#17 0x00007f388da2962c in x11EventSourceCheck (s=0x1795ef0) at
kernel/qguieventdispatcher_glib.cpp:85
#18 0x00007f3883fb2a61 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f3883fb2f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f3883fb30ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f388cfc27a1 in QEventDispatcherGlib::processEvents (this=0x16b5030,
flags=...) at kernel/qeventdispatcher_glib.cpp:434
#22 0x00007f388da29bb6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f388cf940af in QEventLoop::processEvents
(this=this at entry=0x7fffb63b7020, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007f388cf943a5 in QEventLoop::exec (this=this at entry=0x7fffb63b7020,
flags=...) at kernel/qeventloop.cpp:204
#25 0x00007f388cf99b79 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#26 0x00007f388d98637c 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



Reproducible: Always

Steps to Reproduce:
1. Open Digikam
2. Wait 5 seconds, do nothing
3. Crash

Actual Results:  
It crashed

Expected Results:  
It shouldn't have crashed

Running on Ubuntu 14.04 x64 using PPA: 4:4.3.0-trusty~ppa1

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



More information about the Digikam-devel mailing list