bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: stack overflow while using sml-mode.el


From: Dave Love
Subject: Re: stack overflow while using sml-mode.el
Date: Mon, 23 Oct 2000 15:50:10 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.90

[Please don't set Mail-Copies-To: when mailing the bug list.  Also the
current address is bug-gnu-emac@gnu.org.]

>>>>> "Colin" == Colin Walters <walters+n@cis.ohio-state.edu> writes:

 Colin> I'm having a strange problem where Emacs will overflow the stack in
 Colin> alloc.c, 

It doesn't look like stack overflow, just typical heap corruption of
the sort that's very difficult to track down :-(.  Someone may have
suggestions for instrumentation to help debug it in this case.  Thanks
for the report, anyway.

 Colin> (gdb) xstring
 Colin> Argument to arithmetic operation not a number or boolean.

 Colin> (Am I using the "xstring" macro correctly?)

It's not being applied to a Lisp_Object (which prints as a large
integer in gdb).  [In other circumstances -- system-dependent -- you
can cure that error by using xreload if you have restarted Emacs in
the same gdb session.]

Unfortunately, gdb commands which dissect Lisp objects may not work
while a GC is in progress, because the tag bits aren't valid.  I'm not
sure what will and will not work.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]