[Kde-bindings] Generator segfault

Arno Rehn arno at arnorehn.de
Sat Oct 17 17:03:22 UTC 2009


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.

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list