[Kde-bindings] Re: Fwd: Re: KDE 4.5.5 tarballs uploaded
Arkadiusz Miskiewicz
arekm at maven.pl
Sat Jan 8 17:06:44 UTC 2011
On Saturday 08 of January 2011, Arno Rehn wrote:
> Hi,
>
> I just tried this myself and I can't reproduce your bug, sorry. I've also
> looked into the Arch packages and they already provide kdebindings-smoke
> 4.5.5 without any patches related to smoke. I really don't know what's
> going wrong here for you, sorry :(
Can provide an account on a machine where this is reproducible :-)
Is node->op == 0 a valid value here? Moved tokens to public and
(gdb) print *m_session->token_stream->tokens
$3 = {
kind = 0,
position = 0,
size = 0,
session = 0x7fffffffd910,
extra = {
right_brace = 0
}
}
so somehow tokens is empty, right?
using generator "/home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/generator/bin/generator_smoke.so"
parsing "/home/users/arekm/rpm/BUILD/kdebindings-4.5.5/smoke/akonadi/akonadi_includes.h"
==84263== Invalid read of size 1
==84263== at 0x42A2DA: TypeCompiler::visitPtrOperator(PtrOperatorAST*) (type_compiler.cpp:194)
==84263== by 0x42A3FC: TypeCompiler::run(ListNode<PtrOperatorAST*> const*) (visitor.h:131)
==84263== by 0x42A614: TypeCompiler::run(DeclaratorAST const*) (type_compiler.cpp:69)
==84263== by 0x42BE6F: TypeCompiler::run(TypeSpecifierAST*, DeclaratorAST const*) (type_compiler.cpp:63)
==84263== by 0x43739A: NameCompiler::visitTemplateArgument(TemplateArgumentAST*) (name_compiler.cpp:188)
==84263== by 0x4355A5: NameCompiler::visitUnqualifiedName(UnqualifiedNameAST*) (visitor.h:131)
==84263== by 0x4365D1: NameCompiler::internal_run(AST*) (name_compiler.cpp:123)
==84263== by 0x42AFD5: TypeCompiler::visitName(NameAST*) (type_compiler.cpp:241)
==84263== by 0x42BE58: TypeCompiler::run(TypeSpecifierAST*, DeclaratorAST const*) (type_compiler.cpp:60)
==84263== by 0x418B6D: GeneratorVisitor::visitSimpleDeclaration(SimpleDeclarationAST*) (generatorvisitor.cpp:746)
==84263== by 0x414680: GeneratorVisitor::visitTemplateDeclaration(TemplateDeclarationAST*) (generatorvisitor.cpp:835)
==84263== by 0x5519FED: DefaultVisitor::visitLinkageBody(LinkageBodyAST*) (visitor.h:131)
==84263== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==84263==
==84263==
==84263== Process terminating with default action of signal 11 (SIGSEGV)
==84263== Access not within mapped region at address 0x0
==84263== at 0x42A2DA: TypeCompiler::visitPtrOperator(PtrOperatorAST*) (type_compiler.cpp:194)
==84263== by 0x42A3FC: TypeCompiler::run(ListNode<PtrOperatorAST*> const*) (visitor.h:131)
==84263== by 0x42A614: TypeCompiler::run(DeclaratorAST const*) (type_compiler.cpp:69)
==84263== by 0x42BE6F: TypeCompiler::run(TypeSpecifierAST*, DeclaratorAST const*) (type_compiler.cpp:63)
==84263== by 0x43739A: NameCompiler::visitTemplateArgument(TemplateArgumentAST*) (name_compiler.cpp:188)
==84263== by 0x4355A5: NameCompiler::visitUnqualifiedName(UnqualifiedNameAST*) (visitor.h:131)
==84263== by 0x4365D1: NameCompiler::internal_run(AST*) (name_compiler.cpp:123)
==84263== by 0x42AFD5: TypeCompiler::visitName(NameAST*) (type_compiler.cpp:241)
==84263== by 0x42BE58: TypeCompiler::run(TypeSpecifierAST*, DeclaratorAST const*) (type_compiler.cpp:60)
==84263== by 0x418B6D: GeneratorVisitor::visitSimpleDeclaration(SimpleDeclarationAST*) (generatorvisitor.cpp:746)
==84263== by 0x414680: GeneratorVisitor::visitTemplateDeclaration(TemplateDeclarationAST*) (generatorvisitor.cpp:835)
==84263== by 0x5519FED: DefaultVisitor::visitLinkageBody(LinkageBodyAST*) (visitor.h:131)
==84263== If you believe this happened as a result of a stack
==84263== overflow in your program's main thread (unlikely but
==84263== possible), you can try to increase the size of the
==84263== main thread stack using the --main-stacksize= flag.
==84263== The main thread stack size used in this run was 8388608.
>
> On Saturday 08 January 2011 09:15:02 Arkadiusz Miskiewicz wrote:
> > Hi,
> >
> > Did anyone see this or is able to check where this bug hides?
> >
> > ---------- Forwarded Message ----------
> >
> > Subject: Re: KDE 4.5.5 tarballs uploaded
> > Date: Wednesday 05 of January 2011
> > From: Arkadiusz Miskiewicz <arekm at maven.pl>
> > To: kde-packager at kde.org
> >
> > On Tuesday 04 of January 2011, Dirk Mueller wrote:
> > > Hi,
> > >
> > > I just finished uploading the KDE 4.5.5 tarballs. As I missed the
> > > scheduled tagging date for last week, lets slip the announcement date
> > > to Friday this week.
> >
> > kdebindings build dies for me:
> >
> > [arekm at carme-pld ~/rpm/BUILD/kdebindings-4.5.5/build]$ cd
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/smoke/akonadi
> > [arekm at carme-pld ~/rpm/BUILD/kdebindings-4.5.5/build/smoke/akonadi]$
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/generator/bin/smokege
> > n - config
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/smoke/akonadi/config.
> > xm l - smokeconfig
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/smoke/akonadi/smokeconfig.x
> > ml -I /usr/include --
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/smoke/akonadi/akonadi_inclu
> > de s.h using generator
> > "/home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/generator/bin/genera
> > to r_smoke.so" parsing
> > "/home/users/arekm/rpm/BUILD/kdebindings-4.5.5/smoke/akonadi/akonadi_incl
> > ud es.h" zsh: segmentation fault
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/generator/bin/smokege
> > n [arekm at carme-pld ~/rpm/BUILD/kdebindings-4.5.5/build/smoke/akonadi]$
> > gdb -- args
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/generator/bin/smokege
> > n - config
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/smoke/akonadi/config.
> > xm l - smokeconfig
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/smoke/akonadi/smokeconfig.x
> > ml -I /usr/include --
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/smoke/akonadi/akonadi_inclu
> > de s.h GNU gdb (GDB) PLD Linux (7.2-1)
> > Copyright (C) 2010 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later
> > <http://gnu.org/licenses/gpl.html> This is free software: you are free to
> > change and redistribute it. There is NO WARRANTY, to the extent permitted
> > by law. Type "show copying" and "show warranty" for details.
> > This GDB was configured as "x86_64-pld-linux".
> > For bug reporting instructions, please see:
> > <http://www.gnu.org/software/gdb/bugs/>...
> > Reading symbols from
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/generator/bin/smokege
> > n. ..done. (gdb) r
> > Starting program:
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/generator/bin/smokege
> > n - config
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/smoke/akonadi/config.
> > xm l - smokeconfig
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/smoke/akonadi/smokeconfig.x
> > ml -I /usr/include --
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/smoke/akonadi/akonadi_inclu
> > de s.h [Thread debugging using libthread_db enabled]
> > using generator
> > "/home/users/arekm/rpm/BUILD/kdebindings-4.5.5/build/generator/bin/genera
> > to r_smoke.so" parsing
> > "/home/users/arekm/rpm/BUILD/kdebindings-4.5.5/smoke/akonadi/akonadi_incl
> > ud es.h"
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x000000000044148c in TypeCompiler::visitPtrOperator
> > (this=0x7fffffffcfe0, node=0x67b2b50)
> >
> > at
> >
> > /home/users/arekm/rpm/BUILD/kdebindings-4.5.5/generator/type_compiler.cpp
> > :1 94 194 if
> > (token_text(m_session->token_stream->kind(node->op))[0] == '*') {
> > (gdb) print node->op
> > $1 = 0
> > (gdb) print *node
> > $2 = {
> >
> > <AST> = {
> >
> > kind = 49,
> > start_token = 203367,
> > end_token = 203370
> >
> > },
> > members of PtrOperatorAST:
> > cv = 0x0,
> > op = 0,
> > mem_ptr = 0x67b2bb8
> >
> > }
> > (gdb) print m_session->token_stream
> > $3 = (TokenStream *) 0x2f0fd10
> > (gdb) print *m_session->token_stream
> > $4 = {
> >
> > tokens = 0x7fffe9549010,
> > index = 265968,
> > token_count = 524288
> >
> > }
> >
> > > Thanks,
> > > Dirk
> > > _______________________________________________
> > > Kde-packager mailing list
> > > Kde-packager at kde.org
> > > https://mail.kde.org/mailman/listinfo/kde-packager
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
More information about the Kde-bindings
mailing list