Summary: | kde-base/smokekde-4.7.4 - /bin/sh: line 1: 10019 Segmentation fault /usr/bin/smokegen -config [...] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Malek <cybertec.systems> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cybertec.systems, dirk, graham, zeekec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://bugs.kde.org/show_bug.cgi?id=288758 | ||
Whiteboard: | tracking upstream | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
patch from upstream |
Description
Robert Malek
2011-12-02 15:22:10 UTC
Created attachment 294523 [details]
build.log
/bin/sh: line 1: 10019 Segmentation fault /usr/bin/smokegen -config /var/tmp/portage/kde-base/smokekde-4.7.3/work/smokekde-4.7.3_build/akonadi/config.xml -smokeconfig /var/tmp/portage/kde-base/smokekde-4.7.3/work/smokekde-4.7.3/akonadi/smokeconfig.xml -I /usr/include -- /var/tmp/portage/kde-base/smokekde-4.7.3/work/smokekde-4.7.3/akonadi/akonadi_includes.h Well, I'd say, this doesn't bode well. (In reply to comment #2) > /bin/sh: line 1: 10019 Segmentation fault /usr/bin/smokegen -config > > Well, I'd say, this doesn't bode well. Indeed. The only thing you could do is try to get a core dump and a backtrace, see http://www.gentoo.org/proj/en/qa/backtraces.xml Then you could submit the backtrace here or (better) at bugs.kde.org and link to that here. This can however become a lengthy procedure, especially if you have never done it before. I get the same error with 4.7.4. The backtrace is Core was generated by `/usr/bin/smokegen -config /var/tmp/portage/kde-base/smokekde-4.7.4/work/smokekd'. Program terminated with signal 11, Segmentation fault. #0 0xb7703c6e in TypeCompiler::visitPtrOperator (this=0xbf868cec, node=0xbd51934c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:194 194 if (token_text(m_session->token_stream->kind(node->op))[0] == '*') { (gdb) bt #0 0xb7703c6e in TypeCompiler::visitPtrOperator (this=0xbf868cec, node=0xbd51934c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:194 #1 0xb72f9282 in Visitor::visit (this=0xbf868cec, node=0xbd51934c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #2 0xb7706437 in visitNodes<PtrOperatorAST*> (nodes=0xbd51938c, v=0xbf868cec) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.h:131 #3 TypeCompiler::run (this=0xbf868cec, ptr_ops=0xbd51938c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:106 #4 0xb7706627 in TypeCompiler::run (this=0xbf868cec, declarator=0xbd51931c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:69 #5 0xb7706e9c in TypeCompiler::run (this=0xbf868cec, node=0xbd5192c4, declarator=0xbd51931c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:63 #6 0xb770a194 in NameCompiler::visitTemplateArgument (this=0xbf86900c, node=0xbd5193ac) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/name_compiler.cpp:188 #7 0xb72f9282 in Visitor::visit (this=0xbf86900c, node=0xbd5193ac) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #8 0xb770962e in visitNodes<TemplateArgumentAST*> (nodes=<optimized out>, v=<optimized out>) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.h:131 #9 NameCompiler::visitUnqualifiedName (this=0xbf86900c, node=0xbd5192a8) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/name_compiler.cpp:162 #10 0xb72f9282 in Visitor::visit (this=0xbf86900c, node=0xbd5192a8) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #11 0xb72f7e8a in DefaultVisitor::visitName (this=0xbf86900c, node=0xbd519290) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/default_visitor.cpp:239 #12 0xb72f9282 in Visitor::visit (this=0xbf86900c, node=0xbd519290) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #13 0xb7709f3f in NameCompiler::internal_run (this=0xbf86900c, node=0xbd519290) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/name_compiler.cpp:123 #14 0xb7703d52 in TypeCompiler::visitName (this=0xbc5d8f70, node=0xbd519290) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:241 #15 0xb72f9282 in Visitor::visit (this=0xbc5d8f70, node=0xbd519290) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #16 0xb77033d7 in TypeCompiler::visitClassSpecifier (this=0xbc5d8f70, node=0xbd5195a8) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:165 #17 0xb72f9282 in Visitor::visit (this=0xbc5d8f70, node=0xbd5195a8) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #18 0xb7706e84 in TypeCompiler::run (this=0xbc5d8f70, node=0xbd5195a8, declarator=0x0) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:60 #19 0xb76ee9e0 in GeneratorVisitor::visitSimpleDeclaration (this=0xbf8694f4, node=0xbd519640) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/generatorvisitor.cpp:746 #20 0xb72f9282 in Visitor::visit (this=0xbf8694f4, node=0xbd519640) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #21 0xb76eb4e8 in visitTemplateDeclaration (node=<optimized out>, this=0xbf8694f4) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/generatorvisitor.cpp:836 #22 GeneratorVisitor::visitTemplateDeclaration (this=0xbf8694f4, node=0xbd519664) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/generatorvisitor.cpp:829 #23 0xb72f9282 in Visitor::visit (this=0xbf8694f4, node=0xbd519664) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #24 0xb72f8faf in visitNodes<DeclarationAST*> (v=0xbf8694f4, nodes=0xbd51a55c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.h:131 #25 0xb72f8952 in DefaultVisitor::visitLinkageBody (this=0xbf8694f4, node=0xbd518d14) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/default_visitor.cpp:221 #26 0xb72f9282 in Visitor::visit (this=0xbf8694f4, node=0xbd518d14) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #27 0xb72f7ed7 in DefaultVisitor::visitNamespace (this=0xbf8694f4, node=0xbd518cfc) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/default_visitor.cpp:244 #28 0xb76ed0a2 in GeneratorVisitor::visitNamespace (this=0xbf8694f4, node=0xbd518cfc) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/generatorvisitor.cpp:635 #29 0xb72f9282 in Visitor::visit (this=0xbf8694f4, node=0xbd518cfc) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #30 0xb72f8faf in visitNodes<DeclarationAST*> (v=0xbf8694f4, nodes=0xbda666f4) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.h:131 #31 0xb72f8902 in DefaultVisitor::visitTranslationUnit (this=0xbf8694f4, node=0xbc488c98) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/default_visitor.cpp:394 #32 0xb72f9282 in Visitor::visit (this=0xbf8694f4, node=0xbc488c98) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #33 0xb76e781a in main (argc=-1217292792, argv=0xbf869664) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/main.cpp:229 (gdb) Created attachment 295585 [details]
patch from upstream
Upstream reports the issue being fixed with the attached patch.
(In reply to comment #5) > Created attachment 295585 [details] > patch from upstream > > Upstream reports the issue being fixed with the attached patch. FIXED Not fixed yet, the fix was pushed into master and 4.7 branch after release of 4.7.4 Fixed in smokegen-4.7.4-r1 |