Summary: | Reproducible crash selecting photos from collection [backtrace] | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Dik Takken <kde> |
Component: | Metadata-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ahuggel, caulier.gilles |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.9.0 | |
Sentry Crash Report: |
Description
Dik Takken
2006-10-10 21:00:43 UTC
Problem already reported here. Dik, please give us witch Exiv2 and Libc version you use on your system and if you have used some compilation optimizations. Thanks in advance Andreas, this is another Exiv2/libc backtrace for you... Gilles Dik, Forget to ask you a "valgrind" backtrace when you reproduce the crash. Look at end of the digiKam HACKING file from svn for details. Gilles exiv2 version 0.10-r1 glibc version 2.4-r3 GCC 4.1.1, using flags: -O2 -g3 -march=athlon -pipe -mmmx -m3dnow -fvisibility-inlines-hidden Pffew.. Valgrind.. I will have a look at that beast if I find some time. Dik, Others test : - Try to use last Exiv2 stable release 0.11 - Try to disable mmx optimization witch are non sence for me with Athlon processor Gilles This one comes out of operator new(), which means that memory allocation didn't succeed. A system which is low on memory tends to become "sluggish" as described, so that's consistent. But why does that happen? How many images are in the album and what kind of processing is done? -ahu. The memory usage is normal when I produce the crash. Only CPU usage is high. The crash is also reproducible using digikam 0.9.0-beta2. I will now try upgrading exiv2. I have upgraded to exiv2 0.11, but DigiKam is now broken. I tried to re-merge digikam, libkipi and both plugin packages, but I keep getting: digikam: error while loading shared libraries: libexiv2-0.10.so: cannot open shared object file: No such file or directory Even when I completely remove digikam/exiv2/kipi/kipiplugins/imageplugins and re-merge from scratch, DigiKam still wants the old exiv2 library. I double-checked that version 0.10 is not on my system anymore. What to do? This sounds as if you have old binaries lying around in other places. I would suggest to use "which" to verify which digikam binary you are using, "ldd" to check which libdigikam.so the binary is loading, "ldd" to check which version of libexiv2 libdigikam is linked to, always checking if this one is the newly installed. Exiv2 0.10 and 0.11 are not binary compatible. 1/ unisntall Exiv2 0.10 from your system. 2/ install Exiv2 0.11 instead 3/ Clean up digikam & co (i recommend you to checkout all source code from scratch) 4/ compile and install digikam & co Gilles It turned out that the install location had changed between beta1 and beta2, and the ebuild did not remove beta1 at all. I manually removed beta1 and now it runs perfectly. Also, all of my attempts to reproduce the crash have failed. :) Ok, Dik Let's open this file until you will be sure than it's unreproductible. When you is sure, please close it. Gilles Dik, Are you updated something on your computer (outside Exiv2 and digikam & co), like libc or other common shared library ? Gilles No, no nothing related to KDE or any system packages. The old 0.9.0-beta1 libraries that were still wandering about on my system were still linked to GCC 3.4 runtime libraries, while the rest of the system was GCC 4.0. Other than removing these old 0.9.0-beta1 libraries, nothing special happened. I also noted that selecting many images feels MUCH faster now. >I also noted that selecting many images feels MUCH faster now.
This is certainly relevant of Exiv2 0.11 witch use nmap feature now to speed up pictures file acess.
Gilles
Dik, We suspect this is a duplicate of bug #136855 and need your feedback to confirm if the problem is solved. If you can still recreate this please try again with the latest Exiv2/digiKam/kipi-plugins from SVN. You need to compile and install Exiv2 first and cleanup digiKam/kipi-plugins before recompiling and installing it. Please report if the problem still occurs. Thanks! -ahu. I still cannot reproduce the problem. My current version is Exiv2 0.11 and DigiKam/DigiKamImagePlugins 0.9.0-Beta3, latest kipi-plugins release. Thanks for the report Dik. I close this file now. Gilles |