unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Crash on invalid cons_free_list
@ 2005-09-13 14:23 Chong Yidong
  2005-09-13 12:52 ` Kim F. Storm
  0 siblings, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2005-09-13 14:23 UTC (permalink / raw)


[I sent this to emacs-pretest-bug a few days ago, but it didn't seem
to arrive.  I think my email system was flaking out at the time.]

I installed VM to and played around with it trying to make the
string_free_list/compact_small_strings crash happen.  I got a crash on
an invalid cons_free_list; dunno if that's related.

Unfortunately, I have not been able to reproduce the crash.  I'll keep
the gdb session up for the next day or so in case someone needs more
information.  This Emacs was built about four days ago.


Program received signal SIGSEGV, Segmentation fault.
Fcons (car=137392193, cdr=137392193) at alloc.c:2696
2696          cons_free_list = *(struct Lisp_Cons **)&cons_free_list->cdr;
(gdb) p cons_free_list
$3 = (struct Lisp_Cons *) 0x41081b22
(gdb) p cons_free_list->cdr
Cannot access memory at address 0x41081b26
(gdb) xbacktrace
"mapcar"
"vm-mapc"
"vm-copy-local-variables"
"vm-do-needed-mode-line-update"
0x897134c PVEC_COMPILED
"mapatoms"
"vm-update-summary-and-mode-line"
"vm-decode-mime-message"
"vm-show-current-message"
"vm-scroll-forward"
"call-interactively"
"recursive-edit"
"byte-code"
"debug"
"execute-extended-command"
"call-interactively"
(gdb) bt full
#0  Fcons (car=137392193, cdr=137392193) at alloc.c:2696
        val = 137392193
#1  0x08134900 in Flist (nargs=1, args=0xbf983d80) at alloc.c:2784
        val = 143785469
#2  0x08155930 in Fmapcar (function=143785469, sequence=143784269)
    at fns.c:3208
        leni = 2
        args = (int *) 0xbf983d80
        ret = -1080541824
        sa_must_free = 0
#3  0x0814bf66 in Ffuncall (nargs=3, args=0xbf983e34) at eval.c:2865
        fun = 137108664
        funcar = 137392193
        numargs = 2
        lisp_numargs = 137392193
        val = 137392193
        backtrace = {
          next = 0xbf983f10, 
	  function = 0xbf983e30, 
          args = 0xbf983e34, 
          nargs = 2, 
          evalargs = 0 '\0', 
          debug_on_exit = 0 '\0'
       }
       internal_args = (int *) 0xbf983e34
       i = 137392193

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-09-15 22:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-13 14:23 Crash on invalid cons_free_list Chong Yidong
2005-09-13 12:52 ` Kim F. Storm
2005-09-13 18:03   ` Kevin Rodgers
2005-09-14 14:06   ` Richard M. Stallman
2005-09-14 15:07     ` David Kastrup
2005-09-15 12:59       ` Richard M. Stallman
2005-09-15 22:02       ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).