* bug#11704: 24.1.50; REL_ALLOC-related segfault on GNU/Linux
@ 2012-06-14 0:08 BT Templeton
2019-08-17 22:06 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: BT Templeton @ 2012-06-14 0:08 UTC (permalink / raw)
To: 11704
If I build Emacs with REL_ALLOC enabled on a GNU/Linux system, it
sometimes crashes with a segmentation fault apparently related to the
`real_morecore' function used in ralloc.c.
This is one backtrace I've gotten from a core dump of emacs -Q:
--8<---------------cut here---------------start------------->8---
(gdb) bt full
#0 0x00007f248dd9b757 in kill () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1 0x00000000004fa3ea in fatal_error_signal (sig=<optimized out>) at emacs.c:368
No locals.
#2 fatal_error_signal (sig=<optimized out>) at emacs.c:338
No locals.
#3 <signal handler called>
No symbol table info available.
#4 0x00007ffff2c197b0 in ?? ()
No symbol table info available.
#5 0x00000000005d3b4d in check_memory_limits () at vm-limit.c:185
cp = <optimized out>
five_percent = 922337203685477580
data_size = <optimized out>
new_warnlevel = <optimized out>
#6 0x00007f248dde1fcf in sYSMALLOc (av=<optimized out>, nb=<optimized out>) at malloc.c:3203
snd_brk = <optimized out>
front_misalign = <optimized out>
remainder = <optimized out>
tried_mmap = false
old_size = <optimized out>
size = 266240
old_end = 0x1422000 ""
correction = <optimized out>
end_misalign = <optimized out>
aligned_brk = <optimized out>
p = <optimized out>
pagemask = 4095
#7 _int_malloc (av=0x7f248e0ebe60, bytes=<optimized out>) at malloc.c:4747
p = <optimized out>
iters = <optimized out>
nb = 1008
idx = <optimized out>
bin = <optimized out>
victim = 0x1421d90
size = 624
victim_index = <optimized out>
remainder = <optimized out>
remainder_size = <optimized out>
block = <optimized out>
bit = <optimized out>
map = <optimized out>
fwd = <optimized out>
bck = <optimized out>
errstr = <optimized out>
__func__ = "_int_malloc"
#8 0x00007f248dde3960 in *__GI___libc_malloc (bytes=bytes@entry=1000) at malloc.c:3660
ar_ptr = 0x7f248e0ebe60
victim = 0x0
__func__ = "__libc_malloc"
#9 0x000000000055555e in lisp_malloc (nbytes=nbytes@entry=1000, type=type@entry=MEM_TYPE_STRING) at alloc.c:911
val = <optimized out>
#10 0x0000000000555aaf in allocate_string () at alloc.c:1938
b = <optimized out>
i = <optimized out>
s = <optimized out>
#11 make_uninit_multibyte_string (nbytes=2, nchars=2) at alloc.c:2539
string = <optimized out>
#12 make_uninit_multibyte_string (nchars=2, nbytes=2) at alloc.c:2529
string = 140737266161584
#13 0x0000000000555c76 in make_specified_string (contents=0xf37830 "vcrmal-top-level-add-to-load-path", nchars=nchars@entry=2, nbytes=2, multibyte=0) at alloc.c:2491
val = <optimized out>
#14 0x0000000000590f3a in read1 (readcharfun=readcharfun@entry=21096005, pch=pch@entry=0x7fff35df10bc, first_in_list=<optimized out>) at lread.c:2998
end = <optimized out>
force_multibyte = 0
force_singlebyte = 0
cancel = 0
p = 0xf37832 "rmal-top-level-add-to-load-path"
ch = 34
nchars = 2
c = <optimized out>
uninterned_symbol = 0
multibyte = <optimized out>
#15 0x0000000000591e4e in read_list (flag=flag@entry=0, readcharfun=readcharfun@entry=21096005) at lread.c:3499
ch = 0
val = 11965170
tail = 11965170
elt = <optimized out>
tem = <optimized out>
doc_reference = 0
first_in_list = <optimized out>
#16 0x0000000000590cba in read1 (readcharfun=readcharfun@entry=21096005, pch=pch@entry=0x7fff35df11cc, first_in_list=first_in_list@entry=0) at lread.c:2390
c = 40
uninterned_symbol = 0
multibyte = <optimized out>
#17 0x0000000000591b70 in read0 (readcharfun=readcharfun@entry=21096005) at lread.c:2051
val = <optimized out>
c = 0
#18 0x0000000000590cdf in read1 (readcharfun=readcharfun@entry=21096005, pch=pch@entry=0x7fff35df12bc, first_in_list=0) at lread.c:2773
c = 39
uninterned_symbol = 0
multibyte = <optimized out>
#19 0x0000000000591e4e in read_list (flag=flag@entry=0, readcharfun=readcharfun@entry=21096005) at lread.c:3499
ch = 0
val = 21074998
tail = 21074998
elt = <optimized out>
tem = <optimized out>
doc_reference = 0
first_in_list = <optimized out>
#20 0x0000000000590cba in read1 (readcharfun=readcharfun@entry=21096005, pch=pch@entry=0x7fff35df13cc, first_in_list=first_in_list@entry=0) at lread.c:2390
c = 40
uninterned_symbol = 0
multibyte = <optimized out>
#21 0x0000000000591b70 in read0 (readcharfun=readcharfun@entry=21096005) at lread.c:2051
val = <optimized out>
c = 0
#22 0x0000000000591bfc in read_internal_start (stream=stream@entry=21096005, start=start@entry=11965170, end=end@entry=11965170) at lread.c:2024
retval = <optimized out>
#23 0x0000000000592a15 in readevalloop (readcharfun=readcharfun@entry=21096005, stream=stream@entry=0x0, sourcename=21101697, sourcename@entry=21095601, printflag=0, unibyte=unibyte@entry=11965170, readfun=11965170, start=11965170,
end=11965170) at lread.c:1821
count1 = 27
c = <optimized out>
val = <optimized out>
count = 23
b = <optimized out>
continue_reading_p = <optimized out>
lex_bound = <optimized out>
whole_buffer = 1
first_sexp = <optimized out>
#24 0x0000000000592d46 in Feval_buffer (buffer=<optimized out>, printflag=11965170, filename=21095601, unibyte=11965170, do_allow_print=<optimized out>) at lread.c:1892
count = 19
tem = 11965170
buf = 21096005
#25 0x000000000056fa77 in Ffuncall (nargs=<optimized out>, args=args@entry=0x7fff35df1588) at eval.c:2837
fun = 11336621
original_fun = <optimized out>
funcar = <optimized out>
numargs = <optimized out>
lisp_numargs = 20
val = <optimized out>
backtrace = {
next = 0x7fff35df16f0,
function = 0x7fff35df1588,
args = 0x7fff35df1590,
nargs = 5,
debug_on_exit = 0
}
internal_args = 0x7fff35df1590
i = <optimized out>
#26 0x00000000005a6490 in exec_byte_code (bytestr=<optimized out>, vector=12528861, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0) at bytecode.c:784
count = 12
op = <optimized out>
vectorp = 0xbf2ce8
stack = {
pc = 0xc2038c "\210,\336\b!\210\016\"\204\256",
byte_string = 12706497,
byte_string_start = 0xc20300 "\306\b!\204\022",
constants = 12528861,
next = 0x7fff35df1ab0
}
top = 0x7fff35df1588
result = <optimized out>
#27 0x000000000056f601 in funcall_lambda (fun=12529229, nargs=nargs@entry=4, arg_vector=arg_vector@entry=0x7fff35df1768) at eval.c:3053
val = <optimized out>
syms_left = 11965170
next = <optimized out>
lexenv = 11965170
count = 8
i = <optimized out>
optional = <optimized out>
rest = <optimized out>
#28 0x000000000056f91b in Ffuncall (nargs=nargs@entry=5, args=args@entry=0x7fff35df1760) at eval.c:2882
fun = <optimized out>
original_fun = 12532018
funcar = <optimized out>
numargs = 4
lisp_numargs = 16
val = <optimized out>
backtrace = {
next = 0x7fff35df19c0,
function = 0x7fff35df1760,
args = 0x7fff35df1768,
nargs = 4,
debug_on_exit = 0
}
internal_args = <optimized out>
i = <optimized out>
#29 0x000000000056fcb9 in call4 (fn=<optimized out>, arg1=arg1@entry=21095601, arg2=arg2@entry=21095601, arg3=<optimized out>, arg4=<optimized out>) at eval.c:2639
ret_ungc_val = 140737266161584
args = {12532018, 21095601, 21095601, 11965218, 11965218}
#30 0x0000000000593181 in Fload (file=21095569, noerror=11965218, nomessage=11965218, nosuffix=<optimized out>, must_suffix=<optimized out>) at lread.c:1255
val = <optimized out>
stream = <optimized out>
fd = 3
count = 0
found = 21095601
efound = <optimized out>
hist_file_name = 21095601
newer = 0
compiled = 0
handler = <optimized out>
safe_p = 1
fmode = 0x5fd856 "r"
tmp = {21020320, 21095568}
version = <optimized out>
#31 0x000000000056fa77 in Ffuncall (nargs=<optimized out>, args=args@entry=0x7fff35df1a50) at eval.c:2837
fun = 11336573
original_fun = <optimized out>
funcar = <optimized out>
numargs = <optimized out>
lisp_numargs = 20
val = <optimized out>
backtrace = {
next = 0x7fff35df1bd0,
function = 0x7fff35df1a50,
args = 0x7fff35df1a58,
nargs = 4,
debug_on_exit = 0
}
internal_args = 0x7fff35df1970
i = <optimized out>
#32 0x00000000005a6490 in exec_byte_code (bytestr=<optimized out>, vector=13768797, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0xd438a0) at bytecode.c:784
count = 3
op = <optimized out>
vectorp = 0xd21868
stack = {
pc = 0xd438da "\210)\324\325\003P\002\"\204Q",
byte_string = 13763169,
byte_string_start = 0xd438a0 "\b\203\b",
constants = 13768797,
next = 0x0
}
top = 0x7fff35df1a50
result = <optimized out>
#33 0x000000000056f4f9 in funcall_lambda (fun=13768797, fun@entry=13769213, nargs=nargs@entry=0, arg_vector=0xd438a0, arg_vector@entry=0x7fff35df1b20) at eval.c:2987
val = <optimized out>
syms_left = <optimized out>
next = <optimized out>
lexenv = <optimized out>
count = -501157
i = <optimized out>
optional = <optimized out>
rest = <optimized out>
#34 0x000000000056e9ec in apply_lambda (fun=13769213, args=<optimized out>) at eval.c:2930
args_left = 11965170
i = <optimized out>
numargs = 0
arg_vector = 0x7fff35df1b20
tem = <optimized out>
sa_count = 3
sa_must_free = 0
#35 0x000000000056eda3 in eval_sub (form=form@entry=12922630) at eval.c:2232
fun = <optimized out>
val = <optimized out>
original_fun = <optimized out>
original_args = 11965170
funcar = <optimized out>
backtrace = {
next = 0x0,
function = 0x7fff35df1bc0,
args = 0x7fff35df1b20,
nargs = 0,
debug_on_exit = 0
}
#36 0x00000000005715f5 in Feval (form=12922630, lexical=<optimized out>) at eval.c:2022
count = 2
#37 0x000000000056dee3 in internal_condition_case (bfun=bfun@entry=0x4fd260 <top_level_2>, handlers=12016882, hfun=hfun@entry=0x4fead0 <cmd_error>) at eval.c:1334
val = <optimized out>
c = {
tag = 11965170,
val = 11965170,
next = 0x7fff35df1e40,
gcpro = 0x0,
jmp = {{
__jmpbuf = {1, -5247040479996412758, 11965170, 400, 140734097204144, 0, 5246885072366730410, -5247039641064964950},
__mask_was_saved = 0,
__saved_mask = {
__val = {1, 8568544, 0, 140734097204144, 0, 0, 139795061500402, 1, 0, 0, 139794975237776, 0, 1, 16037024, 11965170, 400}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 12016882,
var = 11965170,
chosen_clause = 0,
tag = 0x7fff35df1cf0,
next = 0x0
}
#38 0x00000000004fd796 in top_level_1 (ignore=ignore@entry=11965170) at keyboard.c:1172
No locals.
#39 0x000000000056dddb in internal_catch (tag=<error reading variable: Cannot access memory at address 0xffffffffffffffe0>, func=func@entry=0x4fd730 <top_level_1>, arg=11965170) at eval.c:1091
c = {
tag = 12012674,
val = 11965170,
next = 0x0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {1, -5247040479996412758, 11965170, 400, 140734097204144, 0, 5246885072414964906, -5247039641171395414},
__mask_was_saved = 0,
__saved_mask = {
__val = {0, 0, 0, 0, 0, 0, 5980577, 352, 6258763, 140734097203072, 140734097203080, 344, 140734097203072, 6258763, 11965170, 12202354}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
#40 0x00000000004fe58f in command_loop () at keyboard.c:1127
No locals.
#41 recursive_edit_1 () at keyboard.c:754
count = 1
val = 16037024
#42 0x00000000004fe8ca in Frecursive_edit () at keyboard.c:818
count = 0
buffer = 11965170
#43 0x00000000004160b8 in main (argc=2, argv=<optimized out>) at emacs.c:1699
dummy = 1
stack_bottom_variable = -110 '\222'
do_initial_setlocale = <optimized out>
skip_args = 0
rlim = {
rlim_cur = 8720000,
rlim_max = 18446744073709551615
}
no_loadup = 0
junk = 0x0
dname_arg = 0x0
ch_to_dir = 0x3d8f538 <Address 0x3d8f538 out of bounds>
Lisp Backtrace:
"eval-buffer" (0x35df1590)
"load-with-code-conversion" (0x35df1768)
"load" (0x35df1a58)
"normal-top-level" (0x35df1b20)
--8<---------------cut here---------------end--------------->8---
And another backtrace:
--8<---------------cut here---------------start------------->8---
(gdb) bt full
#0 0x00007fa35526c757 in kill () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1 0x00000000004fa3ea in fatal_error_signal (sig=<optimized out>) at emacs.c:368
No locals.
#2 fatal_error_signal (sig=<optimized out>) at emacs.c:338
No locals.
#3 <signal handler called>
No symbol table info available.
#4 0x00007ffff2c197b0 in ?? ()
No symbol table info available.
#5 0x00000000005d2c67 in obtain (address=0x1431290, size=<optimized out>) at ralloc.c:256
new = <optimized out>
get = <optimized out>
heap = 0x0
already_available = <optimized out>
#6 0x00000000005d2dd8 in relocate_blocs (bloc=bloc@entry=0x17bd470, heap=0x0, heap@entry=0xb53a40, address=<optimized out>) at ralloc.c:486
tb = <optimized out>
s = <optimized out>
b = 0x17bd470
#7 0x00000000005d2fb3 in resize_bloc (bloc=0x17bd470, size=82912) at ralloc.c:606
b = <optimized out>
heap = 0xb53a40
address = <optimized out>
old_size = 24
#8 0x00000000005d39d7 in r_re_alloc (ptr=0x17bd090, size=size@entry=82907) at ralloc.c:994
bloc = 0x0
#9 0x000000000051f512 in enlarge_buffer_text (b=0x17bd080, delta=delta@entry=82886) at buffer.c:4820
p = <optimized out>
nbytes = 82907
#10 0x0000000000522388 in make_gap_larger (nbytes_added=82886) at insdel.c:410
real_gap_loc = <optimized out>
real_gap_loc_byte = <optimized out>
old_gap_size = <optimized out>
tem = <optimized out>
current_size = <optimized out>
#11 make_gap (nbytes_added=<optimized out>) at insdel.c:506
No locals.
#12 0x000000000052f0b4 in Finsert_file_contents (filename=24890865, visit=11965170, beg=11965170, end=11965170, replace=<optimized out>) at fileio.c:3959
st = {
st_dev = 17,
st_ino = 15795925,
st_nlink = 1,
st_mode = 33188,
st_uid = 0,
st_gid = 0,
__pad0 = 0,
st_rdev = 0,
st_size = 80906,
st_blksize = 4096,
st_blocks = 160,
st_atim = {
tv_sec = 1337857062,
tv_nsec = 0
},
st_mtim = {
tv_sec = 1335712477,
tv_nsec = 0
},
st_ctim = {
tv_sec = 1337857072,
tv_nsec = 406559767
},
__unused = {0, 0, 0}
}
fd = 3
inserted = 0
nochange = 0
how_much = <optimized out>
beg_offset = <optimized out>
end_offset = <optimized out>
unprocessed = <optimized out>
count = 11
handler = <optimized out>
val = 11965170
insval = <optimized out>
orig_filename = <optimized out>
old_undo = <optimized out>
p = <optimized out>
total = <optimized out>
not_regular = <optimized out>
save_errno = 0
read_buf = '\000' <repeats 19 times>, "\001\000\000\000\000V\016\311", '\000' <repeats 29 times>"\240, ?Н\377\177\000\000\340>Н\377\177\000\000\362\222\266\000\000\000\000\000\003\000\000\000\000\000\000\000\027\000\000\000\000\000\000\000\240?Н\377\177\000\000zzH\000\000\000\000\000/\000\000\000h\000\000\000o\000\000\000m\000\000\000e\000\000\000/\000\000\000b\000\000\000p\000\000\000t\000\000\000/\000\000\000s\000\000\000r\000\000\000c\000\000\000/\000\000\000e\000\000\000m\000\000\000a\000\000\000c\000\000\000s\000\000\000/\000\000\000s\000\000\000r\000\000\000c", '\000' <repeats 1143 times>, "0", '\000' <repeats 15 times>"\310, \316[U\243\177\000\000\270\316[U\243\177\000\000!", '\000' <repeats 11 times>...
coding = {
id = 11965170,
common_flags = 11965170,
mode = 0,
spec = {
iso_2022 = {
flags = 3,
current_invocation = {0, 0},
current_designation = {0, 12026434, 0, 21095825},
single_shifting = 0,
bol = 11965170,
ctext_extended_segment_len = 0,
embedded_utf_8 = 11965170,
cmp_status = {
state = COMPOSING_NO,
method = 11965170,
old_form = 0,
length = 11965170,
nchars = 0,
ncomps = 17,
carryover = {0, 16422772, 0, 1, 0, 33188, 1000, 1000, 0, 0, 0, 409, 0, 4096, 0, 8, 0, 1339609654, 0, 726946515, 0, 1339609654, 0, 730946562, 0, 1339609654, 0, 738946599, 0, 0, 0, 0, 0, 0, 0, 1, 0, 5120, 2, 1,
0 <repeats 28 times>}
}
},
ccl = 0x3,
utf_16 = {
bom = 3,
endian = utf_16_big_endian,
surrogate = 0
},
utf_8_bom = 3,
emacs_mule = {
full_support = 3,
cmp_status = {
state = COMPOSING_NO,
method = COMPOSITION_RELATIVE,
old_form = 0,
length = 12026434,
nchars = 0,
ncomps = 21095825,
carryover = {0, 11965170, 0, 11965170, 0, 11965170, 0, 11965170, 0, 17, 0, 16422772, 0, 1, 0, 33188, 1000, 1000, 0, 0, 0, 409, 0, 4096, 0, 8, 0, 1339609654, 0, 726946515, 0, 1339609654, 0, 730946562, 0, 1339609654, 0,
738946599, 0, 0, 0, 0, 0, 0, 0, 1, 0, 5120, 2, 1, 0 <repeats 18 times>}
}
}
},
max_charset_id = 0,
safe_charsets = 0x0,
src_multibyte = 0,
dst_multibyte = 0,
head_ascii = 0,
produced = 0,
produced_char = 0,
consumed = 0,
consumed_char = 0,
errors = 0,
error_positions = 0x0,
result = CODING_RESULT_SUCCESS,
src_pos = 0,
src_pos_byte = 0,
src_chars = 0,
src_bytes = 0,
src_object = 0,
source = 0x0,
dst_pos = 0,
dst_pos_byte = 0,
dst_bytes = 0,
dst_object = 0,
destination = 0x0,
chars_at_source = 0,
charbuf = 0x0,
charbuf_size = 0,
charbuf_used = 0,
annotated = 0,
carryover = '\000' <repeats 28 times>"\260, \327\266\000\000\000\000\000\002\000\000\000\000\000\000\000\231\001\000\000\000\000\000\000\231\001\000\000\000\000\000\000\231\001\000",
carryover_bytes = 0,
default_char = 409,
detector = 0x199,
decoder = 0,
encoder = 0
}
buffer = "g\376\377\377\377\377\377\377g\376\377\377\377\377\377\377\231\001\000\000\000\000\000\000\231\001\000\000\000\000\000\000E\346A\001\000\000\000\000`\032C\001\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000i\t\000\000\000\000\000\000E\346A\001\000\000\000\000\220\022C\001\000\000\000\000\001\000\000\000\000\000\000\000@\370͝377\177\000\000\000@", '\000' <repeats 94 times>, "P\035H\000\000\000\000\000\000*H", '\000' <repeats 4805 times>, "`\316[U\243\177\000\000\300L\021\001\000\000\000\000\017\000\000\000\000\000\000\000\260L\021\001\000\000\000\000 \000\000\000\000\000\000\000 \000\000\000\000\000\000\000\060Z+U\243\177\000\000\000\000\000\000\000\000\000\000\017\000\000\000\000\000\000\000\n", '\000' <repeats 15 times>"\305, L\021\001", '\000' <repeats 12 times>"\360"...
replace_handled = <optimized out>
set_coding_system = 0
coding_system = 11965170
read_quit = 0
old_Vdeactivate_mark = 11965170
we_locked_file = 0
deferred_remove_unwind_protect = 0
#13 0x000000000056fa77 in Ffuncall (nargs=<optimized out>, args=args@entry=0x7fff9dd03ec8) at eval.c:2837
fun = 8602501
original_fun = <optimized out>
funcar = <optimized out>
numargs = <optimized out>
lisp_numargs = 20
val = <optimized out>
backtrace = {
next = 0x7fff9dd04020,
function = 0x7fff9dd03ec8,
args = 0x7fff9dd03ed0,
nargs = 1,
debug_on_exit = 0
}
internal_args = 0x7fff9dd03e00
i = <optimized out>
#14 0x00000000005a6490 in exec_byte_code (bytestr=<optimized out>, vector=16693565, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0) at bytecode.c:784
count = 8
op = <optimized out>
vectorp = 0xfeb948
stack = {
pc = 0xf6bd9d "\210\311\312\313\n!\314Q\307\315#\203*",
byte_string = 16333761,
byte_string_start = 0xf6bd88 "\b\203-",
constants = 16693565,
next = 0x7fff9dd04110
}
top = 0x7fff9dd03ec8
result = <optimized out>
#15 0x000000000056f601 in funcall_lambda (fun=16693701, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fff9dd040a0) at eval.c:3053
val = <optimized out>
syms_left = 11965170
next = <optimized out>
lexenv = 11965170
count = 7
i = <optimized out>
optional = <optimized out>
rest = <optimized out>
#16 0x000000000056f91b in Ffuncall (nargs=2, args=args@entry=0x7fff9dd04098) at eval.c:2882
fun = <optimized out>
original_fun = 16424610
funcar = <optimized out>
numargs = 1
lisp_numargs = 4
val = <optimized out>
backtrace = {
next = 0x7fff9dd04210,
function = 0x7fff9dd04098,
args = 0x7fff9dd040a0,
nargs = 1,
debug_on_exit = 0
}
internal_args = <optimized out>
i = <optimized out>
#17 0x00000000005a6490 in exec_byte_code (bytestr=<optimized out>, vector=16693757, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0x0) at bytecode.c:784
count = 6
op = <optimized out>
vectorp = 0xfeba08
stack = {
pc = 0xf6be73 "\023\n\203F",
byte_string = 16332753,
byte_string_start = 0xf6be38 "\306\030\307\b@!\204\020",
constants = 16693757,
next = 0x7fff9dd04350
}
top = 0x7fff9dd04098
result = <optimized out>
#18 0x000000000056f601 in funcall_lambda (fun=16694365, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fff9dd04290) at eval.c:3053
val = <optimized out>
syms_left = 11965170
next = <optimized out>
lexenv = 11965170
count = 4
i = <optimized out>
optional = <optimized out>
rest = <optimized out>
#19 0x000000000056f91b in Ffuncall (nargs=2, args=args@entry=0x7fff9dd04288) at eval.c:2882
fun = <optimized out>
original_fun = 13711714
funcar = <optimized out>
numargs = 1
lisp_numargs = 4
val = <optimized out>
backtrace = {
next = 0x7fff9dd043e0,
function = 0x7fff9dd04288,
args = 0x7fff9dd04290,
nargs = 1,
debug_on_exit = 0
}
internal_args = <optimized out>
i = <optimized out>
#20 0x00000000005a6490 in exec_byte_code (bytestr=<optimized out>, vector=13787093, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0xd22598) at bytecode.c:784
count = 4
op = <optimized out>
vectorp = 0xd25fe0
stack = {
pc = 0xd225e2 "\210\324\325\016D\326 #\307C\001\204d",
byte_string = 13723937,
byte_string_start = 0xd22598 "\306 \020\307\021\n\023\307\024\310\311!\211\307=\204\060",
constants = 13787093,
next = 0x7fff9dd044d0
}
top = 0x7fff9dd04288
result = <optimized out>
#21 0x000000000056f4f9 in funcall_lambda (fun=13787093, nargs=nargs@entry=0, arg_vector=0xd22598, arg_vector@entry=0x7fff9dd04468) at eval.c:2987
val = <optimized out>
syms_left = <optimized out>
next = <optimized out>
lexenv = <optimized out>
count = 4397994531969
i = <optimized out>
optional = <optimized out>
rest = <optimized out>
#22 0x000000000056f91b in Ffuncall (nargs=1, args=args@entry=0x7fff9dd04460) at eval.c:2882
fun = <optimized out>
original_fun = 13770882
funcar = <optimized out>
numargs = 0
lisp_numargs = 0
val = <optimized out>
backtrace = {
next = 0x7fff9dd045f0,
function = 0x7fff9dd04460,
args = 0x7fff9dd04468,
nargs = 0,
debug_on_exit = 0
}
internal_args = <optimized out>
i = <optimized out>
#23 0x00000000005a6490 in exec_byte_code (bytestr=<optimized out>, vector=13768797, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, args@entry=0xd438a0) at bytecode.c:784
count = 3
op = <optimized out>
vectorp = 0xd21868
stack = {
pc = 0xd43935 "\210)\210\351\352\353\"\210\354\321\355\"\211;\203\256",
byte_string = 13763169,
byte_string_start = 0xd438a0 "\b\203\b",
constants = 13768797,
next = 0x0
}
top = 0x7fff9dd04460
result = <optimized out>
#24 0x000000000056f4f9 in funcall_lambda (fun=13768797, fun@entry=13769213, nargs=nargs@entry=0, arg_vector=0xd438a0, arg_vector@entry=0x7fff9dd04540) at eval.c:2987
val = <optimized out>
syms_left = <optimized out>
next = <optimized out>
lexenv = <optimized out>
count = -501157
i = <optimized out>
optional = <optimized out>
rest = <optimized out>
#25 0x000000000056e9ec in apply_lambda (fun=13769213, args=<optimized out>) at eval.c:2930
args_left = 11965170
i = <optimized out>
numargs = 0
arg_vector = 0x7fff9dd04540
tem = <optimized out>
sa_count = 3
sa_must_free = 0
#26 0x000000000056eda3 in eval_sub (form=form@entry=12922630) at eval.c:2232
fun = <optimized out>
val = <optimized out>
original_fun = <optimized out>
original_args = 11965170
funcar = <optimized out>
backtrace = {
next = 0x0,
function = 0x7fff9dd045e0,
args = 0x7fff9dd04540,
nargs = 0,
debug_on_exit = 0
}
#27 0x00000000005715f5 in Feval (form=12922630, lexical=<optimized out>) at eval.c:2022
count = 2
#28 0x000000000056dee3 in internal_condition_case (bfun=bfun@entry=0x4fd260 <top_level_2>, handlers=12016882, hfun=hfun@entry=0x4fead0 <cmd_error>) at eval.c:1334
val = <optimized out>
c = {
tag = 11965170,
val = 11965170,
next = 0x7fff9dd04860,
gcpro = 0x0,
jmp = {{
__jmpbuf = {1, -8759366245690062859, 11965170, 400, 140735841062352, 0, 8759290748301002741, -8759365434810906635},
__mask_was_saved = 0,
__saved_mask = {
__val = {1, 8568512, 0, 140735841062352, 0, 0, 140339571096050, 1, 0, 0, 140339484833424, 0, 1, 16037024, 11965170, 400}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 12016882,
var = 11965170,
chosen_clause = 0,
tag = 0x7fff9dd04710,
next = 0x0
}
#29 0x00000000004fd796 in top_level_1 (ignore=ignore@entry=11965170) at keyboard.c:1172
No locals.
#30 0x000000000056dddb in internal_catch (tag=<error reading variable: Cannot access memory at address 0xffffffffffffffe0>, func=func@entry=0x4fd730 <top_level_1>, arg=11965170) at eval.c:1091
c = {
tag = 12012674,
val = 11965170,
next = 0x0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {1, -8759366245690062859, 11965170, 400, 140735841062352, 0, 8759290748789639157, -8759365434710767627},
__mask_was_saved = 0,
__saved_mask = {
__val = {0, 0, 0, 0, 0, 0, 5980577, 352, 6258731, 140735841061280, 140735841061288, 344, 140735841061280, 6258731, 11965170, 12202354}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
#31 0x00000000004fe58f in command_loop () at keyboard.c:1127
No locals.
#32 recursive_edit_1 () at keyboard.c:754
count = 1
val = 16037024
#33 0x00000000004fe8ca in Frecursive_edit () at keyboard.c:818
count = 0
buffer = 11965170
#34 0x00000000004160b8 in main (argc=2, argv=<optimized out>) at emacs.c:1699
dummy = 1
stack_bottom_variable = 90 'Z'
do_initial_setlocale = <optimized out>
skip_args = 0
rlim = {
rlim_cur = 8720000,
rlim_max = 18446744073709551615
}
no_loadup = 0
junk = 0x0
dname_arg = 0x0
ch_to_dir = 0x3d8f538 <Address 0x3d8f538 out of bounds>
Lisp Backtrace:
"insert-file-contents" (0x9dd03ed0)
"locale-translate" (0x9dd040a0)
"set-locale-environment" (0x9dd04290)
"command-line" (0x9dd04468)
"normal-top-level" (0x9dd04540)
--8<---------------cut here---------------end--------------->8---
In GNU Emacs 24.1.50 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
of 2012-06-13 on olor
Windowing system distributor `The X.Org Foundation', version 11.0.11201902
Important settings:
value of $LC_COLLATE: C
value of $LANG: en_US.utf8
value of $XMODIFIERS: @im=uim
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x r e p o r t - e m a c s - b u g <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face files cus-start text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
--
Inteligenta persono lernas la lingvon Esperanton rapide kaj facile.
Esperanto estas moderna, kultura lingvo por la mondo. Simpla, fleksebla,
belsona, Esperanto estas la praktika solvo de la problemo de universala
interkompreno. Lernu la interlingvon Esperanton!
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#11704: 24.1.50; REL_ALLOC-related segfault on GNU/Linux
2012-06-14 0:08 bug#11704: 24.1.50; REL_ALLOC-related segfault on GNU/Linux BT Templeton
@ 2019-08-17 22:06 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-08-17 22:06 UTC (permalink / raw)
To: BT Templeton; +Cc: 11704
BT Templeton <bpt@hcoop.net> writes:
> If I build Emacs with REL_ALLOC enabled on a GNU/Linux system, it
> sometimes crashes with a segmentation fault apparently related to the
> `real_morecore' function used in ralloc.c.
>
> This is one backtrace I've gotten from a core dump of emacs -Q:
>
> (gdb) bt full
> #0 0x00007f248dd9b757 in kill () at ../sysdeps/unix/syscall-template.S:82
> No locals.
> #1 0x00000000004fa3ea in fatal_error_signal (sig=<optimized out>) at emacs.c:368
> No locals.
> #2 fatal_error_signal (sig=<optimized out>) at emacs.c:338
> No locals.
> #3 <signal handler called>
> No symbol table info available.
> #4 0x00007ffff2c197b0 in ?? ()
> No symbol table info available.
> #5 0x00000000005d3b4d in check_memory_limits () at vm-limit.c:185
(I'm going through old bug reports that have unfortunately gotten no
responses yet.)
This crash wasn't handled at the time, and as this was reported more
than seven years ago, I don't think there's much chance of making any
progress here, so I'm closing this bug report. If you're still seeing
similar crashes in modern Emacs versions, please reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-17 22:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-14 0:08 bug#11704: 24.1.50; REL_ALLOC-related segfault on GNU/Linux BT Templeton
2019-08-17 22:06 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.