* 23.0.50; C-z crashes Emacs
@ 2007-09-16 21:25 Leo
2007-09-23 21:55 ` Richard Stallman
0 siblings, 1 reply; 4+ messages in thread
From: Leo @ 2007-09-16 21:25 UTC (permalink / raw)
To: emacs-pretest-bug
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
1) Start 'emacs -nw -q'
2) M-x xterm-mouse-mode
3) M-x server-start
4) In another xterm, start 'emacsclient -t'
5) C-z
Emacs segfault.
This was tested with latest CVS checkout.
Backtrace:
[-- Attachment #2: backtrace.txt --]
[-- Type: text/plain, Size: 10870 bytes --]
Starting program: /home/emacs/src/emacs -nw
[Thread debugging using libthread_db enabled]
[New Thread -1208166688 (LWP 19177)]
[Switching to Thread -1208166688 (LWP 19177)]
[Detaching after fork from child process 19181. (Try `set detach-on-fork off'.)]
[Detaching after fork from child process 19182.]
[Detaching after fork from child process 19183.]
[Detaching after fork from child process 19184.]
[Detaching after fork from child process 19185.]
[Detaching after fork from child process 19187.]
Program received signal SIGSEGV, Segmentation fault.
0x44740b61 in fwrite () from /lib/libc.so.6
#0 0x44740b61 in fwrite () from /lib/libc.so.6
#1 0x08055f5a in Fsend_string_to_terminal (string=170857411, terminal=16) at dispnew.c:6464
#2 0x0816246a in Ffuncall (nargs=3, args=0xbfd178b0) at eval.c:3039
#3 0x0818d48a in Fbyte_code (bytestr=170857395, vector=170856444, maxdepth=24) at bytecode.c:679
#4 0x08161efa in funcall_lambda (fun=170856580, nargs=1, arg_vector=0xbfd17a0c) at eval.c:3223
#5 0x08162301 in Ffuncall (nargs=2, args=0xbfd17a08) at eval.c:3093
#6 0x08163971 in run_hook_with_args (nargs=2, args=0xbfd17a08, cond=to_completion) at eval.c:2695
#7 0x080b99c5 in Fsuspend_tty (tty=137551137) at term.c:2273
#8 0x08162451 in Ffuncall (nargs=1, args=0xbfd17ab0) at eval.c:3036
#9 0x0818d48a in Fbyte_code (bytestr=136553395, vector=136553412, maxdepth=24) at bytecode.c:679
#10 0x08161efa in funcall_lambda (fun=136553364, nargs=0, arg_vector=0xbfd17bd4) at eval.c:3223
#11 0x08162301 in Ffuncall (nargs=1, args=0xbfd17bd0) at eval.c:3093
#12 0x08163d39 in apply1 (fn=139792089, arg=137551137) at eval.c:2777
#13 0x0815e3ec in Fcall_interactively (function=139792089, record_flag=137551137, keys=137599356) at callint.c:385
#14 0x080fe093 in Fcommand_execute (cmd=139792089, record_flag=137551137, keys=137551137, special=137551137) at keyboard.c:10335
#15 0x08109ccb in command_loop_1 () at keyboard.c:1946
#16 0x08160e8b in internal_condition_case (bfun=0x8109950 <command_loop_1>, handlers=137617697, hfun=0x8104260 <cmd_error>) at eval.c:1494
#17 0x081036d3 in command_loop_2 () at keyboard.c:1405
#18 0x08160f4a in internal_catch (tag=137600017, func=0x81036b0 <command_loop_2>, arg=137551137) at eval.c:1229
#19 0x081040c7 in command_loop () at keyboard.c:1384
#20 0x0810442a in recursive_edit_1 () at keyboard.c:993
#21 0x08104561 in Frecursive_edit () at keyboard.c:1055
#22 0x080f9d4b in main (argc=2, argv=0xbfd18474) at emacs.c:1778
Lisp Backtrace:
"send-string-to-terminal" (0xa2f13c3)
"turn-off-xterm-mouse-tracking-on-terminal" (0x10)
"suspend-tty" (0x832dd51)
"suspend-frame" (0x832dd21)
"call-interactively" (0x8550ed9)
"send-string-to-terminal" (0xa2f13c3)
"turn-off-xterm-mouse-tracking-on-terminal" (0x10)
"suspend-tty" (0x832dd51)
"suspend-frame" (0x832dd21)
"call-interactively" (0x8550ed9)
#0 0x44740b61 in fwrite () from /lib/libc.so.6
No symbol table info available.
#1 0x08055f5a in Fsend_string_to_terminal (string=170857411, terminal=16) at dispnew.c:6464
t = <value optimized out>
tty = (struct tty_display_info *) 0xa8da8d0
#2 0x0816246a in Ffuncall (nargs=3, args=0xbfd178b0) at eval.c:3039
fun = <value optimized out>
original_fun = 137673185
funcar = <value optimized out>
numargs = 2
val = <value optimized out>
backtrace = {
next = 0xbfd17998,
function = 0xbfd178b0,
args = 0xbfd178b4,
nargs = 2,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0xbfd178b4
i = <value optimized out>
#3 0x0818d48a in Fbyte_code (bytestr=170857395, vector=170856444, maxdepth=24) at bytecode.c:679
v1 = <value optimized out>
v2 = <value optimized out>
op = 0
vectorp = (Lisp_Object *) 0xa2f1000
stack = {
pc = 0xa2da748 "\207",
top = 0xbfd178b8,
bottom = 0xbfd178b0,
byte_string = 170857395,
byte_string_start = 0xa2da738 "\b\205\020",
constants = 170856444,
next = 0xbfd17af0
}
top = <value optimized out>
result = <value optimized out>
#4 0x08161efa in funcall_lambda (fun=170856580, nargs=1, arg_vector=0xbfd17a0c) at eval.c:3223
val = <value optimized out>
syms_left = <value optimized out>
next = <value optimized out>
i = 1
optional = 0
rest = 0
#5 0x08162301 in Ffuncall (nargs=2, args=0xbfd17a08) at eval.c:3093
fun = 170856580
original_fun = 170867161
funcar = <value optimized out>
numargs = 1
val = <value optimized out>
backtrace = {
next = 0xbfd17a78,
function = 0xbfd17a08,
args = 0xbfd17a0c,
nargs = 1,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0xbfd17a0c
i = <value optimized out>
#6 0x08163971 in run_hook_with_args (nargs=2, args=0xbfd17a08, cond=to_completion) at eval.c:2695
sym = 137723289
val = 0
ret = 137551137
globals = <value optimized out>
#7 0x080b99c5 in Fsuspend_tty (tty=137551137) at term.c:2273
args = {170867161, 16}
t = (struct terminal *) 0xa89fe10
f = (FILE *) 0xa8bf950
#8 0x08162451 in Ffuncall (nargs=1, args=0xbfd17ab0) at eval.c:3036
fun = <value optimized out>
original_fun = 1
funcar = <value optimized out>
numargs = 0
val = <value optimized out>
backtrace = {
next = 0xbfd17b98,
function = 0xbfd17ab0,
args = 0xbfd17ab4,
nargs = 0,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0xbfd17a40
i = <value optimized out>
#9 0x0818d48a in Fbyte_code (bytestr=136553395, vector=136553412, maxdepth=24) at bytecode.c:679
v1 = <value optimized out>
v2 = <value optimized out>
op = 0
vectorp = (Lisp_Object *) 0x823a3c8
stack = {
pc = 0x829800a "\202'",
top = 0xbfd17ab0,
bottom = 0xbfd17ab0,
byte_string = 136553395,
byte_string_start = 0x8297fe8 "\301\302 !\211\030\303=\203\020",
constants = 136553412,
next = 0x0
}
top = <value optimized out>
result = <value optimized out>
#10 0x08161efa in funcall_lambda (fun=136553364, nargs=0, arg_vector=0xbfd17bd4) at eval.c:3223
val = <value optimized out>
syms_left = <value optimized out>
next = <value optimized out>
i = 0
optional = 137551137
rest = -1076790328
#11 0x08162301 in Ffuncall (nargs=1, args=0xbfd17bd0) at eval.c:3093
fun = 136553364
original_fun = 139792089
funcar = <value optimized out>
numargs = 0
val = <value optimized out>
backtrace = {
next = 0xbfd17d08,
function = 0xbfd17bd0,
args = 0xbfd17bd4,
nargs = 0,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0xbfd17bd4
i = <value optimized out>
#12 0x08163d39 in apply1 (fn=139792089, arg=137551137) at eval.c:2777
ret_ungc_val = 8
#13 0x0815e3ec in Fcall_interactively (function=139792089, record_flag=137551137, keys=137599356) at callint.c:385
values = 1
input = <value optimized out>
args = <value optimized out>
visargs = <value optimized out>
specs = 137551137
filter_specs = <value optimized out>
teml = <value optimized out>
up_event = <value optimized out>
enable = 137551137
next_event = <value optimized out>
prefix_arg = 137551137
string = <value optimized out>
tem = <value optimized out>
varies = <value optimized out>
i = <value optimized out>
j = <value optimized out>
foo = <value optimized out>
prompt1 = '\0' <repeats 99 times>
arg_from_tty = <value optimized out>
key_count = 1
record_then_fail = <value optimized out>
save_this_command = 139792089
save_last_command = 137551137
save_this_original_command = 139792089
save_real_this_command = 139792089
#14 0x080fe093 in Fcommand_execute (cmd=139792089, record_flag=137551137, keys=137551137, special=137551137) at keyboard.c:10335
final = 136553364
tem = <value optimized out>
prefixarg = 137551137
backtrace = {
next = 0x0,
function = 0x8320218,
args = 0xbfd17d30,
nargs = 1,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
#15 0x08109ccb in command_loop_1 () at keyboard.c:1946
cmd = <value optimized out>
lose = <value optimized out>
nonundocount = 0
keybuf = {208, 1, 1, 0, 1, -1076789840, 1149472756, 140001704, -1076789840, 1148500410, -1076789688, 0, 1149472756, 1151599692,
140001704, -1076789808, 1, -1076789632, 1148085840, 0, -1076789800, -1076789952, 0, 276955136, 137551137, 138161545, 0, 137861232,
137861216, -1076789768}
i = <value optimized out>
prev_modiff = <value optimized out>
prev_buffer = <value optimized out>
already_adjusted = 0
#16 0x08160e8b in internal_condition_case (bfun=0x8109950 <command_loop_1>, handlers=137617697, hfun=0x8104260 <cmd_error>) at eval.c:1494
val = <value optimized out>
c = {
tag = 137551137,
val = 137551137,
next = 0xbfd17f20,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 137861232, 137861216, -1076789528, 1617207760, -293287745},
__mask_was_saved = 0,
__saved_mask = {
__val = {3218177624, 135580887, 3218177860, 139947304, 15, 15, 3218177860, 4294967295, 3218177672, 135581536, 3218177860, 15,
3218177660, 3218177656, 0, 134537070, 15, 15, 3218177860, 137551137, 3218177704, 135581598, 3218177860, 15, 2, 16718, 1148684992,
800, 3218178120, 135649483, 3218177860, 139913283}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 137617697,
var = 137551137,
chosen_clause = 0,
tag = 0xbfd17e0c,
next = 0x0
}
#17 0x081036d3 in command_loop_2 () at keyboard.c:1405
val = 8
#18 0x08160f4a in internal_catch (tag=137600017, func=0x81036b0 <command_loop_2>, arg=137551137) at eval.c:1229
c = {
tag = 137600017,
val = 137551137,
next = 0x0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 137861232, 137861216, -1076789272, 1617330640, -293152065},
__mask_was_saved = 0,
__saved_mask = {
__val = {775370541, 3629926, 0 <repeats 12 times>, 540091136, 542133587, 137735754, 137735752, 137739016, 3218177992, 135606732,
137739017, 137735754, 137551137, 137583000, 137551161, 2, 0, 137739016, 137739017, 137551137, 3218178056}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
#19 0x081040c7 in command_loop () at keyboard.c:1384
No locals.
#20 0x0810442a in recursive_edit_1 () at keyboard.c:993
val = <value optimized out>
#21 0x08104561 in Frecursive_edit () at keyboard.c:1055
buffer = 137551137
#22 0x080f9d4b in main (argc=2, argv=0xbfd18474) at emacs.c:1778
tz = 0x0
dummy = -1076788248
stack_bottom_variable = 8 '\b'
do_initial_setlocale = 1
skip_args = 1
rlim = {
rlim_cur = 10485760,
rlim_max = 18446744073709551615
}
no_loadup = 0
junk = 0x0
Lisp Backtrace:
"send-string-to-terminal" (0xa2f13c3)
"turn-off-xterm-mouse-tracking-on-terminal" (0x10)
"suspend-tty" (0x832dd51)
"suspend-frame" (0x832dd21)
"call-interactively" (0x8550ed9)
The program is running. Exit anyway? (y or n)
[-- Attachment #3: Type: text/plain, Size: 2081 bytes --]
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/packages/emacs/share/emacs/23.0.50/etc/DEBUG for instructions.
In GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.14, multi-tty)
of 2007-09-01 on Fedora
configured using `configure '--prefix=/usr/local/packages/emacs' '--with-kerberos5' '--enable-locallisppath=/usr/local/share/emacs/site-lisp' '--without-toolkit-scroll-bars' '--with-xft' '--enable-font-backend' '--with-x-toolkit=yes''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Group
Minor modes in effect:
gnus-topic-mode: t
gnus-undo-mode: t
auto-insert-mode: t
dired-omit-mode: t
recentf-mode: t
icomplete-mode: t
show-paren-mode: t
savehist-mode: t
xterm-mouse-mode: t
delete-selection-mode: t
global-auto-revert-mode: t
display-time-mode: t
minibuffer-indicate-depth-mode: t
partial-completion-mode: t
which-function-mode: t
shell-dirtrack-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC [ > 0 ; 2 2 7 ; 0 c C-x g n n n n n n n p ESC x
r e p o r TAB RET
Recent messages:
nnimap: Checking mailboxes...done
Reading active file from archive via nnfolder...
Opening nnfolder server on archive...done
Reading active file from archive via nnfolder...done
Checking new news...
Opening nntp server on nntp-serv.cam.ac.uk...done
Checking new news...done
Loading gnus-topic...done
Loading emacsbug...done
Loading skeleton...done
[-- Attachment #4: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 23.0.50; C-z crashes Emacs
2007-09-16 21:25 23.0.50; C-z crashes Emacs Leo
@ 2007-09-23 21:55 ` Richard Stallman
2007-09-24 0:13 ` Leo
2007-09-24 0:36 ` Dan Nicolaescu
0 siblings, 2 replies; 4+ messages in thread
From: Richard Stallman @ 2007-09-23 21:55 UTC (permalink / raw)
To: Leo; +Cc: emacs-pretest-bug
I would guess this was fixed by Stefan's change to make
terminals a data type. Does it fail in the latest sources?
1) Start 'emacs -nw -q'
2) M-x xterm-mouse-mode
3) M-x server-start
4) In another xterm, start 'emacsclient -t'
5) C-z
Emacs segfault.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 23.0.50; C-z crashes Emacs
2007-09-23 21:55 ` Richard Stallman
@ 2007-09-24 0:13 ` Leo
2007-09-24 0:36 ` Dan Nicolaescu
1 sibling, 0 replies; 4+ messages in thread
From: Leo @ 2007-09-24 0:13 UTC (permalink / raw)
To: rms; +Cc: emacs-pretest-bug
On 2007-09-23 22:55 +0100, Richard Stallman wrote:
> I would guess this was fixed by Stefan's change to make
> terminals a data type. Does it fail in the latest sources?
It looks like it has been fixed.
> 1) Start 'emacs -nw -q'
> 2) M-x xterm-mouse-mode
> 3) M-x server-start
> 4) In another xterm, start 'emacsclient -t'
> 5) C-z
>
> Emacs segfault.
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
I use GNU Emacs <=
http://www.gnu.org/software/emacs/ <=
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 23.0.50; C-z crashes Emacs
2007-09-23 21:55 ` Richard Stallman
2007-09-24 0:13 ` Leo
@ 2007-09-24 0:36 ` Dan Nicolaescu
1 sibling, 0 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2007-09-24 0:36 UTC (permalink / raw)
To: rms; +Cc: emacs-pretest-bug
Richard Stallman <rms@gnu.org> writes:
> I would guess this was fixed by Stefan's change to make
> terminals a data type. Does it fail in the latest sources?
No, it was fixed by my change to first run suspend-tty-functions and
then reset the terminal descriptors...
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-09-24 0:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-16 21:25 23.0.50; C-z crashes Emacs Leo
2007-09-23 21:55 ` Richard Stallman
2007-09-24 0:13 ` Leo
2007-09-24 0:36 ` Dan Nicolaescu
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.