From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#44502: 28.0.50; Emacs crash using new frame Date: Sat, 7 Nov 2020 13:27:30 +0000 Message-ID: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29252"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.1 To: 44502@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 07 14:28:20 2020 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 1kbOGR-0007U2-Oi for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 14:28:19 +0100 Original-Received: from localhost ([::1]:56690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbOGQ-0005dl-0U for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 08:28:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbOGA-0005de-Vh for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 08:28:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46559) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbOGA-0008HC-LN for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 08:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbOGA-0005jy-IZ for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 08:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Nov 2020 13:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44502 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160475566422037 (code B ref -1); Sat, 07 Nov 2020 13:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Nov 2020 13:27:44 +0000 Original-Received: from localhost ([127.0.0.1]:58105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbOFr-0005jM-Rh for submit@debbugs.gnu.org; Sat, 07 Nov 2020 08:27:44 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:45444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbOFq-0005jE-6B for submit@debbugs.gnu.org; Sat, 07 Nov 2020 08:27:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbOFq-0005cd-0G for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 08:27:42 -0500 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:41292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbOFn-00088K-Kt for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 08:27:41 -0500 Original-Received: by mail-wr1-x42a.google.com with SMTP id 23so4110133wrc.8 for ; Sat, 07 Nov 2020 05:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:subject:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=fz8bl8TF2bc+7h8HCjOadZVMP+m6JYs1x6tB55B+Eoc=; b=BMy5ox0GDYq3JhL3Zp260WZxLqZDsFnOVaJH6q46cxGXm2n7J/MUQ1z5F4qnwCdbJ5 XbJYfejI8BTZDS41z+9qkAd7LgITwqz1tT+opWcBIO8XS/vka4gwsa+oyfHA4LZjXomf ErxZ/6IRO1INi4IchMaJ4K0LhM7tihut9hwh/8s5evQBP+swMV+A9qmhc4kAedcCU0AK NWNOPo4wX8342KZtUfCV/mAf2LI/Nz+0HEAVxKGQeB5pm8J2oShVtV2MgoQOJ+ucvSUJ WG6abMVNeenJnwQFWBt/z2oW0diCOceemzZZfbTxjDk8rN1ks9xNV4pWnCwlHA8k1Ri3 aPNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:from:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=fz8bl8TF2bc+7h8HCjOadZVMP+m6JYs1x6tB55B+Eoc=; b=EFRgNAb2xenEJxTb+bC4ngrV/h4k9BIrWksqx3PZG8iHEAtzy8OSX2crcb6u66L2U2 9AdajxYWs0SLP66bUu52VnSBTSaddsnuG6NCR9Tzp4xTAWgnbHGWTrHVrO9/AHmny3b3 NdveKsWn9/4Y2dtB9hC6/oIjrbsNw1OiasXJg/4Ko24WSww2lc967epX3wPNeZjeHJzd pk1LYO8PMrqsQ3VhgSQn+qzZszy7b5z/VaHhISs50QjOVtlklEkBbsJVVm57pTZiMbdc 3wTBIU07jpB0CtKb8M+6pmS7TDg4HRFYkZ5UBpLY9exGb0ieOoIvCe70M6TwLd8DTsey p5Ng== X-Gm-Message-State: AOAM5314L2zax6kg1DMMyPX7x66Wj0c4qdf6Gu4Oa+gqVjnjihPwbR/R jeoCdyh4bjzXar+4cQGt6VlYO7goxiE= X-Google-Smtp-Source: ABdhPJxlduAipvnfpjMAo7BvJJepjMP4wXPfWwTTi+upqsbnXXdjWcaq3mGK0TKtr6S/oYXKDOBSkQ== X-Received: by 2002:a5d:6092:: with SMTP id w18mr8109417wrt.350.1604755654382; Sat, 07 Nov 2020 05:27:34 -0800 (PST) Original-Received: from [192.168.0.7] (82-69-64-228.dsl.in-addr.zen.co.uk. [82.69.64.228]) by smtp.gmail.com with ESMTPSA id t6sm6234652wrp.68.2020.11.07.05.27.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Nov 2020 05:27:33 -0800 (PST) Content-Language: en-GB Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=andrewjmoreton@gmail.com; helo=mail-wr1-x42a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:192829 Archived-At: Emacs crashed when using a new frame. After a bootstrap of master, I could repeat the crash witht he following recipe: - Run "emacs -Q" - Type "C-x 5 2 RET" to create a new frame (which becomes selected) - Type "C-x C-f" and emacs crashes I bisected this using the recipe above, with: git checkout master git bisect start git bisect bad git bisect good c3a20804a8 Bisect reports the bad commit as: 2ecbf4cfae Allow minibuffer to stay in its original frame. (2020-11-05 Alan Mackenzie) Looking in gdb, the backtrace is: Thread 1 received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 5768.0x1dd0] 0x00007ffb807493e3 in KERNELBASE!DebugBreak () from C:\WINDOWS\System32\KernelBase.dll (gdb) bt #0 0x00007ffb807493e3 in KERNELBASE!DebugBreak () from C:\WINDOWS\System32\KernelBase.dll #1 0x000000040021673c in emacs_abort () at C:/emacs/git/emacs/master/src/w32fns.c:10832 #2 0x00000004000e9a9e in terminate_due_to_signal (sig=11, backtrace_limit=12553480) at C:/emacs/git/emacs/master/src/emacs.c:408 #3 0x000000040010a7bc in deliver_fatal_thread_signal () at C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:443 #4 0x00000004002a7962 in _gnu_exception_handler (exception_data=0xbf8dc0) at C:/_/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt_handler.c:223 #5 0x00007ffb80fd7ff8 in msvcrt!__C_specific_handler () from C:\WINDOWS\System32\msvcrt.dll #6 0x00007ffb82cb10ef in ntdll!.chkstk () from C:\WINDOWS\SYSTEM32\ntdll.dll #7 0x00007ffb82c5b474 in ntdll!RtlRaiseException () from C:\WINDOWS\SYSTEM32\ntdll.dll #8 0x00007ffb82cafc1e in ntdll!KiUserExceptionDispatcher () from C:\WINDOWS\SYSTEM32\ntdll.dll #9 0x0000000400245e50 in stat_worker (path=, path@entry=0x9358ae0 "c:/home/ajm/.emacs.d/gnus/.newsrc-dribble", buf=buf@entry=0xbfa910, follow_symlinks=13303808, follow_symlinks@entry=1) at C:/emacs/git/emacs/master/src/w32.c:5441 #10 0x00000004002466df in fstatat (fd=fd@entry=-3041965, name=name@entry=0x9358ae0 "c:/home/ajm/.emacs.d/gnus/.newsrc-dribble", st=st@entry=0xbfa910, flags=flags@entry=0) at C:/emacs/git/emacs/master/src/w32.c:5658 #11 0x000000040010ba6d in emacs_fstatat (dirfd=dirfd@entry=-3041965, filename=0x9358ae0 "c:/home/ajm/.emacs.d/gnus/.newsrc-dribble", st=st@entry=0xbfa910, flags=flags@entry=0) at C:/emacs/git/emacs/master/src/sysdep.c:2300 #12 0x0000000400134f6a in auto_save_1 () at C:/emacs/git/emacs/master/src/lisp.h:1508 #13 0x0000000400185f5d in internal_condition_case (bfun=bfun@entry=0x400134ec0 , handlers=, hfun=hfun@entry=0x400129430 ) at C:/emacs/git/emacs/master/src/eval.c:1359 #14 0x0000000400132a40 in Fdo_auto_save (no_message=no_message@entry=XIL(0x30), current_only=current_only@entry=XIL(0)) at C:/emacs/git/emacs/master/src/lisp.h:1007 #15 0x00000004000e9919 in shut_down_emacs (sig=sig@entry=22, stuff=XIL(0)) at C:/emacs/git/emacs/master/src/lisp.h:1007 #16 0x00000004000e9ad1 in terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at C:/emacs/git/emacs/master/src/lisp.h:1007 #17 0x0000000400156e04 in die (msg=0x4006c2a42 "EQ (window, selected_window)", file=0x4006c24b0 "C:/emacs/git/emacs/master/src/window.c", line=554) at C:/emacs/git/emacs/master/src/alloc.c:7341 #18 0x000000040007f2c2 in select_window (window=XIL(0x5127715), norecord=norecord@entry=XIL(0x30), inhibit_point_swap=inhibit_point_swap@entry=false) at C:/emacs/git/emacs/master/src/lisp.h:1373 #19 0x000000040007f2d8 in Fselect_window (window=, norecord=norecord@entry=XIL(0x30)) at C:/emacs/git/emacs/master/src/window.c:630 #20 0x000000040004c588 in gui_consider_frame_title (frame=XIL(0x51274c5)) at C:/emacs/git/emacs/master/src/lisp.h:1007 #21 0x000000040005c41d in prepare_menu_bars () at C:/emacs/git/emacs/master/src/xdisp.c:12679 #22 redisplay_internal () at C:/emacs/git/emacs/master/src/xdisp.c:15575 #23 0x000000040005e365 in redisplay () at C:/emacs/git/emacs/master/src/xdisp.c:15159 #24 0x00000004000f9af6 in read_char (commandflag=1601537, map=XIL(0), map@entry=XIL(0x9c4dc23), prev_event=XIL(0x172a2c), used_mouse_menu=0x1, used_mouse_menu@entry=0xbfdb0b, end_time=end_time@entry=0x0) at C:/emacs/git/emacs/master/src/keyboard.c:2497 #25 0x00000004000fcc41 in read_key_sequence (keybuf=keybuf@entry=0xbfdc80, 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) at C:/emacs/git/emacs/master/src/keyboard.c:9546 #26 0x00000004000fe44f in command_loop_1 () at C:/emacs/git/emacs/master/src/lisp.h:1007 #27 0x0000000400185f5d in internal_condition_case (bfun=bfun@entry=0x4000fe230 , handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x4000f36a0 ) at C:/emacs/git/emacs/master/src/eval.c:1359 #28 0x00000004000eaaf8 in command_loop_2 (ignore=) at C:/emacs/git/emacs/master/src/lisp.h:1007 #29 0x0000000400185e9b in internal_catch (tag=tag@entry=XIL(0x5940), func=func@entry=0x4000eaad0 , arg=arg@entry=XIL(0)) at C:/emacs/git/emacs/master/src/eval.c:1120 #30 0x00000004000eb752 in command_loop () at C:/emacs/git/emacs/master/src/lisp.h:1007 #31 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Lisp Backtrace: Thread 1 hit Breakpoint 1, terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at C:/emacs/git/emacs/master/src/emacs.c:377 377 { The program being debugged stopped while in a function called from GDB. Evaluation of the expression containing the function (backtrace_function) will be abandoned. In GNU Emacs 28.0.50 (build 11, x86_64-w64-mingw32) of 2020-11-07 built on QUIETUS Repository revision: bc76afd355c0a6608830e2b43c8c67243aa0fa7b Repository branch: master Windowing system distributor 'Microsoft Corp.', version 10.0.19041 System Description: Microsoft Windows 10 Pro (v10.0.2004.19041.572) Configured using: 'configure --prefix=/c/emacs/emacs-master --cache-file=/c/emacs/git/emacs/master/build/mingw64-x86_64-O2/config.cache --without-dbus --with-gif --with-gnutls --without-imagemagick --with-jpeg --with-json --with-lcms2 --with-modules --with-png --without-pop --with-rsvg --with-tiff --with-xml2 --with-xpm --enable-checking 'ac_cv_search___gmpz_roinit_n=-Wl,--push-state,-static -lgmp -Wl,--pop-state' 'CFLAGS= -O2 -g3 -gdwarf-4 -fdiagnostics-color=never' PKG_CONFIG_PATH=/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: ELisp/d Minor modes in effect: hexl-follow-ascii: t bug-reference-prog-mode: t which-function-mode: t global-so-long-mode: t display-fill-column-indicator-mode: t desktop-save-mode: t show-paren-mode: t minibuffer-electric-default-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t mouse-wheel-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-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils add-log time mule-util jka-compr sh-script executable dired-aux autorevert filenotify rng-xsd xsd-regexp rng-cmpct image-mode dired-x dired dired-loaddefs exif vc-git diff-mode macrostep-c cmacexp macrostep xcscope cap-words superword subword time-date rnc-mode rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode dom nxml-util nxml-enc xmltok typescript-mode tuareg speedbar ezimage dframe tuareg-opam flymake-proc flymake caml-help caml-types caml-emacs smalltalk-mode rust-mode meson-mode smie lua-mode advice kconfig-mode go-mode find-file ffap etags fileloop generator xref project csharp-mode cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cmake-mode thingatpt hexl bug-reference graphviz-dot-mode compile text-property-search xr which-func imenu so-long display-fill-column-indicator desktop frameset cygwin-mount ange-ftp comint ansi-color ring hl-line pcase rx paren edmacro kmacro use-package-bind-key use-package-delight minibuf-eldef gnu-elpa-keyring-update warnings delight bind-key easy-mmode finder-inf cl-extra help-mode use-package-ensure use-package-core cus-edit pp cus-start cus-load wid-edit nsm rmc gnutls puny info package easymenu browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win 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 button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 384317 223359) (symbols 48 27577 428) (strings 32 117889 33639) (string-bytes 1 3236646) (vectors 16 40518) (vector-slots 8 561206 362902) (floats 8 89 815) (intervals 56 4641 630) (buffers 992 35))