[Digikam-devel] [Bug 227064] 1.1.0: crash on image download

Simon Bühler simon at aktionspotential.de
Fri Feb 26 16:14:51 GMT 2010


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


Simon Bühler <simon at aktionspotential.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simon at aktionspotential.de




--- Comment #8 from Simon Bühler <simon aktionspotential de>  2010-02-26 17:14:44 ---
hi,

don't know if its the same issue, here my valgrind output:

digikam(8324)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime =>
Exif.Photo.DateTimeOriginal =>  QDateTime("Sa. Jan 16 08:00:49 2010")
digikam(8324)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime =>
Exif.Photo.DateTimeOriginal =>  QDateTime("Sa. Jan 16 08:00:49 2010")
digikam(8324)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime =>
Exif.Photo.DateTimeOriginal =>  QDateTime("Sa. Jan 16 10:46:47 2010")
digikam(8324)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime =>
Exif.Photo.DateTimeOriginal =>  QDateTime("Sa. Jan 16 10:46:47 2010")
==8324== 
==8324== Thread 14:
==8324== Use of uninitialised value of size 8
==8324==    at 0xC1E0C0C: jpeg_CreateDecompress (in
/usr/lib64/libjpeg.so.8.0.0)
==8324==    by 0x16694A7B: read_jpeg_image(QIODevice*, QImage*, QByteArray
const&, QSize, int) (qjpeghandler.cpp:766)
==8324==    by 0x16695AA7: QJpegHandler::read(QImage*) (qjpeghandler.cpp:1215)
==8324==    by 0xA426EEF: QImageReader::read(QImage*) (qimagereader.cpp:1118)
==8324==    by 0xA427517: QImageReader::read() (qimagereader.cpp:1068)
==8324==    by 0xA411BC3: QImage::fromData(unsigned char const*, int, char
const*) (qimage.cpp:4695)
==8324==    by 0xA4132FC: QImage::loadFromData(unsigned char const*, int, char
const*) (qimage.cpp:4653)
==8324==    by 0x666DBAD: KExiv2Iface::KExiv2::getExifThumbnail(bool) const
(kexiv2exif.cpp:758)
==8324==    by 0x4FDB67: Digikam::UMSCamera::getThumbnail(QString const&,
QString const&, QImage&) (umscamera.cpp:227)
==8324==    by 0x4CD835:
Digikam::CameraController::executeCommand(Digikam::CameraCommand*)
(cameracontroller.cpp:447)
==8324==    by 0x4CEEC4: Digikam::CameraController::run()
(cameracontroller.cpp:334)
==8324==    by 0x98264E9: QThreadPrivate::start(void*) (qthread_unix.cpp:244)
==8324==    by 0x9CD2FC6: start_thread (in /lib64/libpthread-2.9.so)
==8324==    by 0xBD0A1FC: clone (in /lib64/libc-2.9.so)
==8324== 
==8324== Invalid write of size 4
==8324==    at 0xC1E0C0C: jpeg_CreateDecompress (in
/usr/lib64/libjpeg.so.8.0.0)
==8324==    by 0x16694A7B: read_jpeg_image(QIODevice*, QImage*, QByteArray
const&, QSize, int) (qjpeghandler.cpp:766)
==8324==    by 0x16695AA7: QJpegHandler::read(QImage*) (qjpeghandler.cpp:1215)
==8324==    by 0xA426EEF: QImageReader::read(QImage*) (qimagereader.cpp:1118)
==8324==    by 0xA427517: QImageReader::read() (qimagereader.cpp:1068)
==8324==    by 0xA411BC3: QImage::fromData(unsigned char const*, int, char
const*) (qimage.cpp:4695)
==8324==    by 0xA4132FC: QImage::loadFromData(unsigned char const*, int, char
const*) (qimage.cpp:4653)
==8324==    by 0x666DBAD: KExiv2Iface::KExiv2::getExifThumbnail(bool) const
(kexiv2exif.cpp:758)
==8324==    by 0x4FDB67: Digikam::UMSCamera::getThumbnail(QString const&,
QString const&, QImage&) (umscamera.cpp:227)
==8324==    by 0x4CD835:
Digikam::CameraController::executeCommand(Digikam::CameraCommand*)
(cameracontroller.cpp:447)
==8324==    by 0x4CEEC4: Digikam::CameraController::run()
(cameracontroller.cpp:334)
==8324==    by 0x98264E9: QThreadPrivate::start(void*) (qthread_unix.cpp:244)
==8324==    by 0x9CD2FC6: start_thread (in /lib64/libpthread-2.9.so)
==8324==    by 0xBD0A1FC: clone (in /lib64/libc-2.9.so)
==8324==  Address 0x2c is not stack'd, malloc'd or (recently) free'd
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = digikam path = /usr/bin pid = 8324
sock_file=/home/user/.kde4/socket-d-partment/kdeinit4__0

[1]+  Angehalten              valgrind --tool=memcheck --leak-check=yes
--show-reachable=yes --num-callers=20 --track-fds=yes digikam



i use libjpeg v8, recompiled libkexiv2 and digikam :(

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Digikam-devel mailing list