From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Marshall Newsgroups: gmane.emacs.bugs Subject: bug#29661: 27.0.50; emacs crashing on exchange-point-and-mark Date: Mon, 11 Dec 2017 15:22:26 +0000 Message-ID: <87o9n5s30t.fsf@ctlt579.codethink.co.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513006309 20533 195.159.176.226 (11 Dec 2017 15:31:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Dec 2017 15:31:49 +0000 (UTC) To: 29661@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 11 16:31:41 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOQ3Q-0004wp-Q7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Dec 2017 16:31:41 +0100 Original-Received: from localhost ([::1]:54019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOQ3Y-0006Pn-07 for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Dec 2017 10:31:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOPv8-0006Lh-OJ for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 10:23:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOPv4-0007p4-OJ for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 10:23:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48285) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOPv4-0007op-KP for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 10:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eOPv4-0001mb-E3 for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 10:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Marshall Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Dec 2017 15:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29661 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15130057746820 (code B ref -1); Mon, 11 Dec 2017 15:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Dec 2017 15:22:54 +0000 Original-Received: from localhost ([127.0.0.1]:56966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOPuu-0001lu-Tt for submit@debbugs.gnu.org; Mon, 11 Dec 2017 10:22:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOPus-0001lf-Ew for submit@debbugs.gnu.org; Mon, 11 Dec 2017 10:22:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOPul-0007ZK-FS for submit@debbugs.gnu.org; Mon, 11 Dec 2017 10:22:45 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eOPul-0007ZC-CN for submit@debbugs.gnu.org; Mon, 11 Dec 2017 10:22:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOPui-0005xt-PT for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 10:22:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOPue-0007V8-Pf for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 10:22:40 -0500 Original-Received: from imap1.codethink.co.uk ([176.9.8.82]:32850) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOPue-0007Ps-Fc for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 10:22:36 -0500 Original-Received: from [167.98.27.229] (helo=ct-lt-579.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1eOPuX-0006YO-HM for ; Mon, 11 Dec 2017 15:22:29 +0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140927 Archived-At: I've had a number of crashes today when running exchange-point-and-mark on editing a particular file shortly after pasting in lots of lines from another (v large) buffer. Probably replicable but atm hard to give an exact recipe. I'll keep the gdb session around in case it is needed. Looking at gdb it appears to crash in delete_frame?? Program received signal SIGSEGV, Segmentation fault. delete_frame (frame=, force=force@entry=XIL(0x98a0)) at frame.c:2064 2064 struct frame *f1 = XFRAME (frame1); (gdb) bt full #0 delete_frame (frame=, force=force@entry=XIL(0x98a0)) at frame.c:2064 f = 0x1317ef0 sf = 0x1317ef0 kb = frames = XIL(0) frame1 = minibuffer_selected = is_tooltip_frame = nochild = #1 0x00000000004bbdbb in x_connection_closed (dpy=dpy@entry=0x15e9000, error_message=, error_message@entry=0x7fffffffcdd0 "Connection lost to X server ':0'", ioerror=ioerror@entry=true) at xterm.c:9791 tail = XIL(0x1023733) #2 0x00000000004bbe76 in x_io_error_quitter (display=0x15e9000) at xterm.c:9915 buf = "Connection lost to X server ':0'\000\316\377\377\377\177\000\000P\316\377\377\377\177\000\000\000\220^\001\000\000\000\000\276-q\364\377\177\000\000P\242^\001\000\000\000\000\001\000\000\000\000\000\000\000P\367^\001\000\000\000\000\240\330\240\364\377\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000p\351\261\002\000\000\000\000\213\000@\005\000\000\000\000\000\220^\001\000\000\000\000\367\237\336\367\377\177\000\000\005", '\000' , "\340i\033\005\000\000\000\000\000}m\364\377\177\000\000\000\220^\001\000\000\000\000\000\220^\001\000\000\000\000^\357y\000\000\000\000\000\025"... #3 0x00007ffff47154fe in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6 No symbol table info available. #4 0x00007ffff4712e5d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6 No symbol table info available. #5 0x00007ffff46f465a in XFlush () from /usr/lib/x86_64-linux-gnu/libX11.so.6 No symbol table info available. #6 0x00000000004d732c in x_reply_selection_request (dpyinfo=, event=) at xselect.c:694 reply_base = { type = 31, xany = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523 }, xkey = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, root = 1, subwindow = 324, time = 401, x = 122306683, y = 0, ---Type to continue, or q to quit--- x_root = 0, y_root = 500000, state = 0, keycode = 32767, same_screen = 5177591 }, xbutton = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, root = 1, subwindow = 324, time = 401, x = 122306683, y = 0, x_root = 0, y_root = 500000, state = 0, button = 32767, same_screen = 5177591 }, xmotion = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, root = 1, subwindow = 324, time = 401, x = 122306683, y = 0, x_root = 0, y_root = 500000, state = 0, is_hint = -1 '\377', same_screen = 5177591 }, xcrossing = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, ---Type to continue, or q to quit--- root = 1, subwindow = 324, time = 401, x = 122306683, y = 0, x_root = 0, y_root = 500000, mode = 0, detail = 32767, same_screen = 5177591, focus = 0, state = 0 }, xfocus = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, mode = 1, detail = 0 }, xexpose = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, x = 1, y = 0, width = 324, height = 0, count = 401 }, xgraphicsexpose = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, drawable = 88080523, x = 1, y = 0, width = 324, height = 0, count = 401, major_code = 0, ---Type to continue, or q to quit--- minor_code = 122306683 }, xnoexpose = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, drawable = 88080523, major_code = 1, minor_code = 0 }, xvisibility = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, state = 1 }, xcreatewindow = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, parent = 88080523, window = 1, x = 324, y = 0, width = 401, height = 0, border_width = 122306683, override_redirect = 0 }, xdestroywindow = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, event = 88080523, window = 1 }, xunmap = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, ---Type to continue, or q to quit--- event = 88080523, window = 1, from_configure = 324 }, xmap = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, event = 88080523, window = 1, override_redirect = 324 }, xmaprequest = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, parent = 88080523, window = 1 }, xreparent = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, event = 88080523, window = 1, parent = 324, x = 401, y = 0, override_redirect = 122306683 }, xconfigure = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, event = 88080523, window = 1, x = 324, y = 0, width = 401, height = 0, border_width = 122306683, above = 2147483648000000, ---Type to continue, or q to quit--- override_redirect = 0 }, xgravity = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, event = 88080523, window = 1, x = 324, y = 0 }, xresizerequest = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, width = 1, height = 0 }, xconfigurerequest = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, parent = 88080523, window = 1, x = 324, y = 0, width = 401, height = 0, border_width = 122306683, above = 2147483648000000, detail = 0, value_mask = 5177591 }, xcirculate = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, event = 88080523, window = 1, place = 324 }, ---Type to continue, or q to quit--- xcirculaterequest = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, parent = 88080523, window = 1, place = 324 }, xproperty = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, atom = 1, time = 324, state = 401 }, xselectionclear = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, selection = 1, time = 324 }, xselectionrequest = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, owner = 88080523, requestor = 1, selection = 324, target = 401, property = 122306683, time = 2147483648000000 }, xselection = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, requestor = 88080523, ---Type to continue, or q to quit--- selection = 1, target = 324, property = 401, time = 122306683 }, xcolormap = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, colormap = 1, new = 324, state = 0 }, xclient = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, message_type = 1, format = 324, data = { b = "\221\001\000\000\000\000\000\000{@J\a\000\000\000\000\000\000\000", s = {401, 0, 0, 0, 16507, 1866, 0, 0, 0, 0}, l = {401, 122306683, 2147483648000000, 140733193388032, 5177591} } }, xmapping = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, request = 1, first_keycode = 0, count = 324 }, xerror = { type = 31, display = 0x57c7ea3, resourceid = 140733210152784, serial = 22974464, error_code = 139 '\213', request_code = 0 '\000', ---Type to continue, or q to quit--- minor_code = 64 '@' }, xkeymap = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, window = 88080523, key_vector = "\001\000\000\000\000\000\000\000D\001\000\000\000\000\000\000\221\001\000\000\000\000\000\000{@J\a\000\000\000" }, xgeneric = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, extension = 88080523, evtype = 0 }, xcookie = { type = 31, serial = 92044963, send_event = 16764752, display = 0x15e9000, extension = 88080523, evtype = 0, cookie = 1, data = 0x144 }, pad = {31, 92044963, 140733210152784, 22974464, 88080523, 1, 324, 401, 122306683, 2147483648000000, 140733193388032, 5177591, 0, 2147483648000000, 140733193388032, 0, 97414500, 5190006, 0, 0, 48139624, 1513004943, 92044899, 92044979} } window = 88080523 #7 x_handle_selection_request (event=) at xselect.c:832 selection = 262040 local_selection_time = 0 local_selection_data = XIL(0) dpyinfo = 0x79ef5e property = 22974464 success = false #8 x_handle_selection_event (event=0x2b1e970) at xselect.c:963 No locals. #9 0x00000000004f36e2 in process_special_events () at keyboard.c:4246 copy = { kind = SELECTION_REQUEST_EVENT, ---Type to continue, or q to quit--- dpyinfo = 0x16632e0, requestor = 88080523, selection = 1, target = 324, property = 401, time = 122306683 } beg = 0xb87e30 event = 0xb87e30 #10 0x00000000004f40bd in swallow_events (do_display=) at keyboard.c:4264 old_timers_run = #11 0x00000000005a3e20 in wait_reading_process_output (time_limit=1, nsecs=0, read_kbd=0, do_display=false, wait_for_cell=XIL(0x1317e00), wait_proc=0x2a8f4b0, just_wait_proc=0) at process.c:5510 old_timers_run = 617 old_buffer = 0x2a8f4b0 old_window = XIL(0x5cf3845) leave = true process_skipped = true nfds = 1 Available = { fds_bits = {64, 0 } } Writeok = { fds_bits = {0 } } check_write = false check_delay = 1 no_avail = false xerrno = 11 timeout = { tv_sec = 0, tv_nsec = 0 } end_time = { tv_sec = 0, tv_nsec = 0 } #12 0x0000000000421112 in sit_for (timeout=make_number(50), reading=253, display_option=0) at dispnew.c:5793 sec = 202 nsec = 0 #13 0x00000000004f8c15 in read_char (commandflag=commandflag@entry=1, map=XIL(0xfffffffffffffffd), map@entry=XIL(0x10249e3), prev_event=XIL(0), used_mouse_menu=0x0, used_mouse_menu@entry=0x7fffffffdb6b, end_time=0x1317e00, end_time@entry=0x0) at keyboard.c:2717 tem0 = XIL(0) buffer_size = 0 local_getcjmp = {{ ---Type to continue, or q to quit--- __jmpbuf = {23476993, -5963633980627533669, 3, 23477216, 140737488346176, 0, 5963636584858206363, -5963636162151628645}, __mask_was_saved = 0, __saved_mask = { __val = {44627125, 56832, 101300596, 19429125, 16741059, 19429125, 18249683, 19622325, 101300596, 23072208, 4217902893331710400, 9448903869477172611, 3855962269045293109, 15062352596681216, 3855962132650836675, 14394386273282803212} } }} save_jump = {{ __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = { __val = {0 } } }} save = XIL(0x1663be0) previous_echo_area_message = XIL(0) also_record = XIL(0) reread = false recorded = false polling_stopped_here = false #14 0x00000000004f99ca in read_key_sequence (keybuf=keybuf@entry=0x7fffffffdc40, prompt=prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, bufsize=30) at keyboard.c:9150 interrupted_kboard = 0x1663be0 interrupted_frame = 0x1317ef0 key = used_mouse_menu = false echo_local_start = 0 last_real_key_start = keys_local_start = new_binding = t = echo_start = 0 keys_start = 0 current_binding = XIL(0x10249e3) first_event = XIL(0) first_unbound = 31 mock_input = 0 fkey = { parent = XIL(0x1034243), map = XIL(0x1034243), start = 0, end = 0 ---Type to continue, or q to quit--- } keytran = { parent = XIL(0xc31a93), map = XIL(0xc31a93), start = 0, end = 0 } indec = { parent = XIL(0x1034253), map = XIL(0x1034253), start = 0, end = 0 } shift_translated = false delayed_switch_frame = XIL(0) original_uppercase = XIL(0x3ee8) original_uppercase_position = -1 dummyflag = false starting_buffer = 0x2a8f4b0 fake_prefixed_keys = XIL(0) #15 0x00000000004fb4a6 in command_loop_1 () at keyboard.c:1368 cmd = keybuf = {make_number(24), make_number(24), make_number(98), XIL(0x4ef405), XIL(0), XIL(0x3), XIL(0x3), make_number(1410489), XIL(0x5ce320), XIL(0x3464ea3), XIL(0x7fffffffdd00), XIL(0x3464ea3), XIL(0xffffffff), XIL(0x563614), XIL(0x69320), XIL(0x3464ea3), XIL(0x85ed64), XIL(0x5ce320), XIL(0x3464ea3), make_number(1296728), XIL(0x7fffffffdd00), XIL(0), XIL(0), XIL(0x4f2697), XIL(0xfd3100), make_number(1000), XIL(0xffffffff), make_number(1409433), XIL(0x5), XIL(0x7a10)} i = prev_modiff = 3 prev_buffer = 0x2a8f4b0 #16 0x000000000055fe67 in internal_condition_case (bfun=bfun@entry=0x4fb2a0 , handlers=handlers@entry=XIL(0x5250), hfun=hfun@entry=0x4f2590 ) at eval.c:1332 val = XIL(0) c = 0x15cf9d0 #17 0x00000000004ed3ac in command_loop_2 (ignore=ignore@entry=XIL(0)) at keyboard.c:1110 val = XIL(0) #18 0x000000000055fdf4 in internal_catch (tag=tag@entry=XIL(0xc720), func=func@entry=0x4ed390 , arg=arg@entry=XIL(0)) at eval.c:1097 val = XIL(0) c = 0x15cf8b0 #19 0x00000000004ed369 in command_loop () at keyboard.c:1089 No locals. #20 0x00000000004f2196 in recursive_edit_1 () at keyboard.c:695 val = #21 0x00000000004f24b3 in Frecursive_edit () at keyboard.c:766 buffer = ---Type to continue, or q to quit--- #22 0x00000000004177de in main (argc=1, argv=0x7fffffffdfb8) at emacs.c:1711 stack_bottom_variable = 0x7fffffffde60 skip_args = 0 junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 rlim = { rlim_cur = 10022912, rlim_max = 18446744073709551615 } (gdb) xbacktrace (gdb) In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.25) of 2017-11-14 built on ct-lt-579 Repository revision: 13248f7444630508cfc3b78a07e8d96613af11c8 Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.9 (jessie) Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Help Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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 buffer-read-only: t line-number-mode: t transient-mark-mode: t