Bug 301072 - Application crash when using curves correction
Summary: Application crash when using curves correction
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-Curves (show other bugs)
Version: 2.6.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-02 21:22 UTC by boivin.jerome
Modified: 2017-08-07 08:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description boivin.jerome 2012-06-02 21:22:09 UTC
Application: digikam (2.6.0-rc)
KDE Platform Version: 4.6.5 (4.6.5) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-15-generic x86_64
Distribution: Ubuntu 11.04

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

I was trying to edit curves on a photography. Digikam opens a file browser to select a curve file. I selected none and clicked cancel.

The crash can be reproduced every time.

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

Thread 7 (Thread 0x7f92ed6b0700 (LWP 2589)):
#0  0x00007f9303edaae3 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f92fd8dd104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f92fd8dd9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f92f8a00c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f92fd9043e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9303be9d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f9303ee7c2d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f92deece700 (LWP 2591)):
#0  0x00007f9303beebac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f9304f1382b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00000000005cd1f0 in Digikam::ScanController::run (this=0x289bad0) at /home/jerome/Téléchargements/digikam-software-compilation-2.6.0-rc/core/digikam/database/scancontroller.cpp:698
#3  0x00007f9304f13175 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f9303be9d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f9303ee7c2d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f92de6cd700 (LWP 2592)):
#0  0x00007f9303bec3ce in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f92fd8dd0cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f92fd8dd639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9305025446 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f9304ff9882 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f9304ff9abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f9304f10924 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f9304fdbc2f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f9304f13175 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f9303be9d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f9303ee7c2d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f92e4ba3700 (LWP 2700)):
#0  0x00007f9303beebac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f9304f1382b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f9309a734a7 in Digikam::ParkingThread::run (this=0x2ab4450) at /home/jerome/Téléchargements/digikam-software-compilation-2.6.0-rc/core/libs/threads/threadmanager.cpp:119
#3  0x00007f9304f13175 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f9303be9d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f9303ee7c2d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f92ddecc700 (LWP 2756)):
#0  0x00007f9303beef2b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f9304f1379e in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f9304f08218 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f9304f13175 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f9303be9d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f9303ee7c2d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f92cb8ae700 (LWP 2759)):
#0  0x00007f9302cf5097 in ?? () from /lib/x86_64-linux-gnu/libz.so.1
#1  0x00007f9302cf574c in ?? () from /lib/x86_64-linux-gnu/libz.so.1
#2  0x00007f9302cf6b4a in deflate () from /lib/x86_64-linux-gnu/libz.so.1
#3  0x00007f9302f17f56 in ?? () from /lib/x86_64-linux-gnu/libpng12.so.0
#4  0x00007f9302f183a9 in ?? () from /lib/x86_64-linux-gnu/libpng12.so.0
#5  0x00007f9302f1bca9 in png_write_row () from /lib/x86_64-linux-gnu/libpng12.so.0
#6  0x00007f9302f1bec9 in png_write_image () from /lib/x86_64-linux-gnu/libpng12.so.0
#7  0x00007f9305d0f38a in ?? () from /usr/lib/libQtGui.so.4
#8  0x00007f9305d0fa06 in ?? () from /usr/lib/libQtGui.so.4
#9  0x00007f9305ce0913 in QImageWriter::write(QImage const&) () from /usr/lib/libQtGui.so.4
#10 0x00007f9305ccdae4 in QImage::save(QString const&, char const*, int) const () from /usr/lib/libQtGui.so.4
#11 0x00007f9309a50b54 in Digikam::ThumbnailCreator::storeFreedesktop (this=<value optimized out>, info=<value optimized out>, image=<value optimized out>) at /home/jerome/Téléchargements/digikam-software-compilation-2.6.0-rc/core/libs/threadimageio/thumbnailcreator.cpp:1075
#12 0x00007f9309a53951 in Digikam::ThumbnailCreator::load (this=0x2ad1d50, path=..., rect=..., pregenerate=true) at /home/jerome/Téléchargements/digikam-software-compilation-2.6.0-rc/core/libs/threadimageio/thumbnailcreator.cpp:275
#13 0x00007f9309a54ccd in Digikam::ThumbnailCreator::pregenerate (this=<value optimized out>, path=<value optimized out>) at /home/jerome/Téléchargements/digikam-software-compilation-2.6.0-rc/core/libs/threadimageio/thumbnailcreator.cpp:181
#14 0x00007f9309a63770 in Digikam::ThumbnailLoadingTask::execute (this=0x4b9fdd0) at /home/jerome/Téléchargements/digikam-software-compilation-2.6.0-rc/core/libs/threadimageio/thumbnailtask.cpp:80
#15 0x00007f9309a35c06 in Digikam::LoadSaveThread::run (this=0x2aee2c0) at /home/jerome/Téléchargements/digikam-software-compilation-2.6.0-rc/core/libs/threadimageio/loadsavethread.cpp:136
#16 0x00007f9309a746ae in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x2b91fe0) at /home/jerome/Téléchargements/digikam-software-compilation-2.6.0-rc/core/libs/threads/dynamicthread.cpp:186
#17 0x00007f9304f08188 in ?? () from /usr/lib/libQtCore.so.4
#18 0x00007f9304f13175 in ?? () from /usr/lib/libQtCore.so.4
#19 0x00007f9303be9d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#20 0x00007f9303ee7c2d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#21 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f930cae9a20 (LWP 2588)):
[KCrash Handler]
#6  0x00007f92cdc2da53 in Digikam::UndoManager::anyMoreRedo() () from /usr/lib/libdigikamcore.so.1
#7  0x00007f92cdc2daa2 in Digikam::UndoManager::clearRedoActions() () from /usr/lib/libdigikamcore.so.1
#8  0x00007f92cdc2db9a in Digikam::UndoManager::addAction(Digikam::UndoAction*) () from /usr/lib/libdigikamcore.so.1
#9  0x00007f92cdc38391 in Digikam::DImgInterface::putImage(QString const&, unsigned char*, int, int, bool) () from /usr/lib/libdigikamcore.so.1
#10 0x00007f92cdf5afc8 in ?? () from /usr/lib/kde4/digikamimageplugin_color.so
#11 0x00007f9309b59c67 in Digikam::EditorToolThreaded::slotFilterFinished (this=0x4c71ff0, success=<value optimized out>) at /home/jerome/Téléchargements/digikam-software-compilation-2.6.0-rc/core/utilities/imageeditor/editor/editortool.cpp:472
#12 0x00007f9309b5a07c in Digikam::EditorToolThreaded::qt_metacall (this=0x4c71ff0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f92e8158e50) at /home/jerome/Téléchargements/digikam-software-compilation-2.6.0-rc/build/core/digikam/editortool.moc:199
#13 0x00007f92cdf5b140 in ?? () from /usr/lib/kde4/digikamimageplugin_color.so
#14 0x00007f930500e49a in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007f9305c119f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007f9305c163ba in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007f93069356c6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0x00007f9304ffa49c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007f9304ffdc25 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#20 0x00007f9305025253 in ?? () from /usr/lib/libQtCore.so.4
#21 0x00007f92fd8dcbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f92fd8dd3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f92fd8dd639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f93050253ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007f9305cbb4de in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f9304ff9882 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007f9304ff9abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007f9304ffdecb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0x00000000006a3e15 in main (argc=1, argv=0x7fff77814368) at /home/jerome/Téléchargements/digikam-software-compilation-2.6.0-rc/core/digikam/main/main.cpp:232

