From: Juanma Barranquero <lekktu@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: ams@gnu.org, emacs-devel@gnu.org
Subject: Re: emacs from head segfaults when run with -nw
Date: Sat, 17 Apr 2010 18:19:16 +0200 [thread overview]
Message-ID: <w2vf7ccd24b1004170919s62b1a02ft5b9f684c4b314371@mail.gmail.com> (raw)
In-Reply-To: <83633qcy2h.fsf@gnu.org>
On Sat, Apr 17, 2010 at 09:55, Eli Zaretskii <eliz@gnu.org> wrote:
> You go up the call stack printing the objects that are being marked,
> until you find one that is a symbol with a meaningful name.
See attached log.
Juanma
(gdb) bt
#0 w32_abort () at w32fns.c:7349
#1 0x0104b85c in die (msg=0x15489a0 "assertion failed:
STRINGP(ptr->xname)", file=0x1546d38 "alloc.c", line=5576) at
alloc.c:6250
#2 0x01049fed in mark_object (arg=49829890) at alloc.c:5576
#3 0x0104988d in mark_char_table (ptr=0x3394e00) at alloc.c:5396
#4 0x01049880 in mark_char_table (ptr=0x3382f00) at alloc.c:5393
#5 0x01049880 in mark_char_table (ptr=0x3391e00) at alloc.c:5393
#6 0x01049f0a in mark_object (arg=54074885) at alloc.c:5558
#7 0x01049fa7 in mark_object (arg=54030674) at alloc.c:5572
#8 0x010496e0 in mark_vectorlike (ptr=0x2f88000) at alloc.c:5368
#9 0x01049f48 in mark_object (arg=49840133) at alloc.c:5560
#10 0x0104892f in Fgarbage_collect () at alloc.c:5083
#11 0x0103c0cd in Ffuncall (nargs=2, args=0x88f640) at eval.c:2958
#12 0x011ef458 in Fbyte_code (bytestr=20502681, vector=20503613,
maxdepth=28) at bytecode.c:680
#13 0x0103d67c in funcall_lambda (fun=20502661, nargs=0,
arg_vector=0x88f904) at eval.c:3211
#14 0x0103ce9c in Ffuncall (nargs=1, args=0x88f900) at eval.c:3070
#15 0x011ef458 in Fbyte_code (bytestr=20498769, vector=20498989,
maxdepth=24) at bytecode.c:680
#16 0x0103d67c in funcall_lambda (fun=20498749, nargs=0,
arg_vector=0x88fb20) at eval.c:3211
#17 0x0103d0c3 in apply_lambda (fun=20498749, args=49838082,
eval_flag=1) at eval.c:3135
#18 0x0103aff0 in Feval (form=50108990) at eval.c:2388
#19 0x01006ee8 in top_level_2 () at keyboard.c:1365
#20 0x010389aa in internal_condition_case (bfun=0x1006ed5
<top_level_2>, handlers=49894618, hfun=0x10069e5 <cmd_error>) at
eval.c:1490
#21 0x01006f1f in top_level_1 () at keyboard.c:1373
#22 0x0103842c in internal_catch (tag=49893810, func=0x1006eea
<top_level_1>, arg=49838082) at eval.c:1226
#23 0x01006e58 in command_loop () at keyboard.c:1328
#24 0x010060f0 in recursive_edit_1 () at keyboard.c:950
#25 0x0100660b in Frecursive_edit () at keyboard.c:1012
#26 0x01002a95 in main (argc=3, argv=0x992bd0) at emacs.c:1784
Lisp Backtrace:
"command-line" (0x88f904)
"normal-top-level" (0x88fb20)
(gdb) frame 6
#6 0x01049f0a in mark_object (arg=54074885) at alloc.c:5558
5558 mark_char_table (XVECTOR (obj));
(gdb) p obj
$1 = 54074885
(gdb) xtype
Lisp_Vectorlike
PVEC_CHAR_TABLE
(gdb) xchartable
$2 = (struct Lisp_Char_Table *) 0x3391e00
Purpose: "nil" 0 extra slots
(gdb) up
#7 0x01049fa7 in mark_object (arg=54030674) at alloc.c:5572
5572 mark_object (ptr->value);
(gdb) p ptr
$3 = (struct Lisp_Symbol *) 0x3387150
(gdb) p ptr->value
$4 = 54074885
(gdb) xtype
Lisp_Vectorlike
PVEC_CHAR_TABLE
(gdb) xchartable
$5 = (struct Lisp_Char_Table *) 0x3391e00
Purpose: "nil" 0 extra slots
(gdb) up
#8 0x010496e0 in mark_vectorlike (ptr=0x2f88000) at alloc.c:5368
5368 mark_object (ptr->contents[i]);
(gdb) p ptr
$6 = (struct Lisp_Vector *) 0x2f88000
(gdb) p ptr->contents[i]
$7 = 54030674
(gdb) xtype
Lisp_Symbol
(gdb) xsymbol
$8 = (struct Lisp_Symbol *) 0x3387150
"fill-nospace-between-words-table"
next prev parent reply other threads:[~2010-04-17 16:19 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-02 19:02 emacs from head segfaults when run with -nw Alfred M. Szmidt
2010-04-02 20:49 ` Dan Nicolaescu
2010-04-02 23:07 ` Juri Linkov
2010-04-02 23:48 ` Dan Nicolaescu
2010-04-03 10:42 ` Alfred M. Szmidt
2010-04-03 19:19 ` Dan Nicolaescu
2010-04-03 22:12 ` Juri Linkov
2010-04-03 23:56 ` Ken Hori
2010-04-04 11:06 ` Juri Linkov
2010-04-04 8:10 ` Jan Djärv
2010-04-05 17:22 ` Dan Nicolaescu
2010-04-14 15:05 ` Randal L. Schwartz
2010-04-18 2:35 ` Randal L. Schwartz
2010-04-18 3:05 ` Randal L. Schwartz
2010-04-05 9:04 ` Eli Zaretskii
2010-04-05 13:34 ` Alfred M. Szmidt
2010-04-05 14:06 ` Eli Zaretskii
2010-04-05 15:03 ` Alfred M. Szmidt
2010-04-05 15:24 ` Eli Zaretskii
2010-04-06 21:08 ` Alfred M. Szmidt
2010-04-07 3:06 ` Eli Zaretskii
2010-04-08 20:03 ` Alfred M. Szmidt
2010-04-05 16:49 ` Eli Zaretskii
2010-04-05 16:59 ` Juri Linkov
2010-04-05 21:39 ` Eli Zaretskii
2010-04-06 0:41 ` Stefan Monnier
2010-04-05 13:52 ` Stefan Monnier
2010-04-05 14:17 ` Eli Zaretskii
2010-04-05 20:00 ` Sean Sieger
2010-04-05 21:49 ` Eli Zaretskii
2010-04-06 18:49 ` Andreas Schwab
2010-04-07 3:25 ` Eli Zaretskii
2010-04-07 3:57 ` Stefan Monnier
2010-04-07 5:35 ` Eli Zaretskii
2010-04-07 11:11 ` Juanma Barranquero
2010-04-09 11:10 ` Eli Zaretskii
2010-04-10 1:25 ` Stefan Monnier
2010-04-05 14:11 ` Chong Yidong
2010-04-05 14:19 ` Eli Zaretskii
2010-04-16 14:18 ` Juanma Barranquero
2010-04-16 21:06 ` Eli Zaretskii
2010-04-16 23:18 ` Juanma Barranquero
2010-04-17 7:55 ` Eli Zaretskii
2010-04-17 16:19 ` Juanma Barranquero [this message]
2010-04-17 16:37 ` Eli Zaretskii
2010-04-17 19:12 ` Juanma Barranquero
2010-04-17 19:18 ` Eli Zaretskii
2010-04-17 19:20 ` Juanma Barranquero
2010-04-17 21:02 ` Eli Zaretskii
2010-04-16 8:26 ` Sascha Wilde
2010-04-16 21:01 ` Eli Zaretskii
2010-04-17 10:28 ` Sascha Wilde
2010-04-17 12:39 ` Eli Zaretskii
2010-04-17 18:49 ` Sascha Wilde
2010-04-19 12:31 ` Eli Zaretskii
2010-04-20 10:30 ` Sascha Wilde
2010-04-20 12:03 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=w2vf7ccd24b1004170919s62b1a02ft5b9f684c4b314371@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=ams@gnu.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).