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

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

Segfault under edebug


From: Johan Bockgård
Subject: Segfault under edebug
Date: Thu, 23 Jun 2005 23:20:37 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

In GNU Emacs 22.0.50.25 (x86_64-unknown-linux-gnu, X toolkit) of
 2005-06-23 on muon


Instrument the following definition for edebugging with C-u C-M-x:

    (defun foo () (foo))

Evaluate (foo)

When edebug is entered press `c' to continue.

Emacs segfaults.


(gdb) run -Q
Starting program: /home/bojohan/cvs/emacs/src/emacs -Q

Program received signal SIGSEGV, Segmentation fault.
doprnt1 (lispstrings=Cannot access memory at address 0x7fbf7aff4c
) at doprnt.c:114
114       char *big_buffer = 0;
(gdb) bt
#0  doprnt1 (lispstrings=Cannot access memory at address 0x7fbf7aff4c
) at doprnt.c:114
#1  0x000000000053da1f in doprnt (buffer=0x0, bufsize=-1082457696, 
    format=0x7fbf7aff90 <Address 0x7fbf7aff90 out of bounds>, 
    format_end=0x561dc0 "Lisp nesting exceeds `max-lisp-eval-depth'", 
nargs=5643754, args=0x3)
    at doprnt.c:72
#2  0x0000000000503efa in error (m=0x561dc0 "Lisp nesting exceeds 
`max-lisp-eval-depth'", 
    a1=0x7fbf7b01a0 "", a2=0xc8 <Address 0xc8 out of bounds>, 
    a3=0x561dc0 "Lisp nesting exceeds `max-lisp-eval-depth'") at eval.c:1800
#3  0x000000000050559e in Ffuncall (nargs=3, args=0x7fbf7b0320) at eval.c:2736
#4  0x0000000000505007 in call2 (fn=0, arg1=548673356192, arg2=200) at 
eval.c:2601
#5  0x00000000005038a3 in Fsignal (error_symbol=9477985, data=12956325) at 
eval.c:1536
#6  0x0000000000503f57 in error (m=0xdc8d93 "", a1=0x7fbf7b01a0 "", 
    a2=0xc8 <Address 0xc8 out of bounds>, a3=0x561dc0 "Lisp nesting exceeds 
`max-lisp-eval-depth'")
    at eval.c:1817
#7  0x000000000050559e in Ffuncall (nargs=3, args=0x7fbf7b0560) at eval.c:2736
#8  0x0000000000505007 in call2 (fn=0, arg1=548673356192, arg2=200) at 
eval.c:2601


-- 
Johan Bockgård




reply via email to

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