Source of Class View crashes

P�tur Run�lfsson petur_r at usa.net
Mon Jan 10 11:29:10 GMT 2000


I finally got fed up with KDevelop crashing and compiled it with
debug information and ran it through a debugger. It continued to
crash while in the debugger. I finally gave up and switched to
Emacs for editing and compiling (it may be better than Vi, but 
still leaves much to be desired).

These crashes occur while the class tree is being updated and always
occur on calls to new. The top of the call stack always looks like
this:

chunk_alloc(...) at malloc.c:2777
__libc_malloc(...) at malloc.c:2616
__builtin_new(...)

So the cause is bound to be one of the following:
* malloc.c has a bug. IMHO not very likely.
* Heap corruption. IMO _very_ likely. I have looked at the sources
  for the class parser and I can only say that I am glad that I
  don't have to maintain this mess... ;-) 

===============================
System configuration:
Kernel: Linux 2.2.13
Libc: GNU Libc 2.1.1
Compiler: GCC version egcs-2.91.66
KDE: version 1.1.2
Hardware: AMD K6-2 300MHz / 64MB RAM
===============================

PS. IMO cutting down the bug list should be higher priority than
adding more features. A bugfix release soon would definetly be
appreciated.

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1




More information about the KDevelop mailing list