* 23.0.50; error "Can't open mouse connection" @ 2007-09-21 10:58 Leo 2007-09-21 13:45 ` Stefan Monnier 2007-09-21 21:18 ` Nick Roberts 0 siblings, 2 replies; 9+ messages in thread From: Leo @ 2007-09-21 10:58 UTC (permalink / raw) To: emacs-pretest-bug 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: M-x t-mouse-mode failed with: Debugger entered--Lisp error: (error "Can't open mouse connection") signal(error ("Can't open mouse connection")) error("Can't open mouse connection") t-mouse-mode(toggle) call-interactively(t-mouse-mode) execute-extended-command(nil) call-interactively(execute-extended-command) 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.11 (i686-pc-linux-gnu, GTK+ Version 2.10.14) of 2007-09-19 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: Info Minor modes in effect: erc-spelling-mode: t erc-page-mode: t erc-menu-mode: t erc-services-mode: t erc-autojoin-mode: t erc-button-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-smiley-mode: t erc-readonly-mode: t erc-scrolltobottom-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 tool-bar-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: G - ESC [ M ` G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M a G - ESC [ M SPC G - ESC [ M # G - C-h i ESC x t - m o u TAB RET ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B C-h v f e t DEL a t u TAB RET C-x 0 C-s g p m DEL DEL DEL m o u s e C-s C-s C-s C-s C-s C-s C-s C-s C-s C-g C-g q C-x b RET ESC x C-g ESC x t d o e TAB RET ESC x t - m o u TAB RET ESC [ A C-@ ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC w q ESC x r e p TAB o TAB r TAB e m TAB b TAB RET Recent messages: Loading t-mouse...done When done with this frame, type C-x 5 0 t-mouse-mode: Can't open mouse connection Type C-x 1 to remove help window. Quit [3 times] Debug on Error enabled globally Entering debugger... Mark set Back to top level. Loading emacsbug...done ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 23.0.50; error "Can't open mouse connection" 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 1 sibling, 0 replies; 9+ messages in thread From: Stefan Monnier @ 2007-09-21 13:45 UTC (permalink / raw) To: Leo; +Cc: emacs-pretest-bug > M-x t-mouse-mode failed with: > Debugger entered--Lisp error: (error "Can't open mouse connection") > signal(error ("Can't open mouse connection")) > error("Can't open mouse connection") > t-mouse-mode(toggle) > call-interactively(t-mouse-mode) > execute-extended-command(nil) > call-interactively(execute-extended-command) Works here. Stefan ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 23.0.50; error "Can't open mouse connection" 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 1 sibling, 1 reply; 9+ messages in thread From: Nick Roberts @ 2007-09-21 21:18 UTC (permalink / raw) To: Leo; +Cc: emacs-pretest-bug > M-x t-mouse-mode failed with: > > Debugger entered--Lisp error: (error "Can't open mouse connection") > signal(error ("Can't open mouse connection")) > error("Can't open mouse connection") > t-mouse-mode(toggle) > call-interactively(t-mouse-mode) > execute-extended-command(nil) > call-interactively(execute-extended-command) I suspect that you don't have the daemon process gpm running and debug-on-error enabled. What would you expect to happen? -- Nick http://www.inet.net.nz/~nickrob ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 23.0.50; error "Can't open mouse connection" 2007-09-21 21:18 ` Nick Roberts @ 2007-09-21 22:27 ` Leo 2007-09-22 0:36 ` Nick Roberts 0 siblings, 1 reply; 9+ messages in thread From: Leo @ 2007-09-21 22:27 UTC (permalink / raw) To: emacs-devel; +Cc: emacs-pretest-bug On 2007-09-21 22:18 +0100, Nick Roberts wrote: > > M-x t-mouse-mode failed with: > > > > Debugger entered--Lisp error: (error "Can't open mouse connection") > > signal(error ("Can't open mouse connection")) > > error("Can't open mouse connection") > > t-mouse-mode(toggle) > > call-interactively(t-mouse-mode) > > execute-extended-command(nil) > > call-interactively(execute-extended-command) > > 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. -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. I use GNU Emacs <= http://www.gnu.org/software/emacs/ <= ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 23.0.50; error "Can't open mouse connection" 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 0 siblings, 2 replies; 9+ messages in thread From: Nick Roberts @ 2007-09-22 0:36 UTC (permalink / raw) To: Leo; +Cc: emacs-devel > > 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. BTW emacs-pretest-bug is just an alias for emacs-devel now so you don't need to post to both groups. -- Nick http://www.inet.net.nz/~nickrob ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 23.0.50; error "Can't open mouse connection" 2007-09-22 0:36 ` Nick Roberts @ 2007-09-22 8:55 ` Nick Roberts 2007-09-22 9:47 ` Leo 1 sibling, 0 replies; 9+ messages in thread From: Nick Roberts @ 2007-09-22 8:55 UTC (permalink / raw) To: Leo, emacs-devel > 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. Actually I can't seem to reproduce it on 23.0.0 now either. -- Nick http://www.inet.net.nz/~nickrob ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 23.0.50; error "Can't open mouse connection" 2007-09-22 0:36 ` Nick Roberts 2007-09-22 8:55 ` Nick Roberts @ 2007-09-22 9:47 ` Leo 2007-09-22 10:10 ` Nick Roberts 2007-09-22 19:10 ` Stefan Monnier 1 sibling, 2 replies; 9+ messages in thread From: Leo @ 2007-09-22 9:47 UTC (permalink / raw) To: emacs-devel [-- 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 23.0.50; error "Can't open mouse connection" 2007-09-22 9:47 ` Leo @ 2007-09-22 10:10 ` Nick Roberts 2007-09-22 19:10 ` Stefan Monnier 1 sibling, 0 replies; 9+ messages in thread From: Nick Roberts @ 2007-09-22 10:10 UTC (permalink / raw) To: Leo; +Cc: emacs-devel > 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: Hang on, we're not really communicating. It's probably not helped by me guessing the problem and then making a false assertion about emacs-unicode-2, but is your original report about using screen-256color and emacsclient? If so, you need to include these details in your report at the start. I know very little about emacsclient but I do know that Stefan Monnier is currently looking at emacsclient and gpm. Perhaps the backtrace is meaningful to him. > #0 abort () at emacs.c:431 >... > > 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. What default setup sends mail to both emacs-devel and emacs-pretest-bug? For me, report-emacs-bug using a CVS version of Emacs only sends to emacs-pretest-bug. -- Nick http://www.inet.net.nz/~nickrob ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 23.0.50; error "Can't open mouse connection" 2007-09-22 9:47 ` Leo 2007-09-22 10:10 ` Nick Roberts @ 2007-09-22 19:10 ` Stefan Monnier 1 sibling, 0 replies; 9+ messages in thread From: Stefan Monnier @ 2007-09-22 19:10 UTC (permalink / raw) To: Leo; +Cc: emacs-devel > 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: I do not understand the description of what you've done. Please state it again, in excruciating details, as if talking to a idiot. Starting from "emacs -Q". Stefan ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-09-22 19:10 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2007-09-22 10:10 ` Nick Roberts 2007-09-22 19:10 ` Stefan Monnier
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).