Bug 314526 - Crash at displaying preview images
Summary: Crash at displaying preview images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 15:45 UTC by Heinrich Seebauer
Modified: 2017-07-15 14:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heinrich Seebauer 2013-02-06 15:45:10 UTC
Application: digikam (2.2.0)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.10-1.16-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
Started digikam
left panel: selected view by date
a list of years is displayed
selected a certain month
digikam crasehd

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff946d557e0 (LWP 21316))]

Thread 11 (Thread 0x7ff924a15700 (LWP 21318)):
#0  0x00007ff93e3aae6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff941ff74bb in wait (time=18446744073709551615, this=0xd6a990) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xd6a838, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005d09d0 in Digikam::ScanController::run (this=0xd6a4b0) at /usr/src/debug/digikam-2.2.0/core/digikam/database/scancontroller.cpp:647
#4  0x00007ff941ff7025 in QThreadPrivate::start (arg=0xd6a4b0) at thread/qthread_unix.cpp:331
#5  0x00007ff93e3a6f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff94063810d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7ff91ffff700 (LWP 21319)):
#0  0x00007ff94062eff3 in poll () from /lib64/libc.so.6
#1  0x00007ff9388adae8 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff9388adfa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff942108586 in QEventDispatcherGlib::processEvents (this=0x7ff9180008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff9420dca32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff9420dcc2f in QEventLoop::exec (this=0x7ff91fffed70, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff941ff45df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007ff9420bfaff in QInotifyFileSystemWatcherEngine::run (this=0xd6abb0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff941ff7025 in QThreadPrivate::start (arg=0xd6abb0) at thread/qthread_unix.cpp:331
#9  0x00007ff93e3a6f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff94063810d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7ff8ffaff700 (LWP 21344)):
[KCrash Handler]
#6  0x00007ff94067e65e in __memcpy_ssse3 () from /lib64/libc.so.6
#7  0x00007ff93ee65154 in png_read_row (png_ptr=0x7ff8f4255fb0, row=0x7ff8b4014810 "", dsp_row=0x0) at pngread.c:667
#8  0x00007ff93ee653f3 in png_read_rows (png_ptr=0x7ff8f4255fb0, row=0x7ff8f4337f80, display_row=<optimized out>, num_rows=1) at pngread.c:729
#9  0x00007ff94453e750 in Digikam::PNGLoader::load (this=0x7ff8ffafddd0, filePath=<optimized out>, observer=0x32d4540) at /usr/src/debug/digikam-2.2.0/core/libs/dimg/loaders/pngloader.cpp:538
#10 0x00007ff94451f7e5 in Digikam::DImg::load (this=0x7ff8ffafe4d0, filePath=..., loadFlagsInt=13, observer=0x32d4540, rawDecodingSettings=...) at /usr/src/debug/digikam-2.2.0/core/libs/dimg/dimg.cpp:460
#11 0x00007ff944520890 in Digikam::DImg::load (this=0x7ff8ffafe4d0, filePath=..., loadMetadata=<optimized out>, loadICCData=<optimized out>, loadUniqueHash=<optimized out>, loadImageHistory=<optimized out>, observer=0x32d4540, rawDecodingSettings=...) at /usr/src/debug/digikam-2.2.0/core/libs/dimg/dimg.cpp:400
#12 0x00007ff9446f376a in Digikam::ThumbnailCreator::loadWithDImg (this=0xec33c0, path=..., profile=0x7ff8ffafe690) at /usr/src/debug/digikam-2.2.0/core/libs/threadimageio/thumbnailcreator.cpp:558
#13 0x00007ff9446f42ab in Digikam::ThumbnailCreator::createThumbnail (this=0xec33c0, info=<optimized out>, detailRect=<optimized out>, isFace=false) at /usr/src/debug/digikam-2.2.0/core/libs/threadimageio/thumbnailcreator.cpp:487
#14 0x00007ff9446f4910 in Digikam::ThumbnailCreator::load (this=0xec33c0, path=..., rect=..., pregenerate=true) at /usr/src/debug/digikam-2.2.0/core/libs/threadimageio/thumbnailcreator.cpp:257
#15 0x00007ff9446f5d0d in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, path=<optimized out>) at /usr/src/debug/digikam-2.2.0/core/libs/threadimageio/thumbnailcreator.cpp:180
#16 0x00007ff944704d10 in Digikam::ThumbnailLoadingTask::execute (this=0x32d4530) at /usr/src/debug/digikam-2.2.0/core/libs/threadimageio/thumbnailtask.cpp:79
#17 0x00007ff9446d4e06 in Digikam::LoadSaveThread::run (this=0xf6d250) at /usr/src/debug/digikam-2.2.0/core/libs/threadimageio/loadsavethread.cpp:118
#18 0x00007ff94471946e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0xf5d260) at /usr/src/debug/digikam-2.2.0/core/libs/threads/dynamicthread.cpp:328
#19 0x00007ff941febe15 in QThreadPoolThread::run (this=0x2e5d7f0) at concurrent/qthreadpool.cpp:106
#20 0x00007ff941ff7025 in QThreadPrivate::start (arg=0x2e5d7f0) at thread/qthread_unix.cpp:331
#21 0x00007ff93e3a6f05 in start_thread () from /lib64/libpthread.so.0
#22 0x00007ff94063810d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7ff8ee4a8700 (LWP 21363)):
#0  0x00007ff93c405b36 in ?? () from /usr/lib64/libgomp.so.1
#1  0x00007ff93c40469e in ?? () from /usr/lib64/libgomp.so.1
#2  0x00007ff93e3a6f05 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff94063810d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7ff8edca7700 (LWP 21364)):
#0  0x00007ff93c405b36 in ?? () from /usr/lib64/libgomp.so.1
#1  0x00007ff93c40469e in ?? () from /usr/lib64/libgomp.so.1
#2  0x00007ff93e3a6f05 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff94063810d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ff8ed4a6700 (LWP 21365)):
#0  0x00007ff93c405b36 in ?? () from /usr/lib64/libgomp.so.1
#1  0x00007ff93c40469e in ?? () from /usr/lib64/libgomp.so.1
#2  0x00007ff93e3a6f05 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff94063810d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ff8ecca5700 (LWP 21366)):
#0  0x00007ff93c405b36 in ?? () from /usr/lib64/libgomp.so.1
#1  0x00007ff93c40469e in ?? () from /usr/lib64/libgomp.so.1
#2  0x00007ff93e3a6f05 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff94063810d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ff8cbfff700 (LWP 21367)):
#0  0x00007ff93c405b36 in ?? () from /usr/lib64/libgomp.so.1
#1  0x00007ff93c40469e in ?? () from /usr/lib64/libgomp.so.1
#2  0x00007ff93e3a6f05 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff94063810d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff8cb7fe700 (LWP 21368)):
#0  0x00007ff93c405b36 in ?? () from /usr/lib64/libgomp.so.1
#1  0x00007ff93c40469e in ?? () from /usr/lib64/libgomp.so.1
#2  0x00007ff93e3a6f05 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff94063810d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff8caffd700 (LWP 21369)):
#0  0x00007ff93c405b36 in ?? () from /usr/lib64/libgomp.so.1
#1  0x00007ff93c40469e in ?? () from /usr/lib64/libgomp.so.1
#2  0x00007ff93e3a6f05 in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff94063810d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff946d557e0 (LWP 21316)):
#0  0x00007ff93e3aae6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff941ff74bb in wait (time=18446744073709551615, this=0xe96bb0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf51cb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff941feb721 in QThreadPoolPrivate::waitForDone (this=0xf51c20) at concurrent/qthreadpool.cpp:295
#4  0x00007ff941fecbef in QThreadPool::~QThreadPool (this=0xf51c00, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:428
#5  0x00007ff941fecc29 in QThreadPool::~QThreadPool (this=0xf51c00, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:430
#6  0x00007ff9420ef465 in QObjectPrivate::deleteChildren (this=0xf53280) at kernel/qobject.cpp:1964
#7  0x00007ff9420f4a09 in QObject::~QObject (this=0xf4c760, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#8  0x00007ff944716d27 in ~ThreadManagerCreator (this=0xf4c760, __in_chrg=<optimized out>) at /usr/src/debug/digikam-2.2.0/core/libs/threads/threadmanager.cpp:236
#9  destroy () at /usr/src/debug/digikam-2.2.0/core/libs/threads/threadmanager.cpp:241
#10 0x00007ff9405949a1 in __run_exit_handlers () from /lib64/libc.so.6
#11 0x00007ff940594a25 in exit () from /lib64/libc.so.6
#12 0x00007ff92d17e014 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#13 0x00007ff942b2d118 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#14 0x00007ff93e94351e in _XIOError () from /usr/lib64/libX11.so.6
#15 0x00007ff93e940e2d in _XEventsQueued () from /usr/lib64/libX11.so.6
#16 0x00007ff93e93181f in XEventsQueued () from /usr/lib64/libX11.so.6
#17 0x00007ff9412d7e3c in ?? () from /usr/lib64/libQtGui.so.4
#18 0x00007ff9388ad2b4 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#19 0x00007ff9388adb02 in ?? () from /usr/lib64/libglib-2.0.so.0
#20 0x00007ff9388adfa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007ff94210851f in QEventDispatcherGlib::processEvents (this=0xb21140, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#22 0x00007ff9412d800e in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007ff9420dca32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007ff9420dcc2f in QEventLoop::exec (this=0x7fff79e97300, flags=...) at kernel/qeventloop.cpp:201
#25 0x00007ff9420e0df7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#26 0x000000000049407d in main (argc=5, argv=<optimized out>) at /usr/src/debug/digikam-2.2.0/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 caulier.gilles 2013-02-06 15:49:53 UTC
It crash in-deep in libpng/libc when thumbnail are created.

Please try with a more recent version as last 2.9.0

Gilles Caulier
Comment 2 caulier.gilles 2015-06-30 08:05:18 UTC
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?
Comment 3 Heinrich Seebauer 2015-07-04 19:11:49 UTC
Downloaded 4.11 as requested and tried to compile it on a separate VM - BTW not exactly a simple task.
After several hours I got it up & running - it showed up as Version 4.6.0.
On my (physical) PC version 4.6.0 had been installed already from the suse repos.
Can someone please explain this annoying difference? Is 4.11 == 4.6? Or does it simply show the wrong version number?

On 4.6.0 the bug does not show up.
Comment 4 caulier.gilles 2015-07-04 22:11:56 UTC
digiKam 4.11.0 versus 4.6.0 = around 300 bug fixes

Gilles Caulier