Bug 228139 - showfoto "open folder" crashes on NFS share
Summary: showfoto "open folder" crashes on NFS share
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Showfoto-Directory (show other bugs)
Version: 1.1.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-23 04:15 UTC by Ben Banks
Modified: 2022-02-05 05:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Banks 2010-02-23 04:15:46 UTC
Application that crashed: showfoto
Version of the application: 1.1.0
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-1-mepis-smp i686
Distribution: MEPIS 8.5 (upgradable from Debian etch)

What I was doing when the application crashed:
When trying to open an NFS share folder with showfoto, it crashes.  Everytime.  It will allow me to select the folder, but when it returns to the main GUI it crashes.

 -- Backtrace:
Application: showFoto (showfoto), signal: Segmentation fault
[Current thread is 0 (LWP 8166)]

Thread 4 (Thread 0xb2b35b90 (LWP 8167)):
#0  0xb4e318f0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb57f1a9d in pthread_cond_wait () from /lib/libc.so.6
#2  0xb64f8762 in QWaitCondition::wait (this=0x8bde7c8, mutex=0x8bde7c4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0xb754d42a in Digikam::LoadSaveThread::run (this=0x8bde7b8) at /home/mark/src/kde-extras/build-area/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0xb64f7752 in QThreadPrivate::start (arg=0x8bde7b8) at thread/qthread_unix.cpp:188
#5  0xb4e2df3b in start_thread () from /lib/libpthread.so.0
#6  0xb57e5bee in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb21ffb90 (LWP 8168)):
#0  0xb4e318f0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb57f1a9d in pthread_cond_wait () from /lib/libc.so.6
#2  0xb64f8762 in QWaitCondition::wait (this=0x8d098e0, mutex=0x8d098dc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0xb754d42a in Digikam::LoadSaveThread::run (this=0x8d098d0) at /home/mark/src/kde-extras/build-area/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0xb64f7752 in QThreadPrivate::start (arg=0x8d098d0) at thread/qthread_unix.cpp:188
#5  0xb4e2df3b in start_thread () from /lib/libpthread.so.0
#6  0xb57e5bee in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb1982b90 (LWP 8169)):
#0  0xb4e318f0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb57f1a9d in pthread_cond_wait () from /lib/libc.so.6
#2  0xb64f8762 in QWaitCondition::wait (this=0x8df2880, mutex=0x8df287c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0xb754d42a in Digikam::LoadSaveThread::run (this=0x8df2870) at /home/mark/src/kde-extras/build-area/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0xb64f7752 in QThreadPrivate::start (arg=0x8df2870) at thread/qthread_unix.cpp:188
#5  0xb4e2df3b in start_thread () from /lib/libpthread.so.0
#6  0xb57e5bee in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb451d6c0 (LWP 8166)):
[KCrash Handler]
#5  0x08049425 in ?? ()
#6  0xb4af52b4 in Exiv2::Exifdatum::toLong () from /usr/lib/libexiv2.so.4
#7  0xb0c6ada1 in JpegEndAnalyzer::analyze () from /usr/lib/strigi/strigiea_jpeg.so
#8  0xb4a3be0f in ?? () from /usr/lib/libstreamanalyzer.so.0
#9  0xb71d8e67 in KFileMetaInfoPrivate::init (this=0x8f1c740, stream=@0xbfdc8070, url=@0xbfdc80bc, mtime=1261534528) at ../../kio/kio/kfilemetainfo.cpp:201
#10 0xb71da4d2 in KFileMetaInfo (this=0xbfdc80c4, url=@0xbfdc80bc) at ../../kio/kio/kfilemetainfo.cpp:240
#11 0xb71c1a7a in KFileItem::metaInfo (this=0xbfdc82c4, autoget=true) at ../../kio/kio/kfileitem.cpp:1220
#12 0xb762b283 in Digikam::ImagePropertiesSideBar::setImagePropertiesInformation (this=0x8d0a180, url=@0x8d0a1b0)
    at /home/mark/src/kde-extras/build-area/digikam-1.1.0/libs/imageproperties/imagepropertiessidebar.cpp:223