This bug may be a duplicate of or related to bug 265058.

Possible duplicates by query: bug 265058.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-06-02 21:26:01 UTC
It crash in undo manager from image editor.

Do you have your system temp dir used to store undo images with no free space ?
Comment 2 boivin.jerome 2012-06-03 08:08:38 UTC
No, my hd has still 400GB free. The call stack on thread 1 effectively shows Digikam::UndoManager::anyMoreRedo(), but I didn't have a look at code yet... By the way, not using ramfs on /tmp
Comment 3 caulier.gilles 2012-06-03 10:41:02 UTC
On my system, undo files are written into /var/... (Mageia2 Linux)

Gilles Caulier
Comment 4 Marcel Wiesweg 2012-06-03 15:42:16 UTC
Code from anyMoreRedo:
bool UndoManager::anyMoreRedo() const
{
    return !d->redoActions.isEmpty();
}

Debug info would be helpful. Also ensure that the imageplugin_color.so matches the digikam version.
Comment 5 caulier.gilles 2012-06-22 08:53:27 UTC
Official digiKam 2.6.0 release is out since few days now :

http://www.digikam.org/drupal/node/656

Please, check if this entry still valid, or update report accordingly.

Thanks in advance.

Gilles Caulier
Comment 6 boivin.jerome 2012-06-22 10:15:28 UTC
Was a libraries dependencies conflict. Sorry, and thanks for helping !