[Digikam-devel] [digikam] [Bug 314260] Large .tif files are not loaded

philippe.quaglia at laposte.net philippe.quaglia at laposte.net
Sun Feb 3 14:50:35 GMT 2013


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

--- Comment #6 from philippe.quaglia at laposte.net ---
Here are the libraries used in this version of Digikam: 

digiKam version 3.0.0
Exiv2 can write to Jp2: Yes
Exiv2 can write to Jpeg: Yes
Exiv2 can write to Pgf: Yes
Exiv2 can write to Png: Yes
Exiv2 can write to Tiff: Yes
Exiv2 supports XMP metadata: Yes
LibCImg: 130
LibClapack: internal library
LibExiv2: 0.23
LibJPEG: 80
LibJasper: 1.900.1
LibKDE: 4.9.4
LibKExiv2: 2.3.0
LibKGeoMap: 2.0.0
LibKdcraw: 2.2.0
LibLCMS: 119
LibLensFun: 0.2.6-0
LibLqr: internal library
LibPGF: 6.12.27 - internal library
LibPNG: 1.2.49
LibQt: 4.8.3
LibRaw: 0.15.0-Beta3
LibTIFF: LIBTIFF, Version 4.0.2 Copyright (c) 1988-1996 Sam Leffler Copyright
(c) 1991-1996 Silicon Graphics, Inc.
Marble Widget: 0.14.4 (stable release)
Parallelized PGF codec: No
Parallelized demosaicing: No
RawSpeed codec support: No
Database backend: QSQLITE
Kipi-Plugins: 3.0.0
LibGphoto2: 2.4.14
LibKface: 2.0.0
LibKipi: 2.0.0
LibOpenCV: 2.3.1
Libface: 0.2

It looks like Libtiff 4.0.2 is used. May be somethings comes from an other
library ?

Moreover, here are the error messages I get in the console during the preview.
Looks like a memory problem: 
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in
use, all queries will cease to work.
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
737912840 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_00.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_00.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
742107016 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_01.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_01.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
737388568 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_02.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_02.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
737912840 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_00.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_00.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
662548740 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_03.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_03.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
742107016 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_01.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_01.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
737388568 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_02.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_02.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
662548740 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_03.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_03.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
655864272 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
655864272 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_04.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_04.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
738699248 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_05.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_05.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_04.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_04.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
738699248 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_05.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_05.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
714189532 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_06.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_06.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
742107016 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
714189532 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_06.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_06.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_07.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_07.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
738830316 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_08.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_08.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
734636140 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
742107016 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_07.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_07.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_09.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_09.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
738830316 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_08.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_08.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
734636140 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_09.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_09.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
727165264 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_10.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_10.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
727165264 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_10.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
738043908 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_12.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_12.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
742107016 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_10.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_13.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_13.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
738961384 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_17.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_17.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
739354588 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_18.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_18.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
688762340 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_19.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_19.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
738043908 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_12.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_12.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
742107016 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
732801188 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_20.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_20.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_13.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_13.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
738961384 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_17.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_17.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
739354588 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_18.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_18.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
688762340 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_19.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_19.tif" 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 


And if I try to load an image in the editor, here is what I get:
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot
create thumbnail for  "/home/philippe/Images/TestsTif/Numb03_01.tif" 
digikam(2258)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null
for  "/home/philippe/Images/TestsTif/Numb03_01.tif" 
digikam(2258)/digikam (core): Not enough memory to allocate buffer of size
742107016 
digikam(2258)/digikam (core) Digikam::EditorCore::getImg: d->image is NULL 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 


Hope this helps...
Philippe

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



More information about the Digikam-devel mailing list