[rkward-devel] Rkward crashes on Fedora
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Tue Apr 21 20:41:03 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20090421/7c364cf6/attachment.sig>
More information about the Rkward-devel
mailing list