Application: digikam (3.5.0) KDE Platform Version: 4.11.3 Qt Version: 4.8.5 Operating System: Linux 3.11.8-200.fc19.x86_64 x86_64 Distribution (Platform): Fedora RPMs -- Information about the crash: - What I was doing when the application crashed: Crash after hugin wrote a 60 MB tiff into some digikam-tracked folder -- Backtrace: Application: digiKam (digikam), signal: Bus error Using host libthread_db library "/lib64/libthread_db.so.1". pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 185 62: movl (%rsp), %edi [Current thread is 1 (Thread 0x7fae82f52ac0 (LWP 1563))] Thread 6 (Thread 0x7fae58516700 (LWP 1564)): #0 0x00007fae77a4050d in recvmsg () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fae745e2191 in udev_monitor_receive_device (udev_monitor=0x146f9e0) at ../src/libudev/libudev-monitor.c:545 #2 0x00007fae6dd5967b in linux_udev_event_thread_main () from /lib64/libusb-1.0.so.0 #3 0x00007fae77a39c53 in start_thread (arg=0x7fae58516700) at pthread_create.c:308 #4 0x00007fae76ce6dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 5 (Thread 0x7fae51b86700 (LWP 1565)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fae77cc91e6 in wait (time=18446744073709551615, this=0x166f5d0) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x166f4e0, mutex=mutex@entry=0x166f4d8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00000000005d609e in Digikam::ScanController::run (this=0x163cb20) at /usr/src/debug/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725 #4 0x00007fae77cc8d0f in QThreadPrivate::start (arg=0x163cb20) at thread/qthread_unix.cpp:338 #5 0x00007fae77a39c53 in start_thread (arg=0x7fae51b86700) at pthread_create.c:308 #6 0x00007fae76ce6dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 4 (Thread 0x7fae51385700 (LWP 1566)): #0 0x00007fae76cdc7fd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fae728a20f4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fae44002a00, timeout=-1, context=0x7fae440009a0) at gmain.c:3995 #2 g_main_context_iterate (context=context@entry=0x7fae440009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3696 #3 0x00007fae728a21fc in g_main_context_iteration (context=0x7fae440009a0, may_block=1) at gmain.c:3762 #4 0x00007fae77df5166 in QEventDispatcherGlib::processEvents (this=0x7fae440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427 #5 0x00007fae77dc6ecf in QEventLoop::processEvents (this=this@entry=0x7fae51384ae0, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007fae77dc71c5 in QEventLoop::exec (this=this@entry=0x7fae51384ae0, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007fae77cc666f in QThread::exec (this=this@entry=0x1626a30) at thread/qthread.cpp:536 #8 0x00007fae77da8733 in QInotifyFileSystemWatcherEngine::run (this=0x1626a30) at io/qfilesystemwatcher_inotify.cpp:256 #9 0x00007fae77cc8d0f in QThreadPrivate::start (arg=0x1626a30) at thread/qthread_unix.cpp:338 #10 0x00007fae77a39c53 in start_thread (arg=0x7fae51385700) at pthread_create.c:308 #11 0x00007fae76ce6dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 3 (Thread 0x7fae50b84700 (LWP 1569)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fae77cc91e6 in wait (time=18446744073709551615, this=0x17fd100) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x187afc0, mutex=mutex@entry=0x187afb8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fae7f92e1fa in Digikam::ParkingThread::run (this=0x187afa0) at /usr/src/debug/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119 #4 0x00007fae77cc8d0f in QThreadPrivate::start (arg=0x187afa0) at thread/qthread_unix.cpp:338 #5 0x00007fae77a39c53 in start_thread (arg=0x7fae50b84700) at pthread_create.c:308 #6 0x00007fae76ce6dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 2 (Thread 0x7fae3affd700 (LWP 2112)): [KCrash Handler] #6 0x00007fae72dca5f3 in LZWDecode (tif=0x7fae280ecda0, op0=<optimized out>, occ0=<optimized out>, s=<optimized out>) at tif_lzw.c:433 #7 0x00007fae72dd92d9 in TIFFReadEncodedStrip (tif=0x7fae280ecda0, strip=52, buf=0x7fae28373160, size=2048960) at tif_read.c:357 #8 0x00007fae7f773eaa in Digikam::TIFFLoader::load (this=0x7fae3affc320, filePath=..., observer=0x47819f0) at /usr/src/debug/digikam-3.5.0/core/libs/dimg/loaders/tiffloader.cpp:329 #9 0x00007fae7f74c56e in Digikam::DImg::load (this=this@entry=0x7fae3affc490, filePath=..., loadFlagsInt=13, observer=observer@entry=0x47819f0, rawDecodingSettings=...) at /usr/src/debug/digikam-3.5.0/core/libs/dimg/dimg.cpp:449 #10 0x00007fae7f74d29a in Digikam::DImg::load (this=this@entry=0x7fae3affc490, filePath=..., loadMetadata=loadMetadata@entry=false, loadICCData=<optimized out>, loadUniqueHash=loadUniqueHash@entry=false, loadImageHistory=loadImageHistory@entry=false, observer=0x47819f0, rawDecodingSettings=...) at /usr/src/debug/digikam-3.5.0/core/libs/dimg/dimg.cpp:403 #11 0x00007fae7f916335 in Digikam::ThumbnailCreator::loadWithDImg (this=this@entry=0x247ea30, path=..., profile=profile@entry=0x7fae3affc580) at /usr/src/debug/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:562 #12 0x00007fae7f9184a3 in Digikam::ThumbnailCreator::createThumbnail (this=this@entry=0x247ea30, info=..., detailRect=...) at /usr/src/debug/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:490 #13 0x00007fae7f91ace6 in Digikam::ThumbnailCreator::load (this=0x247ea30, path=..., rect=..., pregenerate=pregenerate@entry=false) at /usr/src/debug/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:260 #14 0x00007fae7f91bb32 in Digikam::ThumbnailCreator::load (this=<optimized out>, path=...) at /usr/src/debug/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:199 #15 0x00007fae7f92a197 in Digikam::ThumbnailLoadingTask::execute (this=0x47819e0) at /usr/src/debug/digikam-3.5.0/core/libs/threadimageio/thumbnailtask.cpp:172 #16 0x00007fae7f9026a6 in Digikam::LoadSaveThread::run (this=0x247e770) at /usr/src/debug/digikam-3.5.0/core/libs/threadimageio/loadsavethread.cpp:136 #17 0x00007fae7f93003e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x247e7e0) at /usr/src/debug/digikam-3.5.0/core/libs/threads/dynamicthread.cpp:186 #18 0x00007fae77cbc83e in QThreadPoolThread::run (this=0x2d11b10) at concurrent/qthreadpool.cpp:107 #19 0x00007fae77cc8d0f in QThreadPrivate::start (arg=0x2d11b10) at thread/qthread_unix.cpp:338 #20 0x00007fae77a39c53 in start_thread (arg=0x7fae3affd700) at pthread_create.c:308 #21 0x00007fae76ce6dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 1 (Thread 0x7fae82f52ac0 (LWP 1563)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fae77cc91e6 in wait (time=18446744073709551615, this=0x247e860) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x247e810, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fae7f92f6a8 in Digikam::DynamicThread::wait (this=this@entry=0x247e770, locker=...) at /usr/src/debug/digikam-3.5.0/core/libs/threads/dynamicthread.cpp:351 #4 0x00007fae7f92f724 in Digikam::DynamicThread::shutDown (this=this@entry=0x247e770) at /usr/src/debug/digikam-3.5.0/core/libs/threads/dynamicthread.cpp:222 #5 0x00007fae7f905cf1 in Digikam::ManagedLoadSaveThread::shutDown (this=this@entry=0x247e770) at /usr/src/debug/digikam-3.5.0/core/libs/threadimageio/managedloadsavethread.cpp:94 #6 0x00007fae7f91d7ff in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread (this=0x247e770, __in_chrg=<optimized out>) at /usr/src/debug/digikam-3.5.0/core/libs/threadimageio/thumbnailloadthread.cpp:177 #7 0x00007fae7f91d939 in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread (this=0x247e770, __in_chrg=<optimized out>) at /usr/src/debug/digikam-3.5.0/core/libs/threadimageio/thumbnailloadthread.cpp:180 #8 0x00007fae76c2a279 in __run_exit_handlers (status=1, listp=0x7fae76fab6e8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77 #9 0x00007fae76c2a2c5 in __GI_exit (status=<optimized out>) at exit.c:99 #10 0x00007fae78a89c68 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772 #11 0x00007fae79740a50 in KApplication::xioErrhandler (this=0x7fff46c1b840, dpy=0x14ecef0) at /usr/src/debug/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:419 #12 0x00007fae75383cce in _XIOError (dpy=dpy@entry=0x14ecef0) at XlibInt.c:1498 #13 0x00007fae7538169d in _XEventsQueued (dpy=dpy@entry=0x14ecef0, mode=mode@entry=2) at xcb_io.c:366 #14 0x00007fae7537378b in XEventsQueued (dpy=0x14ecef0, mode=2) at Pending.c:43 #15 0x00007fae78abfa2c in x11EventSourceCheck (s=0x14c7090) at kernel/qguieventdispatcher_glib.cpp:85 #16 0x00007fae728a1b71 in g_main_context_check (context=context@entry=0x14c3cc0, max_priority=2147483647, fds=fds@entry=0x20a5740, n_fds=n_fds@entry=12) at gmain.c:3545 #17 0x00007fae728a208b in g_main_context_iterate (context=context@entry=0x14c3cc0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3698 #18 0x00007fae728a21fc in g_main_context_iteration (context=0x14c3cc0, may_block=1) at gmain.c:3762 #19 0x00007fae77df5145 in QEventDispatcherGlib::processEvents (this=0x142d9f0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #20 0x00007fae78abffc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207 #21 0x00007fae77dc6ecf in QEventLoop::processEvents (this=this@entry=0x7fff46c1b320, flags=...) at kernel/qeventloop.cpp:149 #22 0x00007fae77dc71c5 in QEventLoop::exec (this=this@entry=0x7fff46c1b320, flags=...) at kernel/qeventloop.cpp:204 #23 0x00007fae77dcc45b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221 #24 0x00007fae78a21c9c in QApplication::exec () at kernel/qapplication.cpp:3823 #25 0x0000000000492293 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam-3.5.0/core/digikam/main/main.cpp:235 Reported using DrKonqi
It sound like the file crash thumbnail generator. There is no reason for that. Here i generate panorama file size of 200Mb without any problem. Perhaps you is limited is memory (here 16Gb) Can you share tiff file to try to reproduce the problem ? Gilles Caulier
Created attachment 83880 [details] New crash information added by DrKonqi digikam (3.5.0) on KDE Platform 4.11.3 using Qt 4.8.5 - What I was doing when the application crashed: Looks like it's an easily reproductible crash. Just created a panorama using hugin... -- Backtrace (Reduced): #6 0x00007ff512c0b5f3 in LZWDecode (tif=0x7ff4b8074a60, op0=<optimized out>, occ0=<optimized out>, s=<optimized out>) at tif_lzw.c:433 #7 0x00007ff512c1a2d9 in TIFFReadEncodedStrip (tif=0x7ff4b8074a60, strip=38, buf=0x7ff4b811e8d0, size=2083200) at tif_read.c:357 #8 0x00007ff51f5b4eaa in Digikam::TIFFLoader::load (this=0x7ff4dad7b320, filePath=..., observer=0x761a2a0) at /usr/src/debug/digikam-3.5.0/core/libs/dimg/loaders/tiffloader.cpp:329 #9 0x00007ff51f58d56e in Digikam::DImg::load (this=this@entry=0x7ff4dad7b490, filePath=..., loadFlagsInt=13, observer=observer@entry=0x761a2a0, rawDecodingSettings=...) at /usr/src/debug/digikam-3.5.0/core/libs/dimg/dimg.cpp:449 #10 0x00007ff51f58e29a in Digikam::DImg::load (this=this@entry=0x7ff4dad7b490, filePath=..., loadMetadata=loadMetadata@entry=false, loadICCData=<optimized out>, loadUniqueHash=loadUniqueHash@entry=false, loadImageHistory=loadImageHistory@entry=false, observer=0x761a2a0, rawDecodingSettings=...) at /usr/src/debug/digikam-3.5.0/core/libs/dimg/dimg.cpp:403
It crash in libtiff... Hugin generate bugous TIFF files ? Can you share a suspected tiff file to reproduce in local. Gilles Caulier
digiKam 4.0.0 is out : http://www.digikam.org/node/713 Please check if this entry still valid with this new version. Thanks in advance Gilles Caulier
*** Bug 338586 has been marked as a duplicate of this bug. ***
As the crash is in Tiff library, please report this file as UPSTREAM to TiffLib project : http://www.remotesensing.org/libtiff/ Gilles Caulier
Ok, now I remember that hugin was running in the background when I had the crashes, putting its temporary tiff files in a digikam folder
*** Bug 345427 has been marked as a duplicate of this bug. ***
Created attachment 95613 [details] New crash information added by DrKonqi digikam (4.14.0) on KDE Platform 4.14.6 using Qt 4.8.6 - What I was doing when the application crashed: I was creating panoramas with Hugin. I think that temporary TIFF files created by Hugin could be crashed Digikam. -- Backtrace (Reduced): #7 0x00007fd9218b1c8d in TIFFReadEncodedStrip () from /usr/lib/x86_64-linux-gnu/libtiff.so.5 [...] #9 0x00007fd929230b49 in Digikam::TIFFLoader::load (this=this@entry=0x7fd8d8cd51a0, filePath=..., observer=observer@entry=0x568a300) at /build/digikam-t8Uelg/digikam-4.14.0/core/libs/dimg/loaders/tiffloader.cpp:531 #10 0x00007fd9292058f6 in Digikam::DImg::load (this=this@entry=0x7fd8d8cd5340, filePath=..., loadFlagsInt=13, observer=observer@entry=0x568a300, rawDecodingSettings=...) at /build/digikam-t8Uelg/digikam-4.14.0/core/libs/dimg/dimg.cpp:453 #11 0x00007fd9292068aa in Digikam::DImg::load (this=this@entry=0x7fd8d8cd5340, filePath=..., loadMetadata=loadMetadata@entry=false, loadICCData=<optimized out>, loadUniqueHash=loadUniqueHash@entry=false, loadImageHistory=loadImageHistory@entry=false, observer=0x568a300, rawDecodingSettings=...) at /build/digikam-t8Uelg/digikam-4.14.0/core/libs/dimg/dimg.cpp:407 #12 0x00007fd9293f0a7c in Digikam::ThumbnailCreator::loadWithDImg (this=this@entry=0x2264640, path=..., profile=profile@entry=0x7fd8d8cd5440) at /build/digikam-t8Uelg/digikam-4.14.0/core/libs/threadimageio/thumbnailcreator.cpp:616
The crash appear in LZW tiff compression decoding. Perhaps your libtiff was complied without LZW support ? Gilles Caulier