#13 0xb7629371 in Digikam::ImagePropertiesSideBar::slotChangedTab (this=0x8d0a180, tab=0x8d099b8)
    at /home/mark/src/kde-extras/build-area/digikam-1.1.0/libs/imageproperties/imagepropertiessidebar.cpp:155
#14 0xb7629627 in Digikam::ImagePropertiesSideBar::itemChanged (this=0x8d0a180, url=@0xbfdc83dc, rect=@0xbfdc83cc, img=0x8d096b4)
    at /home/mark/src/kde-extras/build-area/digikam-1.1.0/libs/imageproperties/imagepropertiessidebar.cpp:117
#15 0x0807fabb in ShowFoto::ShowFoto::slotChanged (this=0x8b64a30) at /home/mark/src/kde-extras/build-area/digikam-1.1.0/showfoto/showfoto.cpp:653
#16 0x080856e6 in ShowFoto::ShowFoto::qt_metacall (this=0x8b64a30, _c=QMetaObject::InvokeMetaMethod, _id=115, _a=0xbfdc84d8)
    at /home/mark/src/kde-extras/build-area/digikam-1.1.0/obj-i486-linux-gnu/showfoto/showfoto.moc:105
#17 0xb65ffcf8 in QMetaObject::activate (sender=0x8d08890, from_signal_index=53, to_signal_index=53, argv=0x0) at kernel/qobject.cpp:3112
#18 0xb6600982 in QMetaObject::activate (sender=0x8d08890, m=0xb7740104, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3186
#19 0xb7678a67 in Digikam::Canvas::signalChanged (this=0x8d08890) at /home/mark/src/kde-extras/build-area/digikam-1.1.0/obj-i486-linux-gnu/digikam/canvas.moc:209
#20 0xb767c588 in Digikam::Canvas::slotModified (this=0x8d08890) at /home/mark/src/kde-extras/build-area/digikam-1.1.0/utilities/imageeditor/canvas/canvas.cpp:1394
#21 0xb767d1da in Digikam::Canvas::qt_metacall (this=0x8d08890, _c=QMetaObject::InvokeMetaMethod, _id=85, _a=0xbfdc85f8)
    at /home/mark/src/kde-extras/build-area/digikam-1.1.0/obj-i486-linux-gnu/digikam/canvas.moc:173
#22 0xb65ffcf8 in QMetaObject::activate (sender=0x8bc80d0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#23 0xb6600982 in QMetaObject::activate (sender=0x8bc80d0, m=0xb7740044, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#24 0xb76656b7 in Digikam::DImgInterface::signalModified (this=0x8bc80d0) at /home/mark/src/kde-extras/build-area/digikam-1.1.0/obj-i486-linux-gnu/digikam/dimginterface.moc:118
#25 0xb76656e5 in Digikam::DImgInterface::setModified (this=0x8bc80d0) at /home/mark/src/kde-extras/build-area/digikam-1.1.0/utilities/imageeditor/canvas/dimginterface.cpp:578
#26 0xb766aaef in Digikam::DImgInterface::slotImageLoaded (this=0x8bc80d0, loadingDescription=@0x8f13540, img=@0x904c6c0)
    at /home/mark/src/kde-extras/build-area/digikam-1.1.0/utilities/imageeditor/canvas/dimginterface.cpp:376
#27 0xb766ad44 in Digikam::DImgInterface::qt_metacall (this=0x8bc80d0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x9037420)
    at /home/mark/src/kde-extras/build-area/digikam-1.1.0/obj-i486-linux-gnu/digikam/dimginterface.moc:102
