[KPhotoAlbum] Compile failure with gcc-4.1.1

Christophe Choumert christophe.choumert at m4x.org
Mon Aug 7 10:22:36 BST 2006


On Monday 07 August 2006 01:25, Tuomas Suutari wrote:
> I tried to fix this by using :: in front of Settings so it would not
> refer to Exif::Settings, but I don't have gcc-4 so can't test this.
>
> Christophe, could you please "svn up" and try compiling again?

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.

Here's a backtrace (the createItems go on and on...).

#0  0x0e9c11a4 in malloc () from /lib/libc.so.6
#1  0x0ec8853c in operator new () 
from /usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/libstdc++.so.6
#2  0x100469e0 in QValueListPrivate (this=0x111fca60, _p=@0x11815f18) 
at /usr/qt/3/include/qvaluelist.h:267
#3  0x10046b0c in QValueList<QString>::detachInternal (this=0x7f670130) 
at /usr/qt/3/include/qvaluelist.h:631
#4  0x10046b64 in QValueList<QString>::detach (this=0xc) 
at /usr/qt/3/include/qvaluelist.h:562
#5  0x10046b9c in QValueList<QString>::begin (this=0x7f670130) 
at /usr/qt/3/include/qvaluelist.h:474
#6  0x100e92d8 in createItems (name=@0x111fca38, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:91
#7  0x100e9310 in createItems (name=@0x111fcd10, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#8  0x100e9310 in createItems (name=@0x111fccc0, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#9  0x100e9310 in createItems (name=@0x111fcc70, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#10 0x100e9310 in createItems (name=@0x111fcc20, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#11 0x100e9310 in createItems (name=@0x111fe128, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#12 0x100e9310 in createItems (name=@0x111fe0d8, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#13 0x100e9310 in createItems (name=@0x111fe088, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#14 0x100e9310 in createItems (name=@0x111fe038, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#15 0x100e9310 in createItems (name=@0x111fee90, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#16 0x100e9310 in createItems (name=@0x111fee40, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#17 0x100e9310 in createItems (name=@0x111fedf0, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#18 0x100e9310 in createItems (name=@0x111feda0, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#19 0x100e9310 in createItems (name=@0x111ff078, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#20 0x100e9310 in createItems (name=@0x111ff028, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#21 0x100e9310 in createItems (name=@0x111fefd8, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#22 0x100e9310 in createItems (name=@0x111fef88, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#23 0x100e9310 in createItems (name=@0x11200490, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#24 0x100e9310 in createItems (name=@0x11200440, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#25 0x100e9310 in createItems (name=@0x112003f0, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92
#26 0x100e9310 in createItems (name=@0x112003a0, top=0x10d3f638, 
inverseMap=@0x7fe6df40, parentMap=0x7fe6df50) at Category.cpp:92

Thanks,
Christophe




More information about the Kphotoalbum mailing list