Summary: | Parsing special C++ header file lets kdevelop eat up all RAM & get killed | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Mark Doll <doll> |
Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 3.2.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Pyhton generator script
pyhton generator script |
Description
Mark Doll
2005-07-29 14:44:27 UTC
Created attachment 11982 [details]
Pyhton generator script
used to generated callback_debug.hh
Created attachment 11983 [details]
pyhton generator script
generates callback_debug.hh, callback_nodebug.hh
Comment on attachment 11982 [details]
Pyhton generator script
wrong mime type
Comment on attachment 11983 [details]
pyhton generator script
use
python callback-gen.py -d -b 6 -l 15 > callback_debug.hh
python callback-gen.py -b 6 -l 15 > callback_nodebug.hh
callback_debug.hh is too big (1,8 MiB) to be attached, but to give an impression of the generated classes, here are the last few lines of callback_debug.hh: /** * Factory function that creates a callback object targetted at a * const member function with 15 dispatch time arguments and 6 bound arguments. */ template <class R, class O, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9, class A10, class A11, class A12, class A13, class A14, class A15, class BA1, class BA2, class BA3, class BA4, class BA5, class BA6> typename XorpCallback15<R, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15>::RefPtr dbg_callback(const char* file, int line, O& o, R (O::*p)(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, BA1, BA2, BA3, BA4, BA5, BA6) const, BA1 ba1, BA2 ba2, BA3 ba3, BA4 ba4, BA5 ba5, BA6 ba6) { return XorpConstMemberCallbackFactory15B6<R, O, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, BA1, BA2, BA3, BA4, BA5, BA6, BaseAndDerived<CallbackSafeObject, O>::True>::make(file, line, &o, p, ba1, ba2, ba3, ba4, ba5, ba6); } Dupe *** This bug has been marked as a duplicate of 96909 *** Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively |