[KPhotoAlbum] Compile failure with gcc-4.1.1
Jesper K. Pedersen
blackie at blackie.dk
Fri Aug 11 22:40:50 BST 2006
OK, that should be fixed now. In case you have one of the old index.xml's
around (e.g. as a backup made by KPhotoAlbum, hint hint), could you please
verify that it also works for you now.
Cheers
Jesper.
On Tuesday 08 August 2006 22:20, Christophe Choumert wrote:
| On Monday 07 August 2006 02:22, Christophe Choumert wrote:
| > It worked, thanks !
| > There were just missing include guards in ImageManager/RawImageDecoder.h
| > and then compilation finished. I do have a segfault though, which doesn't
| > happen with 2.2. I just need to open KPA and click on Locations. It
| > crashes with certain categories, not with others - actually, only with
| > the ones that contain subgroups. I verified that by adding a subgroup to
| > a category that was fine ; then when I tried to select it it crashed.
|
| Ok, I finally found the problem :
| when creating a group, a member keyword of the same name is created. And I
| used to assign explicitly this keyword to the group (or did KPA do it by
| itself around 2.1 days ?), which is useless, and with the new code,
| actually causes a crash - probably due to an infinite recursion.
|
| So a quick sed later
| [ sed -r -e '/group-name="(.*)" .* member="\1"/d' index.xml >
| index.xml.pruned ]
| and things are perfect.
|
| Still, a quick check to work around this case is probably worthwhile. It
| seems to happen in DB/Category.cpp (cf. the backtrace in the other mail),
| but I don't understand the code well enough to modify it myself.
|
| Thanks,
| Christophe Choumert
|
| _______________________________________________
| KPhotoAlbum mailing list
| KPhotoAlbum at kdab.net
| http://mail.kdab.net/mailman/listinfo/kphotoalbum
--
Having trouble finding a given image in your collection containing
thousands of images?
http://www.kphotoalbum.org might be the answer.
More information about the Kphotoalbum
mailing list