Hi,

On Monday 20 April 2009, Pierre-Yves wrote:
> @pingouLab ~]$ strings /usr/lib64/libQtCore.so | grep "lastIndexOf"
> _ZNK7QString11lastIndexOfERK7QRegExpi
>
> On the computer where rkward crashes (after installing qt-devel)
> @pingouRed ~]$ strings /usr/lib/libQtCore.so | grep "lastIndexOf"
> _ZNK7QString11lastIndexOfERK7QRegExpi

ok, so likely that really is the name the symbol should have in Qt.

> I have some weird results here:
> @pingouRed ~]$ strings /usr/bin/rkward.bin | grep "lastIndexOf"
> _ZNK7QString11lastIndexOfER7QRegExpi
> ----- From the computer on which rkward crashes
> @pingouLab ~]$ strings /usr/bin/rkward.bin | grep "lastIndexOf"
> _ZNK7QString11lastIndexOfERK7QRegExpi
> ----- From the computer on which rkward does *not* crash

Yes, this is weird. Really weird. And this is likely to be close to the heart 
of the problem. In the crashing rkward binary the symbol name is quite simply 
mis-spelled, so no surprise the symbol cannot be found at run-time.

Now the question is - why does this happen. I don't see how RKWard code could 
be to blame (but if you want to look, or toy with some modifications, the 
relevant function is in rkward/misc/rkcommonfunctions.cpp, 
getCurrentSymbolOffset()). I'd guess the linker is to blame, somehow, but 
this is beyond me. Could you try to compile with a different version of 
gcc/g++, without changing any other details? Perhaps this could serve to pin 
the problem to some specific version.

All in all, I still don't have an idea on this. This really looks strange. 
Right now, I don't think the problem is in RKWard code. My best advice is to 
ask for help on a mailing list concerned with packaging KDE, Qt or C++ apps 
for Fedora, but keep us posted on any new insights / thoughts / questions. 
Maybe somebody on this list will have an idea, too.

Regards
Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to