[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

GDB crash (reproductible)


I've found this problem with GDB (on libc0.3). After issuing 'show'
and hitting enter a few times:

	../../gdb/ui-out.c:130: gdb-internal-error: push_level: Assertion `uiout->level >= 0 && uiout->level < MAX_UI_OUT_LEVELS' failed.

code says:

	/* Maintain a stack so that the info applicable to the inner most list
	   is always available.  Stack/nested level 0 is reserved for the
	   top-level result. */

	enum { MAX_UI_OUT_LEVELS = 5 };

and uiout->level is only increased in push_level(), the same function that

I guess rising MAX_UI_OUT_LEVELS will fix, but i'm not sure if this is the
clean solution.


Robert Millan

"5 years from now everyone will be running
free GNU on their 200 MIPS, 64M SPARCstation-5"

              Andrew S. Tanenbaum, 30 Jan 1992

To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: