[Kde-bindings] Re: Building smoke for KDE-4.7.0 beta

Stefano Crocco stefano.crocco at alice.it
Sun Jun 5 19:03:18 UTC 2011


On Sunday 05 June 2011 16:44:01 Arno Rehn wrote:
> On Sunday 05 June 2011 11:53:06 Stefano Crocco wrote:
> > I just tried running smokegen in gdb. I looked at the command used to
> > run
> > it in the qtcore/CMakeFiles/smokeqtcore.dir/build.make makefile, copied
> > the command line and gave it to gdb. I think this should not change
> > anything with respect to running it from the makefile itself. However,
> > here's the result from gdb:
> > 
> > 0x080681da in QBasicAtomicInt::operator!= (this=0x0, value=1) at
> > /usr/include/qt4/QtCore/qbasicatomic.h:75 75              return
> > _q_value
> > != value;
> > (gdb) bt
> > #0  0x080681da in QBasicAtomicInt::operator!= (this=0x0, value=1) at
> > /usr/include/qt4/QtCore/qbasicatomic.h:75 #1  0x0806aa2e in
> > QVector<IndexedString>::append (this=0x80b0120, t=...) at
> > /usr/include/qt4/QtCore/qvector.h:547 #2  0xb7ccd422 in
> > QStack<IndexedString>::push(IndexedString const&) () from
> > /usr/local/lib/libcppparser.so #3  0xb7ccbd4e in
> > rpp::pp::processFileInternal(QString const&, QByteArray const&,
> > QVector<unsigned int>&) () from /usr/local/lib/libcppparser.so #4
> > 0xb7ccc115 in rpp::pp::processFile(QString const&) () from
> > /usr/local/lib/libcppparser.so #5  0x0807f71e in
> > Preprocessor::preprocess
> > (this=0xbfffe680) at
> > /home/stefano/tmp/kdebindings-4.7-beta/smokegen-4.6.80/generatorpreproce
> > ss or.cpp:172 #6  0x08067642 in main (argc=7, argv=0xbfffe974) at
> > /home/stefano/tmp/kdebindings-4.7-beta/smokegen-4.6.80/main.cpp:225
> 
> Ouch. This might be difficult, the error seems to occur from somewhere
> inside QVector/QStack. Are you sure that you have no old versions of
> smokegen or kdebindings installed?

When I first got the error, I didn't have any, as I had mistakenly removed all 
of KDE 4.6.3 using my package manager in the process of installing kde 4.7. 
The stack trace I reported was indeed generated while having the old 4.6.3 
bindings installed. I had, however, installed smokegen 4.7 before trying 
building smoke (that should be the only thing that matters, isn't it?).

Just to be sure, I tried removing all the files installed by the 4.6.3 version 
of the bindings, rebuilt and installed smokegen and attempted again to build 
smoke, with the same results as before.

If there's something else I can do to find out what's happening, please tell 
me (even if I'll be quite busy this week, so I won't be able to reply 
quickly).

Stefano



More information about the Kde-bindings mailing list