GNOME Bugzilla – Bug 595833
doxygen consume all memory then crash
Last modified: 2009-12-30 13:39:03 UTC
Created attachment 143595 [details] doxygen configuration There are nested namespaces construction as follows (it is synthetic sample prepared on real case), dox_crash.cpp: namespace n2 { template <class A> class ClassName { public: typedef A adapter_type; }; } namespace n1 { namespace n2 { template <class SA> class ClassName : public ::n2::ClassName<typename SA::abstract_adapter_type> { }; } } struct X { typedef int abstract_adapter_type; }; int main(void) { n1::n2::ClassName<X> a; return 0; } It is compillable. When the doxygen is used to document this file (see attached configuration), it stay in phase "Computing class inheritance relations..." and it is allocating memory up to around 3GiB, than crashes. If the n1::n2::ClassName is changed to different name, it works fine.
Confirmed. Should be fixed in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.6.2. Please verify if this is indeed the case and reopen the bug if you think it is not fixed (include any additional information that you think can be relevant).