Bug 266788 - showFoto crashes when opening a photo
Summary: showFoto crashes when opening a photo
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Showfoto-Load (show other bugs)
Version: 2.0.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 06:43 UTC by ZH
Modified: 2022-02-04 22:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ZH 2011-02-21 06:43:15 UTC
Application: showfoto (2.0.0-beta3)
KDE Platform Version: 4.6.00 (4.6.0) "release 381"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.1-14-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
At first i just opened a photo with showFoto in digiKam2,but showFoto crashed.
Then i launched showFoto then tried to open the same photo but showFoto crashed again.
using digiKam 2.0.0 beta 3.

The crash can be reproduced every time.

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

Thread 3 (Thread 0xa86c9b70 (LWP 6766)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53da125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5451aa0 in wait (this=0x82582b0, mutex=0x82582ac, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x82582b0, mutex=0x82582ac, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb74dcc98 in Digikam::ParkingThread::run (this=0x82582a0) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/threads/threadmanager.cpp:119
#5  0xb545139a in QThreadPrivate::start (arg=0x82582a0) at thread/qthread_unix.cpp:285
#6  0xb53d5b25 in start_thread () from /lib/libpthread.so.0
#7  0xb520046e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa7239b70 (LWP 6769)):
#0  0xb359722b in clock_gettime () from /lib/librt.so.1
#1  0xb54ac265 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb557fd26 in updateCurrentTime (this=0x851f634, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x851f634, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb557e55b in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa7238f9c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb557e5fd in timerSourcePrepare (source=0x851f600, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb423d0c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0xb423df22 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb423e60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0xb557eda7 in QEventDispatcherGlib::processEvents (this=0x849bd08, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb554f89d in QEventLoop::processEvents (this=0xa7239130, flags=...) at kernel/qeventloop.cpp:149
#12 0xb554fac9 in QEventLoop::exec (this=0xa7239130, flags=...) at kernel/qeventloop.cpp:201
#13 0xb544e7a9 in QThread::exec (this=0x8511e48) at thread/qthread.cpp:490
#14 0xb552f4ad in QInotifyFileSystemWatcherEngine::run (this=0x8511e48) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb545139a in QThreadPrivate::start (arg=0x8511e48) at thread/qthread_unix.cpp:285
#16 0xb53d5b25 in start_thread () from /lib/libpthread.so.0
#17 0xb520046e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb05c6890 (LWP 6765)):
[KCrash Handler]
#7  0xb5c46574 in operator! (this=0x0) at ../../src/corelib/tools/qshareddata.h:198
#8  QPixmap::isNull (this=0x0) at image/qpixmap.cpp:545
#9  0xb7570cef in Digikam::ImagePropertiesTab::showOrHideCaptionAndTags (this=0x8231ba8) at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/imageproperties/imagepropertiestab.cpp:512
#10 0xb756e4b7 in Digikam::ImagePropertiesSideBar::setImagePropertiesInformation (this=0x822d558, url=...)
    at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/imageproperties/imagepropertiessidebar.cpp:378
#11 0xb756bfed in Digikam::ImagePropertiesSideBar::slotChangedTab (this=0x822d558, tab=0x8231ba8)
    at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/imageproperties/imagepropertiessidebar.cpp:158
#12 0xb756c1e0 in Digikam::ImagePropertiesSideBar::itemChanged (this=0x822d558, url=..., rect=..., img=0x82a19b4)
    at /usr/src/debug/digikam2-1.9.92svn.rev1218712/core/libs/imageproperties/imagepropertiessidebar.cpp:111
#13 0x080752ea in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2011-02-25 10:19:15 UTC
This bug is fixed now in current implementation from git 2.0 branche with this commit :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/a3eb6a7ca077214f5b70ea439cced838115a45c6

Gilles Caulier