Subject: Re: CVS GTK version dies on startup? :(
From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Wed Oct 31 2001 - 11:11:39 CST
> (gdb) r
> Starting program: /usr/local/abi/bin/AbiWord_d 
> 
> **** (1) Assert ****
> **** (1) pAction && (pAction->getMenuId() == id) at ev_Menu_Actions.cpp:166 ****
> **** (1) Continue ? (y/n) [y] : n
> 
> Program received signal SIGABRT, Aborted.
This is exactly the same problem that we were having couple of 
days ago. I spent good five hours tracing this then, and it was 
caused by creating a temporary copy of the menu string vector on 
the stack resulting in stack overflow (the reason why the id did not 
match getMenuId was that the cretion of the temporary copy on the 
stack overwriten part of the heap in use). We really need to find out 
why the debug build is running out of stack space and fix that, this 
not going to go away even if it works with the current configuration, 
it merely means that the heap is used differently, but it is going to 
come back to haunt us.
Tomas
This archive was generated by hypermail 2b25 : Wed Oct 31 2001 - 11:12:19 CST