Summary: | albums not displayed corectly and digikam crashes with St9bad_alloc | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Felix Riedel <felix.riedel> |
Component: | Database-Albums | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, obsrv5 |
Priority: | NOR | ||
Version: | 0.8.1 | ||
Target Milestone: | --- | ||
Platform: | FreeBSD Ports | ||
OS: | FreeBSD | ||
Latest Commit: | Version Fixed In: | 0.9.0 | |
Sentry Crash Report: | |||
Attachments: |
Patch to fix wrong cast into digikam kioslave
Patch to fix wrong cast into digikam kioslave Patch to fix wrong cast into digikam kioslave Patch to fix wrong cast into digikam kioslave |
Description
Felix Riedel
2006-02-13 19:19:24 UTC
Same behaviour here, with digikam 0.8.1 (no imageplugins) and dependencies from a portstree as of 2006-02-24 14:30 CET Sorry that i cannot provide more than a "me too", but feel free to ask for more information if needed :) Same behaviour on my PC FreeBSD 6.0 Stable KDE 3.5.1 Digikam 0.8.1 Crash if I click on a new album or open a new album Same behaviour here: only one picture is shown, crashes after clicking around for some time FreeBSD 6.1-PRERELEASE digikam-0.8.2 dcraw-8.05 kde 3.5.1 Ditto: 1 photo in the startup album. clicking another album crashes. Earlier versions worked spectacularly. Very impressive to this point... then nothing. :( I have the feeling that it is associated with KDE 3.5.1 somehow because that desktop seems to have some issues as well, and noticed that the other problem reports all have that desktop version. So, I have same problem with kde3.4.0...did you got a solution ? try these patches provides by Marc Espie <espie@nerim.net> from OpenBSD team... These patches are already applied to trunk branch, not stable. Please give me a feedback... Gilles Caulier Created attachment 15269 [details]
Patch to fix wrong cast into digikam kioslave
Created attachment 15270 [details]
Patch to fix wrong cast into digikam kioslave
Created attachment 15271 [details]
Patch to fix wrong cast into digikam kioslave
Created attachment 15272 [details]
Patch to fix wrong cast into digikam kioslave
Same behaviour FreeBSD 6.0 + DigiKam 0.8.1 (worked fine with 0.7.4). Only 1 image per album and crash almost immediatly if I select an album. WORKS fine with the patches attached here given by Gilles Caulier !!! Many many thanks to you, compatriote...,(and to Marc espie from OpenBSD team), your software is incredible and I was so disappointed since 2 months withouta running digikam on my FreeBSD home box. I will enjoy the 0.8x versions now with so many new features. Great !!! SVN commit 522589 by cgilles: Digikam from stable : Fix wrong cast into kioslave. This bug crash digikam during album item thumbs rendering or stop it to the first item of each album Nota : these patch have been already applied to trunk branch (0.9.0-svn) CCMAIL: digikam-devel@kde.org CCBUGS: 121905 M +1 -1 digikamalbums.cpp M +1 -1 digikamdates.cpp M +1 -1 digikamsearch.cpp M +1 -1 digikamtags.cpp --- branches/stable/extragear/graphics/digikam/kioslave/digikamalbums.cpp #522588:522589 @@ -206,7 +206,7 @@ os << albumid; os << name; os << date; - os << stbuf.st_size; + os << static_cast<size_t>(stbuf.st_size); os << dims; } --- branches/stable/extragear/graphics/digikam/kioslave/digikamdates.cpp #522588:522589 @@ -248,7 +248,7 @@ *os << dirid; *os << name; *os << date; - *os << stbuf.st_size; + *os << static_cast<size_t>(stbuf.st_size); *os << dims; count++; --- branches/stable/extragear/graphics/digikam/kioslave/digikamsearch.cpp #522588:522589 @@ -214,7 +214,7 @@ *os << dirid; *os << name; *os << date; - *os << stbuf.st_size; + *os << static_cast<size_t>(stbuf.st_size); *os << dims; count++; --- branches/stable/extragear/graphics/digikam/kioslave/digikamtags.cpp #522588:522589 @@ -193,7 +193,7 @@ *os << dirid; *os << name; *os << date; - *os << stbuf.st_size; + *os << static_cast<size_t>(stbuf.st_size); *os << dims; count++; ok patch apply to stable and trunk branch. I can close this file now. Gilles Caulier *** Bug 124905 has been marked as a duplicate of this bug. *** |