From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: 23.0.50; error "Can't open mouse connection"
Date: Sat, 22 Sep 2007 10:47:40 +0100 [thread overview]
Message-ID: <m27imjrpz7.fsf@cam.ac.uk> (raw)
In-Reply-To: 18164.25497.539822.144925@kahikatea.snap.net.nz
[-- Attachment #1: Type: text/plain, Size: 814 bytes --]
On 2007-09-22 01:36 +0100, Nick Roberts wrote:
> > > I suspect that you don't have the daemon process gpm running and
> > > debug-on-error enabled. What would you expect to happen?
> >
> > That suspect is not true. I am using the mouse on Linux console just
> > fine.
>
> Well I can't reproduce it on 23.0.50 which appears to be the trunk. I can see
> it, however, on the emacs-unicode-2 branch (23.0.0). Maybe Kenichi Handa knows
> how to fix it, otherwise it will have to wait until emacs-unicode-2 is merged
> to the trunk.
In Linux Console, `emacs -nw -q' t-mouse works just fine. I can
highlights when mouse is over links etc.
Now if I start emacs in screen-256color and then in Linux console,
connect to it using "emacsclient -t", emacs crashes. I have managed to
obtain the following backtrace:
[-- Attachment #2: bt.log --]
[-- Type: text/plain, Size: 7058 bytes --]
#0 abort () at emacs.c:431
#1 0x081946b6 in wait_reading_process_output (time_limit=30, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=137551137,
wait_proc=0x0, just_wait_proc=0) at process.c:4880
#2 0x08055da0 in sit_for (timeout=240, reading=1, do_display=1) at dispnew.c:6610
#3 0x081060bb in read_char (commandflag=1, nmaps=6, maps=0xbfdc84c0, prev_event=137551137, used_mouse_menu=0xbfdc8568, end_time=0x0)
at keyboard.c:2992
#4 0x08107ef3 in read_key_sequence (keybuf=0xbfdc8614, bufsize=30, prompt=137551137, dont_downcase_last=0, can_return_switch_frame=1,
fix_current_buffer=1) at keyboard.c:9384
#5 0x08109a73 in command_loop_1 () at keyboard.c:1691
#6 0x08160ebb in internal_condition_case (bfun=0x81098e0 <command_loop_1>, handlers=137617737, hfun=0x81041f0 <cmd_error>) at eval.c:1494
#7 0x08103663 in command_loop_2 () at keyboard.c:1405
#8 0x08160f7a in internal_catch (tag=137600017, func=0x8103640 <command_loop_2>, arg=137551137) at eval.c:1229
#9 0x08104057 in command_loop () at keyboard.c:1384
#10 0x081043ba in recursive_edit_1 () at keyboard.c:993
#11 0x081044f1 in Frecursive_edit () at keyboard.c:1055
#12 0x080f9ceb in main (argc=2, argv=0xbfdc8d14) at emacs.c:1778
#0 abort () at emacs.c:431
No locals.
#1 0x081946b6 in wait_reading_process_output (time_limit=30, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=137551137,
wait_proc=0x0, just_wait_proc=0) at process.c:4880
p = (struct Lisp_Process *) 0x0
timeout_reduced_for_timers = 1
channel = -1
nfds = -1
Available = {
fds_bits = {2976, 0 <repeats 31 times>}
}
Connecting = {
fds_bits = {0 <repeats 32 times>}
}
check_connect = 0
check_delay = 0
no_avail = 0
xerrno = 9
proc = 139950940
timeout = {
tv_sec = 1,
tv_usec = 812451
}
end_time = {
tv_sec = 1190453974,
tv_usec = 637441
}
wait_channel = -1
got_some_input = 0
#2 0x08055da0 in sit_for (timeout=240, reading=1, do_display=1) at dispnew.c:6610
sec = 30
usec = 0
#3 0x081060bb in read_char (commandflag=1, nmaps=6, maps=0xbfdc84c0, prev_event=137551137, used_mouse_menu=0xbfdc8568, end_time=0x0)
at keyboard.c:2992
tem0 = <value optimized out>
delay_level = 30
buffer_size = <value optimized out>
c = 137551137
local_getcjmp = {{
__jmpbuf = {158216936, 0, 0, -1076067224, 1118849304, -619596681},
__mask_was_saved = 0,
__saved_mask = {
__val = {0, 161934301, 8, 158071594, 137583004, 3218899880, 135356362, 161934301, 137586513, 137583000, 8, 158071594, 137583004,
3218900120, 135641417, 137586513, 8, 137583004, 3218900008, 8, 137583004, 3218899992, 135944424, 137583000, 3218900008, 3218899976,
135674273, 1, 3218900008, 0, 137892441, 137892441}
}
}}
save_jump = {{
__jmpbuf = {0, 0, 0, 0, 0, 0},
__mask_was_saved = 0,
__saved_mask = {
__val = {0 <repeats 32 times>}
}
}}
key_already_recorded = 0
tem = <value optimized out>
save = 0
previous_echo_area_message = 137551137
also_record = 137551137
reread = 0
polling_stopped_here = <value optimized out>
orig_kboard = (struct kboard *) 0x84b5fd8
#4 0x08107ef3 in read_key_sequence (keybuf=0xbfdc8614, bufsize=30, prompt=137551137, dont_downcase_last=0, can_return_switch_frame=1,
fix_current_buffer=1) at keyboard.c:9384
interrupted_kboard = (KBOARD *) 0x84b5fd8
key = 137583004
used_mouse_menu = 0
echo_local_start = 0
last_real_key_start = 0
keys_local_start = 0
local_first_binding = 0
from_string = 137551137
count = 2
t = 0
echo_start = 0
keys_start = 0
nmaps = 6
nmaps_allocated = 6
defs = (Lisp_Object * volatile) 0xbfdc8490
submaps = (Lisp_Object * volatile) 0xbfdc84c0
orig_local_map = 139299493
orig_keymap = 137551137
localized_local_map = 0
first_binding = 0
first_unbound = 31
mock_input = 0
fkey = {
parent = 137792341,
map = 137792341,
start = 0,
end = 0
}
keytran = {
parent = 139309381,
map = 139309381,
start = 0,
end = 0
}
delayed_switch_frame = 137551137
original_uppercase = -1076066904
original_uppercase_position = -1
starting_buffer = (struct buffer *) 0x8335998
fake_prefixed_keys = 137551137
#5 0x08109a73 in command_loop_1 () at keyboard.c:1691
cmd = <value optimized out>
lose = <value optimized out>
nonundocount = 0
keybuf = {192, 392, 1, 0, 1, -1076066736, 1149472756, 139601152, -1076066736, 1148500410, -1076066584, 0, 1149472756, 1151599692,
139601152, -1076066704, 1, -1076066528, 1148085840, 0, -1076066696, -1076066848, 0, 276955136, 137551137, 138163233, 0, 137705528,
137705512, -1076066664}
i = <value optimized out>
prev_modiff = 1
prev_buffer = (struct buffer *) 0x8335998
already_adjusted = 0
#6 0x08160ebb in internal_condition_case (bfun=0x81098e0 <command_loop_1>, handlers=137617737, hfun=0x81041f0 <cmd_error>) at eval.c:1494
val = <value optimized out>
c = {
tag = 137551137,
val = 137551137,
next = 0xbfdc87c0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 137705528, 137705512, -1076066424, 1119455512, -676855689},
__mask_was_saved = 0,
__saved_mask = {
__val = {3218900728, 135580919, 3218900964, 140000400, 15, 15, 3218900964, 4294967295, 3218900776, 135581568, 3218900964, 15,
3218900764, 3218900760, 0, 134537107, 15, 15, 3218900964, 137551137, 3218900808, 135581630, 3218900964, 15, 2, 16718, 1148684992,
800, 3218901224, 135649531, 3218900964, 139620835}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 137617737,
var = 137551137,
chosen_clause = 0,
tag = 0xbfdc86ac,
next = 0x0
}
#7 0x08103663 in command_loop_2 () at keyboard.c:1405
val = 9
#8 0x08160f7a in internal_catch (tag=137600017, func=0x8103640 <command_loop_2>, arg=137551137) at eval.c:1229
c = {
tag = 137600017,
val = 137551137,
next = 0x0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 137705528, 137705512, -1076066168, 1119594776, -676720009},
__mask_was_saved = 0,
__saved_mask = {
__val = {775370541, 3629926, 0 <repeats 12 times>, 540091136, 542133587, 137735794, 137735792, 137739008, 3218901096, 135606780,
137739009, 137735794, 137551137, 137583000, 137551161, 2, 0, 137739008, 137739009, 137551137, 3218901160}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
#9 0x08104057 in command_loop () at keyboard.c:1384
No locals.
#10 0x081043ba in recursive_edit_1 () at keyboard.c:993
val = <value optimized out>
#11 0x081044f1 in Frecursive_edit () at keyboard.c:1055
buffer = 137551137
#12 0x080f9ceb in main (argc=2, argv=0xbfdc8d14) at emacs.c:1778
tz = 0x0
dummy = -1076065144
stack_bottom_variable = 8 '\b'
do_initial_setlocale = 1
skip_args = 1
rlim = {
rlim_cur = 10485760,
rlim_max = 18446744073709551615
}
no_loadup = 0
junk = 0x0
The program is running. Exit anyway? (y or n)
[-- Attachment #3: Type: text/plain, Size: 414 bytes --]
> BTW emacs-pretest-bug is just an alias for emacs-devel now so you
> don't need to post to both groups.
Then please direct report-emacs-bug to the right email address. I am
using the default setup.
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
I use GNU Emacs <=
http://www.gnu.org/software/emacs/ <=
[-- Attachment #4: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2007-09-22 9:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-21 10:58 23.0.50; error "Can't open mouse connection" Leo
2007-09-21 13:45 ` Stefan Monnier
2007-09-21 21:18 ` Nick Roberts
2007-09-21 22:27 ` Leo
2007-09-22 0:36 ` Nick Roberts
2007-09-22 8:55 ` Nick Roberts
2007-09-22 9:47 ` Leo [this message]
2007-09-22 10:10 ` Nick Roberts
2007-09-22 19:10 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m27imjrpz7.fsf@cam.ac.uk \
--to=sdl.web@gmail.com \
--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 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.