[Kde-bindings] Generator segfault

David Palacio dpalacio at uninorte.edu.co
Sat Oct 17 18:14:13 UTC 2009


On Sábado 17 Octubre 2009 12:03:22 Arno Rehn escribió:
> On Friday 16 October 2009 05:08:49 David Palacio wrote:
> > Hi, I am trying to generate bindings for Gluon (just KGL for now). In the
> > process, the generator segfaults:
> >
> > Starting program: /home/kde/build/KDE/kdebindings/generator/bin/generator
> > - config /home/kde/build/KDE/kdebindings/smoke/kde/config.xml
> > -smokeconfig /home/kde/src/KDE/kdebindings/smoke/gluon/smokeconfig.xml -I
> > /usr/include/eigen2 --
> > /home/kde/src/KDE/kdebindings/smoke/gluon/kgl_includes.h
> > [Thread debugging using libthread_db enabled]
> > [New Thread 0x7f077dfd16f0 (LWP 7045)]
> > using generator "generator_smoke.so"
> > parsing "/home/kde/src/KDE/kdebindings/smoke/gluon/kgl_includes.h"
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 0x7f077dfd16f0 (LWP 7045)]
> > 0x00000000004131a0 in GeneratorVisitor::visitTemplateDeclaration
> > (this=0x7fff85ff2310, node=<value optimized out>)
> >     at /home/kde/src/KDE/kdebindings/generator/generatorvisitor.cpp:693
> > 693         int kind = token(node->declaration->start_token).kind;
> > (gdb) bt
> > #0  0x00000000004131a0 in GeneratorVisitor::visitTemplateDeclaration
> > (this=0x7fff85ff2310, node=<value optimized out>)
> >     at /home/kde/src/KDE/kdebindings/generator/generatorvisitor.cpp:693
> > #1  0x00007f077d4f7325 in visitNodes<DeclarationAST*> (v=0x7fff85ff2310,
> > nodes=0x439c918)
> >     at /home/kde/src/KDE/kdebindings/generator/parser/visitor.h:131
> > #2  0x0000000000410fa5 in main (argc=9, argv=<value optimized out>) at
> > /home/kde/src/KDE/kdebindings/generator/main.cpp:213
> 
> Could you upload your work somewhere? To properly fix this bug I need to
>  find out which declaration in the headers causes this crash.
> 

Using gluon from git://gitorious.org/gluon/gluon.git
Uncompress gluon.tar.gz on kdebindings directory.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gluon.tar.gz
Type: application/x-compressed-tar
Size: 3513 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20091017/b2ee0e1f/attachment.tar.gz>
-------------- 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/kde-bindings/attachments/20091017/b2ee0e1f/attachment.sig>


More information about the Kde-bindings mailing list