From: Josef W. <Jos...@gm...> - 2006-10-22 15:08:50
|
On Sunday 22 October 2006 16:24, Maxim Yegorushkin wrote: > My program uses signals heavily (sends itself). Actually, a good hint. > BB# 343925 > > Callgrind: threads.c:396 (push_exec_state): Assertion '(sp > 0) && (sp > < 10)' failed. Wow. This is one of the few places where callgrind has a fixed limit. You must be running more than 9 signal handlers at the same time (in one thread). Could this be the case? Can you try to increase MAX_SIGHANDLERS in callgrind/global.h, e.g. to 30, and test your program again? Hmmm... if you allow for reentrency into a signal handler, 30 could be not enough. Can you tell us if this helps? Josef |