From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tjernlund Newsgroups: gmane.emacs.bugs Subject: bug#47284: emacs 26/27 SEGV Date: Wed, 28 Apr 2021 11:50:06 +0200 Message-ID: References: <2e87b74736e6c2b266e734cd6ad1510c59004b95.camel@tjernlund.se> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16769"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.40.0 Cc: 47284@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 28 11:51:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbgqf-0004E6-Mr for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 11:51:13 +0200 Original-Received: from localhost ([::1]:34500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbgqe-0006tZ-F9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 05:51:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbgqV-0006t8-8j for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 05:51:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbgqU-0004p5-3b for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 05:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbgqU-0004Rp-0O for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 05:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tjernlund Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Apr 2021 09:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47284 X-GNU-PR-Package: emacs Original-Received: via spool by 47284-submit@debbugs.gnu.org id=B47284.161960341517026 (code B ref 47284); Wed, 28 Apr 2021 09:51:01 +0000 Original-Received: (at 47284) by debbugs.gnu.org; 28 Apr 2021 09:50:15 +0000 Original-Received: from localhost ([127.0.0.1]:51760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbgpi-0004QX-KL for submit@debbugs.gnu.org; Wed, 28 Apr 2021 05:50:15 -0400 Original-Received: from mailrelay4-1.pub.mailoutpod1-cph3.one.com ([46.30.210.185]:37907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbgpf-0004QG-2I for 47284@debbugs.gnu.org; Wed, 28 Apr 2021 05:50:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tjernlund.se; s=20191106; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=WvCY91364McXSR7MRkTO6E3WYTvBgWx91ly1Ohitc/4=; b=Z50Vda4hSha37/oZ/QZEGa7wB2PKj/lkWlGsfxpTW185cK2tpOhx2PJwIYfvq7KaPZtIRo6SqaG8z etcC1wOU/DnawhHqQGUajHzzS91qDypJ4MrVCFwOIcFW4iDBGkPyAaqVXh9O1yXK7KBk1MfPmQwX/b b9W1nojNSzhEFmZkpzp/Ke9Gj8nWjgzzuMakkudx0ix6N0ecq8IXA7F3Vo7DWLLt46GR8P/4iTmXc1 U/QehfESAoVHjL6NXC0lLQTL+dmnyNvvQXwxJij47uxC74fc+7R2K0fJuYYJgpKHItCCjtVEdEOtse mQNLwXUhWuFNru6n67XV7wm3LNb/iVw== X-HalOne-Cookie: aa5b0669961e72451cad1360a84e3975a93e2494 X-HalOne-ID: 1cf9f86a-a807-11eb-a904-d0431ea8bb10 Original-Received: from jocke.my.home (h-178-174-231-82.na.cust.bahnhof.se [178.174.231.82]) by mailrelay4.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 1cf9f86a-a807-11eb-a904-d0431ea8bb10; Wed, 28 Apr 2021 09:50:07 +0000 (UTC) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205087 Archived-At: Any progress ? Jocke On Thu, 2021-04-08 at 13:52 +0200, Tjernlund wrote: > On Sat, 2021-04-03 at 19:14 -0500, Stefan Kangas wrote: > Tjernlund writes: > > > File / Revert Buffer in the menu bar over a remote display with ping > 3 ms gives me a SEGV: > > What version of Emacs is this?  Could you please include the details > > 26, 27 and 27.2. All I have tested. > > from `report-emacs-bug'? > > yes, here goes: > In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0) >  of 2021-02-13 built on localhost > Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 > System Description: Gentoo/Linux > > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > tst.s has auto save data; consider M-x recover-this-file > Making completion list... [2 times] > > Configured using: >  'configure --prefix=/usr --build=x86_64-pc-linux-gnu >  --host=x86_64-pc-linux-gnu --mandir=/usr/share/man >  --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc >  --localstatedir=/var/lib --disable-silent-rules >  --docdir=/usr/share/doc/emacs-27.1-r4 >  --htmldir=/usr/share/doc/emacs-27.1-r4/html --libdir=/usr/lib64 >  --program-suffix=-emacs-27 --includedir=/usr/include/emacs-27 >  --infodir=/usr/share/info/emacs-27 --localstatedir=/var >  --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp >  --without-compress-install --without-hesiod --without-pop >  --with-file-notification=inotify --with-pdumper --enable-acl >  --with-dbus --without-modules --without-gameuser --with-libgmp >  --with-gpm --with-json --with-kerberos --with-kerberos5 --with-lcms2 >  --without-xml2 --without-mailutils --without-selinux --with-gnutls >  --without-libsystemd --with-threads --without-wide-int --with-zlib >  --with-sound=alsa --with-x --without-ns --without-gconf >  --with-gsettings --without-toolkit-scroll-bars --with-gif --with-jpeg >  --with-png --with-rsvg --with-tiff --with-xpm --without-imagemagick >  --with-xft --with-cairo --with-harfbuzz --without-libotf >  --without-m17n-flt --with-x-toolkit=lucid --with-xaw3d >  --with-dumping=pdumper 'CFLAGS=-O2 -pipe -Wno-deprecated-declarations >  -Wno-error' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' > > Configured features: > XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB > NOTIFY INOTIFY ACL GNUTLS FREETYPE HARFBUZZ ZLIB LUCID X11 XDBE XIM > THREADS JSON PDUMPER LCMS2 GMP > > Important settings: >   value of $LANG: en_GB.UTF-8 >   locale-coding-system: utf-8-unix > > Major mode: Assembler > > Minor modes in effect: >   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 >   line-number-mode: t >   transient-mark-mode: t > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs > format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg > epg-config gnus-util rmail rmail-loaddefs text-property-search time-date > subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies > mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs > cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils > asm-mode tooltip eldoc electric uniquify ediff-hook vc-hooks > lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar > dnd fontset image regexp-opt fringe tabulated-list replace newcomment > text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar > rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock > syntax facemenu font-core term/tty-colors frame minibuffer cl-generic > cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech > european ethiopic indian cyrillic chinese composite charscript charprop > case-table epa-hook jka-cmpr-hook help simple abbrev obarray > cl-preloaded nadvice loaddefs button faces cus-face macroexp files > text-properties overlay sha1 md5 base64 format env code-pages mule > custom widget hashtable-print-readable backquote threads dbusbind > inotify lcms2 dynamic-setting system-font-setting font-render-setting > cairo x-toolkit x multi-tty make-network-process emacs) > > Memory information: > ((conses 16 46383 8687) >  (symbols 48 6010 1) >  (strings 32 16243 1799) >  (string-bytes 1 515461) >  (vectors 16 10106) >  (vector-slots 8 130705 10640) >  (floats 8 22 43) >  (intervals 56 404 0) >  (buffers 1000 13)) > > > Do you have a recipe to reproduce this, starting from "emacs -Q"? > > ssh to remote machine(with X11 DISPLAY preserved back to original machine) over vpn link >  with ping >= 3 ms > emacs -Q tst.txt > change something, then do File/Revert Buffer > SEGV > > > > (gdb) bt > > #0  0x00007ffff7ddc594 in GetnormalGC (lw=lw@entry=0x555556999670) at Label.c:310 > > #1  0x00007ffff7ddcc92 in Initialize (request=, new=0x555556999670, args=, > > num_args=) at Label.c:401 > > #2  0x00007ffff7d543b9 in CallInitialize > >     (class=0x7ffff7e19280 , > > req_widget=req_widget@entry=0x7fffffffb710, > > new_widget=new_widget@entry=0x555556999670, args=args@entry=0x7fffffffbb80, > > num_args=, num_args@entry=0x4) at > > /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:219 > > #3  0x00007ffff7d54d30 in xtCreate > >     (name=name@entry=0x7ffff7e06065 "label", class=class@entry=0x0, > > widget_class=widget_class@entry=0x7ffff7e19280 , > > parent=parent@entry=0x555556999440, default_screen=0x555555e21bf0, > > args=args@entry=0x7fffffffbb80, num_args=0x4, typed_args=0x0, > > num_typed_args=, parent_constraint_class=0x7ffff7e18ac0 > > , post_proc=0x7ffff7d54400 ) at > > /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:415 > > #4  0x00007ffff7d55202 in _XtCreateWidget > >     (name=name@entry=0x7ffff7e06065 "label", > > widget_class=widget_class@entry=0x7ffff7e19280 , > > parent=parent@entry=0x555556999440, args=args@entry=0x7fffffffbb80, > > num_args=0x4, typed_args=typed_args@entry=0x0, num_typed_args=) > > at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:581 > > #5  0x00007ffff7d55582 in XtCreateManagedWidget > >     (name=name@entry=0x7ffff7e06065 "label", widget_class=0x7ffff7e19280 > > , parent=parent@entry=0x555556999440, > > args=args@entry=0x7fffffffbb80, num_args=) at > > /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:619 > > #6  0x00007ffff7ddae7f in Initialize (request=, new=0x555556999440, args=, > > num_args=) at Dialog.c:176 > > #7  0x00007ffff7d543b9 in CallInitialize > >     (class=0x7ffff7e18ac0 , > > req_widget=req_widget@entry=0x7fffffffbda0, > > new_widget=new_widget@entry=0x555556999440, args=args@entry=0x7fffffffc2b0, > > num_args=, num_args@entry=0x0) at > > /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:219 > > #8  0x00007ffff7d54d30 in xtCreate > >     (name=name@entry=0x5555568f4b50 "Q2BR1", class=class@entry=0x0, > > widget_class=widget_class@entry=0x7ffff7e18ac0 , > > parent=parent@entry=0x55555692ab30, default_screen=0x555555e21bf0, > > args=args@entry=0x7fffffffc2b0, num_args=0x0, typed_args=0x0, > > num_typed_args=, parent_constraint_class=0x0, > > post_proc=0x7ffff7d54400 ) at > > /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:415 > > #9  0x00007ffff7d55202 in _XtCreateWidget > >     (name=name@entry=0x5555568f4b50 "Q2BR1", > > widget_class=widget_class@entry=0x7ffff7e18ac0 , > > parent=parent@entry=0x55555692ab30, args=args@entry=0x7fffffffc2b0, > > num_args=0x0, typed_args=typed_args@entry=0x0, num_typed_args=) > > at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:581 > > #10 0x00007ffff7d55582 in XtCreateManagedWidget > >     (name=name@entry=0x5555568f4b50 "Q2BR1", widget_class=0x7ffff7e18ac0 > > , parent=parent@entry=0x55555692ab30, > > args=args@entry=0x7fffffffc2b0, num_args=num_args@entry=0x0) at > > /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:619 > > #11 0x0000555555774c37 in make_dialog > >     (name=0x5555568f4b50 "Q2BR1", parent=, pop_up_p= > out>, shell_title=0x555555798741 "Question", text_input_slot=, > > radio_box=, list=0x0, left_buttons=0x1, right_buttons=0x1, > > instance=0x5555568f4c90, icon_name=) at lwlib-Xaw.c:553 > > #12 0x00005555557758e7 in xaw_create_dialog (instance=) at lwlib-Xaw.c:731 > > #13 0x000055555576e867 in instantiate_widget_instance (instance=0x5555568f4c90) at lwlib.c:726 > > #14 allocate_widget_instance (pop_up_p=0x1, parent=, info=) at lwlib.c:223 > > #15 lw_make_widget (id=, parent=, pop_up_p=) at lwlib.c:770 > > #16 0x00005555555f5c41 in create_and_show_dialog (f=0x555555efeea0, first_wv=0x5555568f4ac0) at xmenu.c:1788 > > #17 x_dialog_show (title=, error_name=, header=0x0, f=0x555555efeea0) at > > xmenu.c:1940 > > #18 xw_popup_dialog (f=0x555555efeea0, header=0x0, contents=) at xmenu.c:2003 > > #19 0x00005555556f1256 in Fyes_or_no_p (prompt=0x5555568c8ef4) at lisp.h:1027 > > #20 0x00005555556e6873 in Ffuncall (nargs=0x2, args=args@entry=0x7fffffffc748) at eval.c:2795 > > #21 0x0000555555717fc8 in exec_byte_code > >     (bytestr=, vector=, maxdepth=, args_template=, > > nargs=, args=) at bytecode.c:633 > > #22 0x00005555556e67d7 in Ffuncall (nargs=0x3, args=args@entry=0x7fffffffcb50) at eval.c:2809 > > #23 0x0000555555717fc8 in exec_byte_code > >     (bytestr=, vector=, maxdepth=, args_template=, > > nargs=, args=) at bytecode.c:633 > > #24 0x00005555556e67d7 in Ffuncall (nargs=nargs@entry=0x2, args=args@entry=0x7fffffffd008) at eval.c:2809 > > #25 0x00005555556e31e1 in Ffuncall_interactively (nargs=0x2, args=0x7fffffffd008) at callint.c:254 > > #26 0x00005555556e6873 in Ffuncall (nargs=0x3, args=0x7fffffffd000) at eval.c:2795 > > #27 0x00005555556e6c33 in Fapply (nargs=nargs@entry=0x3, args=args@entry=0x7fffffffd000) at eval.c:2382 > > #28 0x00005555556e474a in Fcall_interactively (function=0x2aaa9d3fc650, record_flag=0x0, keys=0x7ffff350180d) at > > callint.c:342 > > #29 0x00005555556e6873 in Ffuncall (nargs=0x4, args=args@entry=0x7fffffffd0f8) at eval.c:2795 > > #30 0x0000555555717fc8 in exec_byte_code > >     (bytestr=, vector=, maxdepth=, args_template=, > > nargs=, args=) at bytecode.c:633 > > #31 0x00005555556e67d7 in Ffuncall (nargs=0x2, args=0x7fffffffd4a0) at eval.c:2809 > > #32 0x00005555556e692a in call1 (fn=fn@entry=0x4320, arg1=) at eval.c:2655 > > #33 0x000055555567e728 in command_loop_1 () at lisp.h:1027 > > #34 0x00005555556e5b07 in internal_condition_case (bfun=bfun@entry=0x55555567e330 , > > handlers=handlers@entry=0x90, hfun=hfun@entry=0x555555675240 ) > > --Type for more, q to quit, c to continue without paging-- > >     at eval.c:1356 > > #35 0x000055555566ff14 in command_loop_2 (ignore=ignore@entry=0x0) at lisp.h:1027 > > #36 0x00005555556e5a61 in internal_catch (tag=tag@entry=0xd3e0, func=func@entry=0x55555566fef0 , > > arg=arg@entry=0x0) at eval.c:1117 > > #37 0x000055555566febb in command_loop () at lisp.h:1027 > > #38 0x0000555555674e56 in recursive_edit_1 () at keyboard.c:714 > > #39 0x0000555555675182 in Frecursive_edit () at keyboard.c:786 > > #40 0x000055555559bb1f in main (argc=0x2, argv=) at emacs.c:2067 >