Summary: | smokegen segafults when compiling Akonadi binding from smokekde package | ||
---|---|---|---|
Product: | [Unmaintained] bindings | Reporter: | Vadim Zhukov <persgray> |
Component: | general | Assignee: | kde-bindings |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | arno, dennislveatch, dilfridge, rdieter, scarpino |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | OpenBSD | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Vadim Zhukov
2011-10-09 23:23:12 UTC
Bug still persists in 4.7.3. If noone want/can debug the problem, maybe just some clues to help me getting it fixed myself? Thanks in advance. I can't reproduce it myself, but I'm working on replacing our current parser with the one from QtCreator, which should hopefully fix it. Looking at your backtrace and gdb output, I can't understand what's going wrong. There's no null pointer or other stuff going on, so I suspect it's trying to access memory that's already been free'd. One thing you can try is commenting out header files in akonadi/akonadi_includes.h and see if that fixes it. Once you've found the culprit, look into this header file and search for some 'unusual' C++ that the parser might not be able to handle properly. Other than that, I don't have any ideas, sorry. Thank you very much! I'll go the way you offered and try to narrow the problem down. If there are any patches regarding QtCreator parser, I could test them. Are they planned for 4.8 or later? Thanks again for your reply. Try this http://pkgs.fedoraproject.org/gitweb/?p=smokegen.git;a=blob;f=smokegen-4.7.0-crash.patch it's a quick-fix we found when valgrind'ing smokegen way back when, not sure how or why it never landed upstream. Oh, i've never seen that patch. thanks :) will apply it. if this fixes it for everybody else, please say so and I'm going to mark this bug as fixed. Fedora's patch seems to work fine. After I apply that patch I built every kdebindings-* with no issues. Git commit 50f01c2d6b28110f8517a77960e456c1125bdb6e by Arno Rehn. Committed on 03/12/2011 at 17:57. Pushed by arnorehn into branch 'KDE/4.7'. fix a crash when generating the akonadi bindings BUG: 283677 M +2 -0 type_compiler.cpp http://commits.kde.org/smokegen/50f01c2d6b28110f8517a77960e456c1125bdb6e Git commit 03d211e51f88c3d2cf26e165d45119f2f28d3731 by Arno Rehn. Committed on 03/12/2011 at 17:57. Pushed by arnorehn into branch 'master'. fix a crash when generating the akonadi bindings BUG: 283677 M +2 -0 type_compiler.cpp http://commits.kde.org/smokegen/03d211e51f88c3d2cf26e165d45119f2f28d3731 *** Bug 288436 has been marked as a duplicate of this bug. *** *** Bug 288758 has been marked as a duplicate of this bug. *** |