Bug 285319 - Digikam crashes when opening another picture for editing
Summary: Digikam crashes when opening another picture for editing
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: DImg-Core (show other bugs)
Version: 2.1.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-30 14:52 UTC by mathieu.langer
Modified: 2019-07-28 01:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mathieu.langer 2011-10-30 14:52:16 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

I had just saved an edited picture, and clicked on another one for editing. Digikam just crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7ff00af96a20 (LWP 8884))]

Thread 12 (Thread 0x7fefe8e40700 (LWP 8942)):
#0  0x00007ff00064b1fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x1e35ef8) at pthread_mutex_unlock.c:290
#2  0x00007feffe725013 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feffe725792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007feff49d3516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007feffe74a2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ff000647efc in start_thread (arg=0x7fefe8e40700) at pthread_create.c:304
#7  0x00007ff004bac89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fefdfb47700 (LWP 8943)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff00590a1ab in wait (time=18446744073709551615, this=0x1f7d7c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1f7d668, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005c2e20 in Digikam::ScanController::run (this=0x1f7d2e0) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#4  0x00007ff005909d05 in QThreadPrivate::start (arg=0x1f7d2e0) at thread/qthread_unix.cpp:331
#5  0x00007ff000647efc in start_thread (arg=0x7fefdfb47700) at pthread_create.c:304
#6  0x00007ff004bac89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fefdf346700 (LWP 8944)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ff004b499df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ff004b47d71 in __GI___libc_free (mem=0x7ff004e651c0) at malloc.c:3736
#3  0x00007ff005a1b665 in socketNotifierSourceCheck (source=0x1ec50c0) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007feffe724734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007feffe724f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007feffe725429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ff005a1bed6 in QEventDispatcherGlib::processEvents (this=0x1ec5530, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007ff0059efcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007ff0059efef7 in QEventLoop::exec (this=0x7fefdf345b30, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007ff00590727f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#11 0x00007ff0059d2cbf in QInotifyFileSystemWatcherEngine::run (this=0x1ec1df0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007ff005909d05 in QThreadPrivate::start (arg=0x1ec1df0) at thread/qthread_unix.cpp:331
#13 0x00007ff000647efc in start_thread (arg=0x7fefdf346700) at pthread_create.c:304
#14 0x00007ff004bac89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fefdeb45700 (LWP 9003)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff00590a1ab in wait (time=18446744073709551615, this=0x2176230) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2175db8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff00884e737 in Digikam::ParkingThread::run (this=0x2175da0) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#4  0x00007ff005909d05 in QThreadPrivate::start (arg=0x2175da0) at thread/qthread_unix.cpp:331
#5  0x00007ff000647efc in start_thread (arg=0x7fefdeb45700) at pthread_create.c:304
#6  0x00007ff004bac89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fefdd22b700 (LWP 9052)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ff004b499df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ff004b47d71 in __GI___libc_free (mem=0x7ff004e651c0) at malloc.c:3736
#3  0x00007feffe7204e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff005a1bc37 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x2449de0, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00007ff005a1be49 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x2449de0, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007ff005908e34 in QThreadPrivate::finish (arg=0x7ff005d24580) at thread/qthread_unix.cpp:367
#7  0x00007ff005909d0d in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#8  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:824
#9  QThreadPrivate::start (arg=0x7ff005d24580) at thread/qthread_unix.cpp:290
#10 0x00007ff000647efc in start_thread (arg=0x7fefdd22b700) at pthread_create.c:304
#11 0x00007ff004bac89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fefbe7f4700 (LWP 9562)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ff004b49a15 in _L_lock_10656 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ff004b47ecd in __GI___libc_realloc (oldmem=0x7ff004e651c0, bytes=256) at malloc.c:3813
#3  0x00007ff005927436 in QListData::realloc (this=0x2176368, alloc=29) at tools/qlist.cpp:221
#4  0x00007ff0059274f8 in QListData::append (this=0x2176368, n=1) at tools/qlist.cpp:243
#5  0x00007ff0058ffa7c in QList<QThreadPoolThread*>::append (this=<optimized out>, t=@0x7fefbe7f3b78) at ../../include/QtCore/../../src/corelib/tools/qlist.h:517
#6  0x00007ff0058fe6d7 in enqueue (t=@0x7fefbe7f3b78, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qqueue.h:59
#7  QThreadPoolThread::run (this=0x51303a0) at concurrent/qthreadpool.cpp:147
#8  0x00007ff005909d05 in QThreadPrivate::start (arg=0x51303a0) at thread/qthread_unix.cpp:331
#9  0x00007ff000647efc in start_thread (arg=0x7fefbe7f4700) at pthread_create.c:304
#10 0x00007ff004bac89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fefbdff3700 (LWP 9628)):
[KCrash Handler]
#6  0x00007ff004b013a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007ff004b04b0b in __GI_abort () at abort.c:92
#8  0x00007ff004b39113 in __libc_message (do_abort=2, fmt=0x7ff004c2a0d8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007ff004b43a96 in malloc_printerr (action=3, str=0x7ff004c2a258 "double free or corruption (out)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007ff004b47d7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007ff0086527a9 in Digikam::DImg::rotate (this=0x4582b50, angle=<optimized out>) at /build/buildd/digikam-2.1.1/core/libs/dimg/dimg.cpp:2260
#12 0x00007ff008652ca7 in Digikam::DImg::rotateAndFlip (this=0x4582b50, orientation=<optimized out>) at /build/buildd/digikam-2.1.1/core/libs/dimg/dimg.cpp:2457
#13 0x00007ff00880bee9 in Digikam::LoadSaveThread::exifRotate (image=..., filePath=...) at /build/buildd/digikam-2.1.1/core/libs/threadimageio/loadsavethread.cpp:276
#14 0x00007ff008821881 in Digikam::PreviewLoadingTask::execute (this=0x4582960) at /build/buildd/digikam-2.1.1/core/libs/threadimageio/previewtask.cpp:185
#15 0x00007ff00880b7e6 in Digikam::LoadSaveThread::run (this=0x2186860) at /build/buildd/digikam-2.1.1/core/libs/threadimageio/loadsavethread.cpp:118
#16 0x00007ff00884fe3e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x218ab60) at /build/buildd/digikam-2.1.1/core/libs/threads/dynamicthread.cpp:328
#17 0x00007ff0058fe795 in QThreadPoolThread::run (this=0x7fefc40cb670) at concurrent/qthreadpool.cpp:106
#18 0x00007ff005909d05 in QThreadPrivate::start (arg=0x7fefc40cb670) at thread/qthread_unix.cpp:331
#19 0x00007ff000647efc in start_thread (arg=0x7fefbdff3700) at pthread_create.c:304
#20 0x00007ff004bac89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fefbd7f2700 (LWP 9629)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ff004b499df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ff004b47d71 in __GI___libc_free (mem=0x7ff004e651c0) at malloc.c:3736
#3  0x00007feffe7204e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff005a1bc37 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x458ec70, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00007ff005a1be49 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x458ec70, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007ff005908e34 in QThreadPrivate::finish (arg=0x4224730) at thread/qthread_unix.cpp:367
#7  0x00007ff005909d0d in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#8  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:824
#9  QThreadPrivate::start (arg=0x4224730) at thread/qthread_unix.cpp:290
#10 0x00007ff000647efc in start_thread (arg=0x7fefbd7f2700) at pthread_create.c:304
#11 0x00007ff004bac89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fefc9a09700 (LWP 9631)):
#0  0x00007ff000fc83b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ff000fc6ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ff000647efc in start_thread (arg=0x7fefc9a09700) at pthread_create.c:304
#3  0x00007ff004bac89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fefc17fa700 (LWP 9632)):
#0  0x00007ff000fc83b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ff000fc6ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ff000647efc in start_thread (arg=0x7fefc17fa700) at pthread_create.c:304
#3  0x00007ff004bac89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fefcff76700 (LWP 9633)):
#0  0x00007ff000fc83b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ff000fc6ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ff000647efc in start_thread (arg=0x7fefcff76700) at pthread_create.c:304
#3  0x00007ff004bac89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff00af96a20 (LWP 8884)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ff004b49a15 in _L_lock_10656 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ff004b47ecd in __GI___libc_realloc (oldmem=0x7ff004e651c0, bytes=192) at malloc.c:3813
#3  0x00007feff18fafc7 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#4  0x00007feff18e15a9 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#5  0x00007feff18ee16b in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#6  0x00007feff18f0d15 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#7  0x00007feff18f0daa in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#8  0x00007feff18f8df6 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#9  0x00007feff193b88b in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#10 0x00007feff193d272 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#11 0x00007feff19413ba in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#12 0x00007feff19415c9 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#13 0x00007feff1941708 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#14 0x00007fefde13e5fb in QSQLiteResult::prepare (this=0x419da30, query=...) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:327
#15 0x00007ff00abb8f10 in QSqlResult::savePrepare (this=0x419da30, query=...) at kernel/qsqlresult.cpp:600
#16 0x00007ff00ababfbb in QSqlQuery::prepare (this=0x7fff69030028, query=...) at kernel/qsqlquery.cpp:924
#17 0x00007ff0087f93e2 in Digikam::SqlQuery::prepare (this=0x7fff69030020, query=...) at /build/buildd/digikam-2.1.1/core/libs/database/sqlquery.cpp:52
#18 0x00007ff0087e339c in Digikam::DatabaseCoreBackend::prepareQuery (this=0x1f866c0, sql=...) at /build/buildd/digikam-2.1.1/core/libs/database/databasecorebackend.cpp:1459
#19 0x00007ff0087e39f9 in Digikam::DatabaseCoreBackend::execQuery (this=0x1f866c0, sql=<optimized out>, boundValue1=..., boundValue2=...) at /build/buildd/digikam-2.1.1/core/libs/database/databasecorebackend.cpp:1004
#20 0x00007ff0087e57c0 in Digikam::DatabaseCoreBackend::execSql (this=0x1f866c0, sql=<optimized out>, boundValue1=<optimized out>, boundValue2=<optimized out>, values=0x7fff69030150, lastInsertId=0x0) at /build/buildd/digikam-2.1.1/core/libs/database/databasecorebackend.cpp:903
#21 0x00007ff008181ef5 in Digikam::AlbumDB::findByNameAndCreationDate (this=0x1f86ea0, fileName=..., creationDate=<optimized out>) at /build/buildd/digikam-2.1.1/core/libs/database/albumdb.cpp:2042
#22 0x00007ff0081f91b2 in Digikam::ImageScanner::resolveHistoryImageId (historyId=...) at /build/buildd/digikam-2.1.1/core/libs/database/imagescanner.cpp:908
#23 0x00007ff0081fb69e in Digikam::ImageScanner::resolvedImageHistory (history=<optimized out>, mustBeAvailable=false) at /build/buildd/digikam-2.1.1/core/libs/database/imagescanner.cpp:796
#24 0x000000000048acee in Digikam::ImageWindow::resolvedImageHistory (this=<optimized out>, history=<optimized out>) at /build/buildd/digikam-2.1.1/core/utilities/imageeditor/editor/imagewindow.cpp:1735
#25 0x00007ff00893cee2 in Digikam::EditorWindow::slotLoadingFinished (this=0x31cb8d0, success=<optimized out>) at /build/buildd/digikam-2.1.1/core/utilities/imageeditor/editor/editorwindow.cpp:1767
#26 0x00007ff00894bf80 in Digikam::EditorWindow::qt_metacall (this=0x31cb8d0, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff690305e0) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/editorwindow.moc:219
#27 0x00000000004910a0 in Digikam::ImageWindow::qt_metacall (this=0x31cb8d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff690305e0) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/imagewindow.moc:132
#28 0x00007ff005a03eba in QMetaObject::activate (sender=0x31ef970, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff690305e0) at kernel/qobject.cpp:3278
#29 0x00007ff008922d96 in Digikam::Canvas::signalLoadingFinished (this=<optimized out>, _t1=<optimized out>, _t2=true) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/canvas.moc:262
#30 0x00007ff008927283 in Digikam::Canvas::slotImageLoaded (this=0x31ef970, filePath=..., success=true) at /build/buildd/digikam-2.1.1/core/utilities/imageeditor/canvas/canvas.cpp:295
#31 0x00007ff008928dcb in Digikam::Canvas::qt_metacall (this=0x31ef970, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff69030790) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/canvas.moc:182
#32 0x00007ff005a03eba in QMetaObject::activate (sender=0x31f11e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff69030790) at kernel/qobject.cpp:3278
#33 0x00007ff008916166 in Digikam::DImgInterface::signalImageLoaded (this=<optimized out>, _t1=<optimized out>, _t2=true) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/dimginterface.moc:163
#34 0x00007ff00891700c in Digikam::DImgInterface::slotImageLoaded (this=0x31f11e0, loadingDescription=<optimized out>, img=<optimized out>) at /build/buildd/digikam-2.1.1/core/utilities/imageeditor/canvas/dimginterface.cpp:449
#35 0x00007ff0089200f4 in Digikam::DImgInterface::qt_metacall (this=0x31f11e0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fefe43529f0) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/dimginterface.moc:113
#36 0x00007ff005a07a5e in QObject::event (this=0x31f11e0, e=<optimized out>) at kernel/qobject.cpp:1217
#37 0x00007ff0063f1424 in notify_helper (e=0x7fefe40c1370, receiver=0x31f11e0, this=0x1cb8ae0) at kernel/qapplication.cpp:4486
#38 QApplicationPrivate::notify_helper (this=0x1cb8ae0, receiver=0x31f11e0, e=0x7fefe40c1370) at kernel/qapplication.cpp:4458
#39 0x00007ff0063f6291 in QApplication::notify (this=0x7fff69031150, receiver=0x31f11e0, e=0x7fefe40c1370) at kernel/qapplication.cpp:4365
#40 0x00007ff007105126 in KApplication::notify (this=0x7fff69031150, receiver=0x31f11e0, event=0x7fefe40c1370) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x00007ff0059f0afc in QCoreApplication::notifyInternal (this=0x7fff69031150, receiver=0x31f11e0, event=0x7fefe40c1370) at kernel/qcoreapplication.cpp:787
#42 0x00007ff0059f451f in sendEvent (event=0x7fefe40c1370, receiver=0x31f11e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1c5bbd0) at kernel/qcoreapplication.cpp:1428
#44 0x00007ff005a1ba73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#46 0x00007feffe724a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007feffe725258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007feffe725429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007ff005a1bed6 in QEventDispatcherGlib::processEvents (this=0x1cb94b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#50 0x00007ff00649907e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007ff0059efcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007ff0059efef7 in QEventLoop::exec (this=0x7fff69030fd0, flags=...) at kernel/qeventloop.cpp:201
#53 0x00007ff0059f4789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#54 0x00000000004893fd in main (argc=1, argv=<optimized out>) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 284447, bug 283789, bug 275298, bug 257248, bug 257160.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-10-30 16:45:23 UTC
Crash appears in memory allocation from libc. image is huge in memory ? How do you have of RAM on your computer ?

