|--==> "MT" == Matt Tucker <tuck(a)whistlingfish.net> writes:
MT> -- Steve Youngs <youngs(a)xemacs.org> spake thusly:
>This one is _really_ annoying.
>
>I'm getting core dumps anytime I do something to a region.
>
>Recipe for crash:
>
>C-SPC
>move point somewhere to create a region
>C-w (M-w works just as well, even M-x boxquote-region)
>CRASH!
>
>Okay, I don't know anything about gdb (never been inspired enough to
>learn), but here's what I've been able to dredge up. I apologise if
>it's not useful.
MT> I'm hoping this one isn't my fault, although I have this fear that it
MT> is. A stack backtrace in gdb (using 'bt' or 'where') would really
help
MT> to pin it down, though.
Your wish is my command:
Current directory is /usr/local/bin/
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-slackware-linux"...
(gdb) core-file ~/core
warning: core file may not match specified executable file.
Core was generated by `xemacs'.
Program terminated with signal 6, Aborted.
Cannot access memory at address 0x40018e30
#0 0x403322e1 in ?? ()
(gdb) bt full
#0 0x403322e1 in ?? ()
No symbol table info available.
#1 0x40332208 in ?? ()
No symbol table info available.
#2 0x403337cb in ?? ()
No symbol table info available.
#3 0x80c8d8b in assert_failed (file=0x82ac746 "lisp.h", line=1397,
expr=0x82ac8a0 "RECORD_TYPEP (obj, lrecord_type_marker)") at emacs.c:3214
file = 0x2aa0 <Address 0x2aa0 out of bounds>
line = 6
expr = 0xbfffe8a4 " "
#4 0x81af5eb in marker_position (marker={gu = {type = Lisp_Type_Int_Even,
val = 38081079}, s = {bits = 1, val = 76162158}, u = {bits = 1,
val = 76162158}, ui = 152324317, i = 152324317, v = 0x91448dd,
cv = 0x91448dd}) at lisp.h:1397
obj = {gu = {type = Lisp_Type_Int_Even, val = 38081079}, s = {
bits = 1, val = 76162158}, u = {bits = 1, val = 76162158}, ui = 152324317,
i = 152324317, v = 0x91448dd, cv = 0x91448dd}
marker = {gu = {type = Lisp_Type_Int_Even, val = 38081079}, s = {
bits = 1, val = 76162158}, u = {bits = 1, val = 76162158}, ui = 152324317,
i = 152324317, v = 0x91448dd, cv = 0x91448dd}
buf = (struct buffer *) 0xbfffede0
#5 0x80a001e in Fcall_interactively (function={gu = {type = Lisp_Type_Record,
---Type <return> to continue, or q <return> to quit---
val = 269569586}, s = {bits = 0, val = 539139172}, u = {bits = 0,
val = 539139172}, ui = 1078278344, i = 1078278344, v = 0x404538c8,
cv = 0x404538c8}, record_flag={gu = {type = Lisp_Type_Record,
val = 269582924}, s = {bits = 0, val = 539165848}, u = {bits = 0,
val = 539165848}, ui = 1078331696, i = 1078331696, v = 0x40460930,
cv = 0x40460930}, keys={gu = {type = Lisp_Type_Record, val = 269582924},
s = {bits = 0, val = 539165848}, u = {bits = 0, val = 539165848},
ui = 1078331696, i = 1078331696, v = 0x40460930, cv = 0x40460930})
at callint.c:936
alloca_size = 6
args = (Lisp_Object *) 0xbfffede0
visargs = (Lisp_Object *) 0xbfffedec
varies = (Lisp_Object *) 0xbfffedf8
arg_from_tty = 0
argnum = 0
gcpro1 = {next = 0xbffff248, var = 0xbffff0bc, nvars = 1}
gcpro2 = {next = 0xbffff100, var = 0xbfffeddc, nvars = 10}
speccount = 1
prefix = {gu = {type = Lisp_Type_Record, val = 269582924}, s = {
bits = 0, val = 539165848}, u = {bits = 0, val = 539165848},
ui = 1078331696, i = 1078331696, v = 0x40460930, cv = 0x40460930}
fun = {gu = {type = Lisp_Type_Record, val = 269833365}, s = {bits = 0,
val = 539666730}, u = {bits = 0, val = 539666730}, ui = 1079333460,
---Type <return> to continue, or q <return> to quit---
i = 1079333460, v = 0x40555254, cv = 0x40555254}
specs = {gu = {type = Lisp_Type_Record, val = 269805982}, s = {
bits = 0, val = 539611964}, u = {bits = 0, val = 539611964},
ui = 1079223928, i = 1079223928, v = 0x4053a678, cv = 0x4053a678}
prompt_data = 0x4064d86c "*r\np"
prompt_index = 3
argcount = 3
set_zmacs_region_stays = 0
mouse_event_count = 0
#6 0x80ced11 in Fcommand_execute (cmd={gu = {type = Lisp_Type_Record,
val = 269569586}, s = {bits = 0, val = 539139172}, u = {bits = 0,
val = 539139172}, ui = 1078278344, i = 1078278344, v = 0x404538c8,
cv = 0x404538c8}, record_flag={gu = {type = Lisp_Type_Record,
val = 269582924}, s = {bits = 0, val = 539165848}, u = {bits = 0,
val = 539165848}, ui = 1078331696, i = 1078331696, v = 0x40460930,
cv = 0x40460930}, keys={gu = {type = Lisp_Type_Record, val = 269582924},
s = {bits = 0, val = 539165848}, u = {bits = 0, val = 539165848},
ui = 1078331696, i = 1078331696, v = 0x40460930, cv = 0x40460930})
at eval.c:2970
record_flag = {gu = {type = Lisp_Type_Record, val = 0}, s = {bits = 0,
val = 0}, u = {bits = 0, val = 0}, ui = 0, i = 0, v = 0x0, cv = 0x0}
keys = {gu = {type = Lisp_Type_Record, val = 0}, s = {bits = 0,
val = 0}, u = {bits = 0, val = 0}, ui = 0, i = 0, v = 0x0, cv = 0x0}
---Type <return> to continue, or q <return> to quit---
prefixarg = {gu = {type = Lisp_Type_Record, val = 269582924}, s = {
bits = 0, val = 539165848}, u = {bits = 0, val = 539165848},
ui = 1078331696, i = 1078331696, v = 0x40460930, cv = 0x40460930}
final = {gu = {type = Lisp_Type_Record, val = 805305208}, s = {
bits = 0, val = -536873232}, u = {bits = 0, val = 1610610416},
ui = 3221220832, i = -1073746464, v = 0xbfffede0, cv = 0xbfffede0}
backtrace = {next = 0x0, function = 0x83b0270, args = 0xbffff1f0,
nargs = 1, pdlcount = 1, evalargs = 0 '\000', debug_on_exit = 0 '\000'}
#7 0x81293f6 in execute_command_event (command_builder=0x849cf58, event={
gu = {type = Lisp_Type_Record, val = 35270899}, s = {bits = 0,
val = 70541798}, u = {bits = 0, val = 70541798}, ui = 141083596,
i = 141083596, v = 0x868c3cc, cv = 0x868c3cc}) at event-stream.c:3834
old_kbd_macro = 0
gcpro1 = {next = 0xbffff37c, var = 0xbffff260, nvars = 1}
#8 0x8129e3c in Fdispatch_event (event={gu = {type = Lisp_Type_Record,
val = 35270899}, s = {bits = 0, val = 70541798}, u = {bits = 0,
val = 70541798}, ui = 141083596, i = 141083596, v = 0x868c3cc,
cv = 0x868c3cc}) at event-stream.c:4117
leaf = {gu = {type = Lisp_Type_Record, val = 269569586}, s = {
bits = 0, val = 539139172}, u = {bits = 0, val = 539139172},
ui = 1078278344, i = 1078278344, v = 0x404538c8, cv = 0x404538c8}
event = {gu = {type = Lisp_Type_Record, val = 35270899}, s = {
bits = 0, val = 70541798}, u = {bits = 0, val = 70541798}, ui = 141083596,
---Type <return> to continue, or q <return> to quit---
i = 141083596, v = 0x868c3cc, cv = 0x868c3cc}
console = {gu = {type = Lisp_Type_Record, val = 34763706}, s = {
bits = 0, val = 69527412}, u = {bits = 0, val = 69527412}, ui = 139054824,
i = 139054824, v = 0x849cee8, cv = 0x849cee8}
channel = {gu = {type = Lisp_Type_Record, val = 269569586}, s = {
bits = 0, val = 539139172}, u = {bits = 0, val = 539139172},
ui = 1078278344, i = 1078278344, v = 0x404538c8, cv = 0x404538c8}
#9 0x80aa350 in Fcommand_loop_1 () at cmdloop.c:583
event = {gu = {type = Lisp_Type_Record, val = 35270899}, s = {
bits = 0, val = 70541798}, u = {bits = 0, val = 70541798}, ui = 141083596,
i = 141083596, v = 0x868c3cc, cv = 0x868c3cc}
old_loop = {gu = {type = Lisp_Type_Record, val = 269582924}, s = {
bits = 0, val = 539165848}, u = {bits = 0, val = 539165848},
ui = 1078331696, i = 1078331696, v = 0x40460930, cv = 0x40460930}
gcpro1 = {next = 0xbffff410, var = 0xbffff374, nvars = 1}
gcpro2 = {next = 0xbffff388, var = 0xbffff370, nvars = 1}
was_locked = 0
#10 0x80aa629 in command_loop_1 (dummy={gu = {type = Lisp_Type_Record,
val = 269582924}, s = {bits = 0, val = 539165848}, u = {bits = 0,
val = 539165848}, ui = 1078331696, i = 1078331696, v = 0x40460930,
cv = 0x40460930}) at cmdloop.c:494
No locals.
#11 0x80cb68d in condition_case_1 (handlers={gu = {type = Lisp_Type_Record,
---Type <return> to continue, or q <return> to quit---
val = 269582834}, s = {bits = 0, val = 539165668}, u = {bits = 0,
val = 539165668}, ui = 1078331336, i = 1078331336, v = 0x404607c8,
cv = 0x404607c8}, bfun=0x80aa5e0 <command_loop_1>, barg={gu = {
type = Lisp_Type_Record, val = 269582924}, s = {bits = 0,
val = 539165848}, u = {bits = 0, val = 539165848}, ui = 1078331696,
i = 1078331696, v = 0x40460930, cv = 0x40460930},
hfun=0x80aa6bc <cmd_error>, harg={gu = {type = Lisp_Type_Record,
val = 269582924}, s = {bits = 0, val = 539165848}, u = {bits = 0,
val = 539165848}, ui = 1078331696, i = 1078331696, v = 0x40460930,
cv = 0x40460930}) at eval.c:1651
obj = {gu = {type = Lisp_Type_Record, val = 805305603}, s = {bits = 0,
val = -536872442}, u = {bits = 0, val = 1610611206}, ui = 3221222412,
i = -1073744884, v = 0xbffff40c, cv = 0xbffff40c}
handlers = {gu = {type = Lisp_Type_Char, val = 1}, s = {bits = 0,
val = 3}, u = {bits = 0, val = 3}, ui = 6, i = 6, v = 0x6, cv = 0x6}
speccount = 0
c = {tag = {gu = {type = Lisp_Type_Record, val = 35838985}, s = {
bits = 0, val = 71677970}, u = {bits = 0, val = 71677970},
ui = 143355940, i = 143355940, v = 0x88b7024, cv = 0x88b7024}, val = {
gu = {type = Lisp_Type_Record, val = 269582924}, s = {bits = 0,
val = 539165848}, u = {bits = 0, val = 539165848}, ui = 1078331696,
i = 1078331696, v = 0x40460930, cv = 0x40460930}, next = 0xbffff53c,
gcpro = 0x0, jmp = {{__jmpbuf = {-1073744884, -1073744260, -1073744140,
---Type <return> to continue, or q <return> to quit---
-1073744684, -1073744948, 135050747}, __mask_was_saved = 0,
__saved_mask = {__val = {21, 3221222652, 138351116, 3221222628,
135967870, 3221222536, 3221222652, 3221222564, 134795697, 0,
1080177010, 3221222564, 134795756, 138345368, 3221222588, 21,
138351116, 770, 0, 3221159936, 622738, 33261, 1, 0, 0, 0, 0, 0,
7765726, 4096, 15192, 982560299}}}}, backlist = 0x0,
lisp_eval_depth = 0, pdlcount = 0}
gcpro1 = {next = 0x0, var = 0xbffff4f0, nvars = 1}
#12 0x80aa7f4 in command_loop_2 (dummy={gu = {type = Lisp_Type_Record,
val = 269582924}, s = {bits = 0, val = 539165848}, u = {bits = 0,
val = 539165848}, ui = 1078331696, i = 1078331696, v = 0x40460930,
cv = 0x40460930}) at cmdloop.c:256
No locals.
#13 0x80d5343 in internal_catch (tag={gu = {type = Lisp_Type_Record,
val = 269534672}, s = {bits = 0, val = 539069344}, u = {bits = 0,
val = 539069344}, ui = 1078138688, i = 1078138688, v = 0x40431740,
cv = 0x40431740}, func=0x80aa7b4 <command_loop_2>, arg={gu = {
type = Lisp_Type_Record, val = 269582924}, s = {bits = 0,
val = 539165848}, u = {bits = 0, val = 539165848}, ui = 1078331696,
i = 1078331696, v = 0x40460930, cv = 0x40460930}, threw=0x0)
at eval.c:1317
tag = {gu = {type = Lisp_Type_Record, val = 805304873}, s = {bits = 0,
val = -536873902}, u = {bits = 0, val = 1610609746}, ui = 3221219492,
---Type <return> to continue, or q <return> to quit---
i = -1073747804, v = 0xbfffe8a4, cv = 0xbfffe8a4}
c = {tag = {gu = {type = Lisp_Type_Record, val = 269534672}, s = {
bits = 0, val = 539069344}, u = {bits = 0, val = 539069344},
ui = 1078138688, i = 1078138688, v = 0x40431740, cv = 0x40431740}, val = {
gu = {type = Lisp_Type_Record, val = 269582924}, s = {bits = 0,
val = 539165848}, u = {bits = 0, val = 539165848}, ui = 1078331696,
i = 1078331696, v = 0x40460930, cv = 0x40460930}, next = 0x0, gcpro = 0x0,
jmp = {{__jmpbuf = {139054824, -1073744260, -1073744140, -1073744396,
-1073744612, 135090967}, __mask_was_saved = 0, __saved_mask = {
__val = {3221222956, 3221223160, 0, 3221223180, 1819242356,
1932474995, 980314466, 1920169263, 0, 3221222852, 138278380,
4222418945, 3221223036, 3221223036, 3221223036, 3221223036,
3221223059, 3288331899, 3221223036, 3288331899, 0, 0, 0, 0, 0,
138345396, 15, 3221223016, 788529152, 3221222780, 6, 3221223032}}}},
backlist = 0x0, lisp_eval_depth = 0, pdlcount = 0}
#14 0x80a9b0d in initial_command_loop (load_me={gu = {type = Lisp_Type_Record,
val = 269582924}, s = {bits = 0, val = 539165848}, u = {bits = 0,
val = 539165848}, ui = 1078331696, i = 1078331696, v = 0x40460930,
cv = 0x40460930}) at cmdloop.c:305
load_me = {gu = {type = Lisp_Type_Record, val = 805304873}, s = {
bits = 0, val = -536873902}, u = {bits = 0, val = 1610609746},
ui = 3221219492, i = -1073747804, v = 0xbfffe8a4, cv = 0xbfffe8a4}
#15 0x80c6c8a in xemacs_21_2_b44_i686_pc_linux () at emacs.c:2253
---Type <return> to continue, or q <return> to quit---
stack_bottom_variable = 0 '\000'
skip_args = 0
load_me = {gu = {type = Lisp_Type_Record, val = 269582924}, s = {
bits = 0, val = 539165848}, u = {bits = 0, val = 539165848},
ui = 1078331696, i = 1078331696, v = 0x40460930, cv = 0x40460930}
inhibit_window_system = -1073744260
#16 0x80c903f in main (argc=1, argv=0xbffff7bc, envp=0xbffff7c4)
at emacs.c:2620
argc = 0
argv = (char **) 0xbfffe8a4
envp = (char **) 0x6
vol_argc = 1
vol_argv = (char **) 0xbffff7bc
vol_envp = (char **) 0xbffff7c4
restarted = 0
#17 0x4032223a in ?? ()
No symbol table info available.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 9E7E2820>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|