Bug 266913 - showFoto crashes when loading Lens autocorrection
Summary: showFoto crashes when loading Lens autocorrection
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-LensCorrection (show other bugs)
Version: 1.7.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 19:56 UTC by Christophe Contant
Modified: 2022-01-18 16:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments
New crash information added by DrKonqi (12.97 KB, text/plain)
2011-03-20 00:51 UTC, ramzy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Contant 2011-02-22 19:56:35 UTC
Application: showfoto (1.7.0)
KDE Platform Version: 4.5.5 (KDE 4.5.5) "release 1"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.7-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
Issue when I call Enhance - Lens - Auto Correction.
The window appears a very short time, then application crashes.
(I could not even choose lens type, or any parameter) 
I reproduced it in various conditions : with full folder loaded, with single picture loaded, as first action, after doing other actions (like color correction...)

The crash can be reproduced every time.

-- Backtrace:
Application: showFoto (showfoto), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2b98740 (LWP 14210))]

Thread 4 (Thread 0xb082bb70 (LWP 14211)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5487125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5b1d24c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb67ca710 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb76a2f94 in Digikam::ParkingThread::run (this=0x81d5950) at /usr/src/debug/digikam-1.7.0/libs/threads/threadmanager.cpp:119
#5  0xb67ca04f in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5482b25 in start_thread () from /lib/libpthread.so.0
#7  0xb5b0f46e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xafff5b70 (LWP 14212)):
#0  0xb5484fed in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb5b1d464 in pthread_mutex_lock () from /lib/libc.so.6
#2  0xb4a0b617 in g_main_context_release () from /usr/lib/libglib-2.0.so.0
#3  0xb4a0ce2e in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb4a0d31e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb68efd97 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb68c311d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb68c3319 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb67c7403 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb68a3afd in ?? () from /usr/lib/libQtCore.so.4
#10 0xb67ca04f in ?? () from /usr/lib/libQtCore.so.4
#11 0xb5482b25 in start_thread () from /lib/libpthread.so.0
#12 0xb5b0f46e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaf5c9b70 (LWP 14240)):
[KCrash Handler]
#7  0xb50de3f2 in ?? () from /usr/lib/liblensfun.so.0
#8  0xb50eadac in lfModifier::AddCoordCallbackDistortion(lfLensCalibDistortion&, bool) () from /usr/lib/liblensfun.so.0
#9  0xb50ed4df in lfModifier::Initialize(lfLens const*, lfPixelFormat, float, float, float, float, lfLensType, int, bool) () from /usr/lib/liblensfun.so.0
#10 0xb760c80c in Digikam::LensFunFilter::filterImage (this=0x8759c18) at /usr/src/debug/digikam-1.7.0/libs/dimg/filters/lens/lensfunfilter.cpp:140
#11 0xb7518730 in Digikam::DImgThreadedFilter::startFilterDirectly (this=0x8759c18) at /usr/src/debug/digikam-1.7.0/libs/dimg/filters/dimgthreadedfilter.cpp:146
#12 0xb75182af in Digikam::DImgThreadedFilter::run (this=0x8759c18) at /usr/src/debug/digikam-1.7.0/libs/dimg/filters/dimgthreadedfilter.cpp:167
#13 0xb76a46e6 in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x8892018) at /usr/src/debug/digikam-1.7.0/libs/threads/dynamicthread.cpp:306
#14 0xb67bfc2f in ?? () from /usr/lib/libQtCore.so.4
#15 0xb67ca04f in ?? () from /usr/lib/libQtCore.so.4
#16 0xb5482b25 in start_thread () from /lib/libpthread.so.0
#17 0xb5b0f46e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2b98740 (LWP 14210)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5b0475e in poll () from /lib/libc.so.6
#2  0xb36d1470 in ?? () from /usr/lib/libxcb.so.1
#3  0xb36d1a82 in ?? () from /usr/lib/libxcb.so.1
#4  0xb36d1b31 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0xb514e490 in _XSend () from /usr/lib/libX11.so.6
#6  0xb514e779 in _XFlush () from /usr/lib/libX11.so.6
#7  0xb4be4590 in XRenderChangePicture () from /usr/lib/libXrender.so.1
#8  0xb602c92f in ?? () from /usr/lib/libQtGui.so.4
#9  0xb5f7c628 in QPainter::end() () from /usr/lib/libQtGui.so.4
#10 0xb5f7c7b8 in QPainter::~QPainter() () from /usr/lib/libQtGui.so.4
#11 0xb6288407 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0xb6e36b34 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#13 0xb6e36dd2 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#14 0xb5e18c64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb5e20ca4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb6da79f1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0xb68c3e0e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0xb28e9720 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#19 0xb28deebb in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#20 0xb28e66ac in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#21 0xb68d6774 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#22 0xb5e18c64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb5e20bf7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb6da79f1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0xb68c3e0e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0xb68f270e in ?? () from /usr/lib/libQtCore.so.4
#27 0xb68ef642 in ?? () from /usr/lib/libQtCore.so.4
#28 0xb4a0c859 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb4a0d060 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb4a0d31e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb68efd4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0xb5ec919a in ?? () from /usr/lib/libQtGui.so.4
#33 0xb68c311d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0xb68c3319 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb68c7c70 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#36 0xb5e16164 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#37 0x080713cf in main (argc=-1076313432, argv=0xffffffff) at /usr/src/debug/digikam-1.7.0/showfoto/main.cpp:89

Reported using DrKonqi
Comment 1 ramzy 2011-03-20 00:51:13 UTC
Created attachment 58174 [details]
New crash information added by DrKonqi

showfoto (1.9.0) on KDE Platform 4.6.1 (4.6.1) "release 390" using Qt 4.7.2

- What I was doing when the application crashed:

I was checking some filters when i tried to see the option with different lenses, the application then crashed.
If i can give more information, please ask.

-- Backtrace (Reduced):
#8  0xb4de1b8c in lfModifier::AddCoordCallbackDistortion(lfLensCalibDistortion&, bool) () from /usr/lib/liblensfun.so.0
#9  0xb4de87ef in lfModifier::Initialize(lfLens const*, lfPixelFormat, float, float, float, float, lfLensType, int, bool) () from /usr/lib/liblensfun.so.0
#10 0xb74a005c in Digikam::LensFunFilter::filterImage (this=0x8dc45c0) at /usr/src/debug/digikam-1.9.0/libs/dimg/filters/lens/lensfunfilter.cpp:140
#11 0xb73a85b0 in Digikam::DImgThreadedFilter::startFilterDirectly (this=0x8dc45c0) at /usr/src/debug/digikam-1.9.0/libs/dimg/filters/dimgthreadedfilter.cpp:146
#12 0xb73a812f in Digikam::DImgThreadedFilter::run (this=0x8dc45c0) at /usr/src/debug/digikam-1.9.0/libs/dimg/filters/dimgthreadedfilter.cpp:167
Comment 2 caulier.gilles 2011-03-20 10:11:04 UTC

*** This bug has been marked as a duplicate of bug 261079 ***
Comment 3 caulier.gilles 2022-01-18 16:46:13 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=261079