Gilles Caulier
Comment 2 mathieu.langer 2011-10-30 17:01:37 UTC
Hi,

The pictures I edited were of the order of 6 or 7 MB, & I have 4GB of RAM. 

Mathieu.
Comment 3 caulier.gilles 2011-10-30 17:11:29 UTC
JPEG or RAW ?

What do you do in editor to modify image before to save changes ?

Gilles Caulier
Comment 4 mathieu.langer 2011-10-30 17:17:09 UTC
Both JPEG and RAW. I did modify the contrast, hue, saturation, colors, brightness, sharpness, blurring, etc., sometimes I even rescaled the pictures. I didn't notice any pattern in the sequence of events leading to the crash... Sorry.
Comment 5 caulier.gilles 2011-10-30 17:28:05 UTC
Can you reproduce the crash with other image in a new digiKam instance ?

Have you edited other images before to edit this special image which crash editor ?

Perhaps ther is a memory leak somewhere. It can be usefull to run digiKam through valgrind and report console trace for investiguations. Look into HACKING file for details :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/HACKING#L281

Note : with valgrind, speed will be divided by 10.

Gilles Caulier
Comment 6 mathieu.langer 2011-10-30 17:36:30 UTC
As I posted initially: yes, it can be reproduced (at least on my computer, I admit). On random pictures. I experienced this crash several times (not too many, fortunately) before reporting it. There was nothing special about the picture I edited just before reporting the crash.

I may try running digikam through valgrind (though I never heard of that before). If I do, I will report the console trace.

Mathieu.
Comment 7 caulier.gilles 2011-11-03 12:42:45 UTC
digiKam 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 8 caulier.gilles 2011-11-24 11:43:04 UTC
Mathieu,

Can you reproduce the crash with digiKam 2.3.0 ?

Gilles Caulier
Comment 9 caulier.gilles 2011-12-18 17:09:05 UTC
Mathieu,

This file still valid using digiKam 2.4 ?

Gilles Caulier
Comment 10 caulier.gilles 2012-06-02 16:18:34 UTC

*** This bug has been marked as a duplicate of bug 301051 ***
Comment 11 caulier.gilles 2019-07-28 01:51:07 UTC
Fixed with bug #301051