#28 0xb65f941b in QMetaCallEvent::placeMetaCall (this=0x902bfa8, object=0x8bc80d0) at kernel/qobject.cpp:477
#29 0xb65faef0 in QObject::event (this=0x8bc80d0, e=0x902bfa8) at kernel/qobject.cpp:1110
#30 0xb5abdc2c in QApplicationPrivate::notify_helper (this=0x8ac8540, receiver=0x8bc80d0, e=0x902bfa8) at kernel/qapplication.cpp:4065
#31 0xb5ac5f2e in QApplication::notify (this=0xbfdc8ddc, receiver=0x8bc80d0, e=0x902bfa8) at kernel/qapplication.cpp:3605
#32 0xb6bc03fd in KApplication::notify (this=0xbfdc8ddc, receiver=0x8bc80d0, event=0x902bfa8) at ../../kdeui/kernel/kapplication.cpp:302
#33 0xb65ea8bb in QCoreApplication::notifyInternal (this=0xbfdc8ddc, receiver=0x8bc80d0, event=0x902bfa8) at kernel/qcoreapplication.cpp:610
#34 0xb65eb515 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8aacd18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#35 0xb65eb70d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#36 0xb66162df in postEventSourceDispatch (s=0x8acb2a8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 0xb49143b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xb4917b23 in ?? () from /usr/lib/libglib-2.0.so.0
#39 0x08aca840 in ?? ()
#40 0x00000000 in ?? ()

Reported using DrKonqi
Comment 1 caulier.gilles 2010-02-23 08:56:12 UTC
Crash is in Exiv2 library. Which version you use ? Go to Help/Components Info for details

Gilles Caulier
Comment 2 Ben Banks 2010-02-26 04:49:10 UTC
My Components Info:

showFoto version 1.1.0
Exiv2 can write to Jp2: No
Exiv2 can write to Jpeg: Yes
Exiv2 can write to Pgf: No
Exiv2 can write to Png: No
Exiv2 can write to Tiff: No
Exiv2 supports XMP metadata: Yes
LibCImg: 130
LibExiv2: 0.17.1
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.3.4 (KDE 4.3.4)
LibKExiv2: 0.6.0
LibKdcraw: 0.5.0
LibLCMS: 118
LibPGF: 6.09.44
LibPNG: 1.2.42
LibQt: 4.5.3
LibRaw: 0.7.2
LibTIFF: LIBTIFF, Version 3.9.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
Parallelized demosaicing: Yes



I am using Mepis 8.5 RC1.  What version of Exiv2 should I be using?

Thanks, Ben



________________________________
From: Gilles Caulier <caulier.gilles@gmail.com>
To: benny_fletch@yahoo.com
Sent: Mon, February 22, 2010 11:56:16 PM
Subject: [Bug 228139] showfoto "open folder" crashes on NFS share

https://bugs.kde.org/show_bug.cgi?id=228139


Gilles Caulier <caulier.gilles@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caulier.gilles@gmail.com
            Version|unspecified                 |1.1.0




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2010-02-23 08:56:12 ---
Crash is in Exiv2 library. Which version you use ? Go to Help/Components Info
for details

Gilles Caulier
Comment 3 caulier.gilles 2010-02-26 10:19:03 UTC
Use the last stable 0.19.0, else previous one, 0.18.2. 

In all case, libkexiv2 must be recompiled

Gilles Caulier
Comment 4 caulier.gilles 2010-04-04 10:46:39 UTC
digiKam and Kipi-plugins 1.2.0 are out. Please check if crash is still valid there.

Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2010-10-07 08:57:33 UTC
We need feedback using digiKam 1.4.0

Gilles Caulier
Comment 6 caulier.gilles 2015-06-28 09:54:25 UTC
New digiKam 4.11.0 is available :

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

Can you reproduce the problem with this release ?
Comment 7 caulier.gilles 2015-08-23 14:34:41 UTC
digiKam 4.12.0 is out :

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

We need a fresh feedback using this release please...
Thanks in advance.
Comment 8 caulier.gilles 2016-07-15 20:45:31 UTC
With digiKam 5.0.0, this problem is not reproducible.
I close this file now. Don't hesitate to re-open if necessary.
Gilles Caulier