From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 07 08:27:44 2020 Received: (at submit) by debbugs.gnu.org; 7 Nov 2020 13:27:44 +0000 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 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 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 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 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) 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) To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Emacs crash using new frame From: Andy Moreton Message-ID: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> Date: Sat, 7 Nov 2020 13:27:30 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit 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-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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)) From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 07 08:51:21 2020 Received: (at submit) by debbugs.gnu.org; 7 Nov 2020 13:51:21 +0000 Received: from localhost ([127.0.0.1]:58140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbOci-0006Kq-VX for submit@debbugs.gnu.org; Sat, 07 Nov 2020 08:51:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:47584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbOci-0006Kk-AN for submit@debbugs.gnu.org; Sat, 07 Nov 2020 08:51:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbOci-0000GZ-2P for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 08:51:20 -0500 Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:38660 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbOcg-0007eO-P5 for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 08:51:19 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kbOcc-0000ty-Qu for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 14:51:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#44502: 28.0.50; Emacs crash using new frame Date: Sat, 07 Nov 2020 13:51:08 +0000 Message-ID: <86y2jd8ecz.fsf@gmail.com> References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (windows-nt) Cancel-Lock: sha1:7a1qO12YKDlvF6B/UDu+5fAW5BE= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/07 08:51:15 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) On Sat 07 Nov 2020, Andy Moreton wrote: > 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) This emacs was built with --enable-checking, so the crash is actually an eassert in select_window (in window.c). AndyM From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 07 09:06:16 2020 Received: (at 44502) by debbugs.gnu.org; 7 Nov 2020 14:06:16 +0000 Received: from localhost ([127.0.0.1]:58144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbOrA-0006hH-8C for submit@debbugs.gnu.org; Sat, 07 Nov 2020 09:06:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbOr9-0006h5-9b for 44502@debbugs.gnu.org; Sat, 07 Nov 2020 09:06:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59119) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbOr3-0004Du-HF; Sat, 07 Nov 2020 09:06:09 -0500 Received: from [176.228.60.248] (port=2934 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kbOqk-0007k9-4s; Sat, 07 Nov 2020 09:06:02 -0500 Date: Sat, 07 Nov 2020 16:05:51 +0200 Message-Id: <83blg96z40.fsf@gnu.org> From: Eli Zaretskii To: Andy Moreton , Alan Mackenzie In-Reply-To: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> (message from Andy Moreton on Sat, 7 Nov 2020 13:27:30 +0000) Subject: Re: bug#44502: 28.0.50; Emacs crash using new frame References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andy Moreton > Date: Sat, 7 Nov 2020 13:27:30 +0000 > > 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) Thanks. Yes, the above recipe causes an assertion violation. Alan, can you take a look, please? Here's a backtrace from an unoptimized build: window.c:554: Emacs fatal error: assertion failed: EQ (window, selected_window) Thread 1 hit Breakpoint 1, terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:378 378 signal (sig, SIG_DFL); (gdb) bt #0 terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:378 #1 0x012196a3 in die ( msg=0x172067b "EQ (window, selected_window)", file=0x1720425 "window.c", line=554) at alloc.c:7341 #2 0x010b9b57 in select_window (window=XIL(0xa000000006bc6220), norecord=XIL(0x30), inhibit_point_swap=false) at window.c:554 #3 0x010b9d97 in Fselect_window (window=XIL(0xa000000006bc6220), norecord=XIL(0x30)) at window.c:630 #4 0x0106036e in gui_consider_frame_title (frame=XIL(0xa000000006bc6020)) at xdisp.c:12569 #5 0x01060989 in prepare_menu_bars () at xdisp.c:12679 #6 0x01068a85 in redisplay_internal () at xdisp.c:15575 #7 0x01067518 in redisplay () at xdisp.c:15159 #8 0x011677c4 in read_char (commandflag=1, map=XIL(0xc0000000062a2af0), prev_event=XIL(0), used_mouse_menu=0x82bdff, end_time=0x0) at keyboard.c:2497 #9 0x0117f688 in read_key_sequence (keybuf=0x82c100, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9546 #10 0x0116335a in command_loop_1 () at keyboard.c:1354 #11 0x01255830 in internal_condition_case (bfun=0x1162c37 , handlers=XIL(0x90), hfun=0x1161e95 ) at eval.c:1359 #12 0x011626a4 in command_loop_2 (ignore=XIL(0)) at keyboard.c:1095 #13 0x01254a3d in internal_catch (tag=XIL(0x5940), func=0x1162667 , arg=XIL(0)) at eval.c:1120 #14 0x01162589 in command_loop () at keyboard.c:1066 #15 0x01161925 in recursive_edit_1 () at keyboard.c:718 #16 0x011c17be in read_minibuf (map=XIL(0xc0000000062a3ab0), initial=XIL(0x8000000007142188), prompt=XIL(0x800000000592036c), expflag=false, histvar=XIL(0x6060), histpos=make_fixnum(0), defalt=XIL(0x80000000062abed0), allow_props=false, inherit_input_method=false) at minibuf.c:730 #17 0x011c29a3 in Fread_from_minibuffer (prompt=XIL(0x800000000592036c), initial_contents=XIL(0x8000000007142188), keymap=XIL(0xc0000000062a3ab0), sys_read=XIL(0), hist=XIL(0x6060), default_value=XIL(0x80000000062abed0), inherit_input_method=XIL(0)) at minibuf.c:1021 #18 0x0125bba7 in funcall_subr (subr=0x170ae60 , numargs=7, args=0x82c8a0) at eval.c:2902 #19 0x0125b2bc in Ffuncall (nargs=8, args=0x82c898) at eval.c:2809 #20 0x012c5ad4 in exec_byte_code (bytestr=XIL(0x80000000059e4f44), vector=XIL(0xa0000000059e2c6c), maxdepth=make_fixnum(18), args_template=make_fixnum(2050), nargs=8, args=0x82cf40) at bytecode.c:632 #21 0x0125bdeb in fetch_and_exec_byte_code (fun=XIL(0xa0000000059e2c3c), syms_left=make_fixnum(2050), nargs=8, args=0x82cf00) at eval.c:2931 #22 0x0125c368 in funcall_lambda (fun=XIL(0xa0000000059e2c3c), nargs=8, arg_vector=0x82cf00) at eval.c:3012 #23 0x0125b316 in Ffuncall (nargs=9, args=0x82cef8) at eval.c:2811 #24 0x011c556b in Fcompleting_read (prompt=XIL(0x800000000592036c), collection=XIL(0x409f4b4), predicate=XIL(0x5e80), require_match=XIL(0x406c17c), initial_input=XIL(0x8000000007142188), hist=XIL(0x6060), def=XIL(0x80000000062abed0), inherit_input_method=XIL(0)) at minibuf.c:1733 #25 0x0125bcde in funcall_subr (subr=0x170af60 , numargs=7, args=0x82d210) at eval.c:2907 #26 0x0125b2bc in Ffuncall (nargs=8, args=0x82d208) at eval.c:2809 #27 0x012c5ad4 in exec_byte_code (bytestr=XIL(0x8000000005bdf1dc), vector=XIL(0xa0000000058da554), maxdepth=make_fixnum(22), args_template=make_fixnum(1537), nargs=6, args=0x82d9f0) at bytecode.c:632 #28 0x0125bdeb in fetch_and_exec_byte_code (fun=XIL(0xa0000000058da524), syms_left=make_fixnum(1537), nargs=6, args=0x82d9c0) at eval.c:2931 #29 0x0125c368 in funcall_lambda (fun=XIL(0xa0000000058da524), nargs=6, arg_vector=0x82d9c0) at eval.c:3012 #30 0x0125b316 in Ffuncall (nargs=7, args=0x82d9b8) at eval.c:2811 #31 0x012c5ad4 in exec_byte_code (bytestr=XIL(0x8000000005bdf25c), vector=XIL(0xa0000000058da4dc), maxdepth=make_fixnum(13), args_template=make_fixnum(1537), nargs=4, args=0x82dfc0) at bytecode.c:632 #32 0x0125bdeb in fetch_and_exec_byte_code (fun=XIL(0xa0000000058da4ac), syms_left=make_fixnum(1537), nargs=4, args=0x82dfa0) at eval.c:2931 #33 0x0125c368 in funcall_lambda (fun=XIL(0xa0000000058da4ac), nargs=4, arg_vector=0x82dfa0) at eval.c:3012 #34 0x0125b316 in Ffuncall (nargs=5, args=0x82df98) at eval.c:2811 #35 0x012c5ad4 in exec_byte_code (bytestr=XIL(0x8000000005920404), vector=XIL(0xa0000000059203dc), maxdepth=make_fixnum(7), args_template=make_fixnum(514), nargs=2, args=0x82e570) at bytecode.c:632 #36 0x0125bdeb in fetch_and_exec_byte_code (fun=XIL(0xa0000000059203ac), syms_left=make_fixnum(514), nargs=2, args=0x82e560) at eval.c:2931 #37 0x0125c368 in funcall_lambda (fun=XIL(0xa0000000059203ac), nargs=2, arg_vector=0x82e560) at eval.c:3012 #38 0x0125b316 in Ffuncall (nargs=3, args=0x82e558) at eval.c:2811 #39 0x012c5ad4 in exec_byte_code (bytestr=XIL(0x8000000005920434), vector=XIL(0xa00000000592034c), maxdepth=make_fixnum(3), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #40 0x012c4ba9 in Fbyte_code (bytestr=XIL(0x8000000005920434), vector=XIL(0xa00000000592034c), maxdepth=make_fixnum(3)) at bytecode.c:334 #41 0x01258e92 in eval_sub (form=XIL(0xc00000000592031c)) at eval.c:2292 #42 0x0125827c in Feval (form=XIL(0xc00000000592031c), lexical=XIL(0)) at eval.c:2115 #43 0x0124c06a in Fcall_interactively (function=XIL(0x40e4e14), record_flag=XIL(0), keys=XIL(0xa000000005eb8e9c)) at callint.c:322 #44 0x0125b8a9 in funcall_subr (subr=0x170d7a0 , numargs=3, args=0x82ef80) at eval.c:2887 #45 0x0125b2bc in Ffuncall (nargs=4, args=0x82ef78) at eval.c:2809 #46 0x012c5ad4 in exec_byte_code (bytestr=XIL(0x80000000059f24ac), vector=XIL(0xa0000000059f2254), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x82f5d0) at bytecode.c:632 #47 0x0125bdeb in fetch_and_exec_byte_code (fun=XIL(0xa0000000059f2224), syms_left=make_fixnum(1025), nargs=1, args=0x82f5c8) at eval.c:2931 #48 0x0125c368 in funcall_lambda (fun=XIL(0xa0000000059f2224), nargs=1, arg_vector=0x82f5c8) at eval.c:3012 #49 0x0125b316 in Ffuncall (nargs=2, args=0x82f5c0) at eval.c:2811 #50 0x0125a5e8 in call1 (fn=XIL(0x3f30), arg1=XIL(0x40e4e14)) at eval.c:2669 #51 0x01163878 in command_loop_1 () at keyboard.c:1467 #52 0x01255830 in internal_condition_case (bfun=0x1162c37 , handlers=XIL(0x90), hfun=0x1161e95 ) at eval.c:1359 #53 0x011626a4 in command_loop_2 (ignore=XIL(0)) at keyboard.c:1095 #54 0x01254a3d in internal_catch (tag=XIL(0xe130), func=0x1162667 , arg=XIL(0)) at eval.c:1120 #55 0x01162621 in command_loop () at keyboard.c:1074 #56 0x01161925 in recursive_edit_1 () at keyboard.c:718 #57 0x01161b93 in Frecursive_edit () at keyboard.c:790 #58 0x0115d3a8 in main (argc=2, argv=0xa428e0) at emacs.c:2047 Lisp Backtrace: "redisplay_internal (C function)" (0x0) "read-from-minibuffer" (0x82c8a0) "completing-read-default" (0x82cf00) "completing-read" (0x82d210) "read-file-name-default" (0x82d9c0) "read-file-name" (0x82dfa0) "find-file-read-args" (0x82e560) "byte-code" (0x82ea18) "call-interactively" (0x82ef80) "command-execute" (0x82f5c8) From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 08 08:37:29 2020 Received: (at 44502) by debbugs.gnu.org; 8 Nov 2020 13:37:30 +0000 Received: from localhost ([127.0.0.1]:59968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbksr-0003RA-Ly for submit@debbugs.gnu.org; Sun, 08 Nov 2020 08:37:29 -0500 Received: from colin.muc.de ([193.149.48.1]:54541 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1kbksq-0003Qv-Di for 44502@debbugs.gnu.org; Sun, 08 Nov 2020 08:37:29 -0500 Received: (qmail 21887 invoked by uid 3782); 8 Nov 2020 13:37:22 -0000 Received: from acm.muc.de (p2e5d5c96.dip0.t-ipconnect.de [46.93.92.150]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Sun, 08 Nov 2020 14:37:21 +0100 Received: (qmail 18615 invoked by uid 1000); 8 Nov 2020 13:37:21 -0000 Date: Sun, 8 Nov 2020 13:37:21 +0000 To: Eli Zaretskii Subject: Re: bug#44502: 28.0.50; Emacs crash using new frame Message-ID: <20201108133721.GA18190@ACM> References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <83blg96z40.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83blg96z40.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org, acm@muc.de, Andy Moreton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Eli and Andy. On Sat, Nov 07, 2020 at 16:05:51 +0200, Eli Zaretskii wrote: > > From: Andy Moreton > > Date: Sat, 7 Nov 2020 13:27:30 +0000 > > 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) > Thanks. Yes, the above recipe causes an assertion violation. Alan, > can you take a look, please? Thanks for the backtrace, which was helpful. I've committed the following patch, which appears to fix the bug: commit cfe8a73cab5e7a9c6a6fcc212bd9df980f233895 (HEAD -> master, origin/master, origin/HEAD) Author: Alan Mackenzie Date: Sun Nov 8 13:28:55 2020 +0000 Don't set the selected window to the miniwindow on a frame change. Intended to fix bug #44502. * src/minibuf.c (move_minibuffer_onto_frame): Remove the lines of code which set the selected window to the minibuffer. diff --git a/src/minibuf.c b/src/minibuf.c index 068086ead8..8c19559b08 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -142,10 +142,6 @@ void move_minibuffer_onto_frame (void) set_window_buffer (sf->minibuffer_window, buffer, 0, 0); minibuf_window = sf->minibuffer_window; - if (EQ (XWINDOW (minibuf_window)->frame, selected_frame)) - /* The minibuffer might be on another frame. */ - Fset_frame_selected_window (selected_frame, sf->minibuffer_window, - Qnil); set_window_buffer (of->minibuffer_window, get_minibuffer (0), 0, 0); } } > Here's a backtrace from an unoptimized build: > window.c:554: Emacs fatal error: assertion failed: EQ (window, selected_window) > Thread 1 hit Breakpoint 1, terminate_due_to_signal (sig=22, > backtrace_limit=2147483647) at emacs.c:378 > 378 signal (sig, SIG_DFL); [ .... ] > Lisp Backtrace: > "redisplay_internal (C function)" (0x0) > "read-from-minibuffer" (0x82c8a0) > "completing-read-default" (0x82cf00) > "completing-read" (0x82d210) > "read-file-name-default" (0x82d9c0) > "read-file-name" (0x82dfa0) > "find-file-read-args" (0x82e560) > "byte-code" (0x82ea18) > "call-interactively" (0x82ef80) > "command-execute" (0x82f5c8) -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 08 10:15:32 2020 Received: (at 44502) by debbugs.gnu.org; 8 Nov 2020 15:15:32 +0000 Received: from localhost ([127.0.0.1]:32871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbmPk-00085U-6E for submit@debbugs.gnu.org; Sun, 08 Nov 2020 10:15:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbmPi-00085H-K9 for 44502@debbugs.gnu.org; Sun, 08 Nov 2020 10:15:30 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50259) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbmPd-0004zR-3p; Sun, 08 Nov 2020 10:15:25 -0500 Received: from [176.228.60.248] (port=4683 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kbmPc-0004pE-GP; Sun, 08 Nov 2020 10:15:24 -0500 Date: Sun, 08 Nov 2020 17:15:27 +0200 Message-Id: <83r1p36fsg.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-Reply-To: <20201108133721.GA18190@ACM> (message from Alan Mackenzie on Sun, 8 Nov 2020 13:37:21 +0000) Subject: Re: bug#44502: 28.0.50; Emacs crash using new frame References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <83blg96z40.fsf@gnu.org> <20201108133721.GA18190@ACM> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org, acm@muc.de, andrewjmoreton@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 8 Nov 2020 13:37:21 +0000 > Cc: Andy Moreton , 44502@debbugs.gnu.org, acm@muc.de > Thanks for the backtrace, which was helpful. I've committed the > following patch, which appears to fix the bug: Thanks, it no longer crashes here. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 08 10:36:23 2020 Received: (at submit) by debbugs.gnu.org; 8 Nov 2020 15:36:23 +0000 Received: from localhost ([127.0.0.1]:32879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbmjv-00008g-5W for submit@debbugs.gnu.org; Sun, 08 Nov 2020 10:36:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:45348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbmjt-00008Z-Rd for submit@debbugs.gnu.org; Sun, 08 Nov 2020 10:36:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbmjt-0001Jr-KN for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 10:36:21 -0500 Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:58774 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbmjs-0003w3-BK for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 10:36:21 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kbmjn-0000J7-QF for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 16:36:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#44502: 28.0.50; Emacs crash using new frame Date: Sun, 08 Nov 2020 15:36:10 +0000 Message-ID: <86r1p3svx1.fsf@gmail.com> References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <83blg96z40.fsf@gnu.org> <20201108133721.GA18190@ACM> <83r1p36fsg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) Cancel-Lock: sha1:Pt3pP8+nY7B9LtWi7A6QQKW581E= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/08 09:50:43 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) On Sun 08 Nov 2020, Eli Zaretskii wrote: >> Date: Sun, 8 Nov 2020 13:37:21 +0000 >> Cc: Andy Moreton , 44502@debbugs.gnu.org, acm@muc.de >> Thanks for the backtrace, which was helpful. I've committed the >> following patch, which appears to fix the bug: > > Thanks, it no longer crashes here. Thanks Alan, that fixes the bug here too. AndyM From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 08 05:52:17 2021 Received: (at 44502) by debbugs.gnu.org; 8 Sep 2021 09:52:17 +0000 Received: from localhost ([127.0.0.1]:58703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNuFd-0007Rj-J0 for submit@debbugs.gnu.org; Wed, 08 Sep 2021 05:52:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNuFb-0007RS-AX for 44502@debbugs.gnu.org; Wed, 08 Sep 2021 05:52:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=H2n6ppHEbTuKY21OllgPTNvJKdrO4n4H9tPTd+QMesE=; b=NzaEdm1yxyc15N3KP067E5O4EA pU/xgg9maYuw4Tgfdtel9CepJVvNLaScqStzm7JPsaReZc0tkEicHKfmPhQENicAvL0NR9vVU9+Vq xMAUVubLEi+eeR3g88oJ5Vx9wN3vKrnNQ5g2O3amzwRbYvkVZN40LNTNOcoWto0QfLr8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNuFS-0001VZ-WE; Wed, 08 Sep 2021 11:52:09 +0200 From: Lars Ingebrigtsen To: Andy Moreton Subject: Re: bug#44502: 28.0.50; Emacs crash using new frame References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <83blg96z40.fsf@gnu.org> <20201108133721.GA18190@ACM> <83r1p36fsg.fsf@gnu.org> <86r1p3svx1.fsf@gmail.com> Date: Wed, 08 Sep 2021 11:52:06 +0200 In-Reply-To: <86r1p3svx1.fsf@gmail.com> (Andy Moreton's message of "Sun, 08 Nov 2020 15:36:10 +0000") Message-ID: <87y287z96h.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andy Moreton writes: > On Sun 08 Nov 2020, Eli Zaretskii wrote: > >>> Date: Sun, 8 Nov 2020 13:37:21 +0000 >>> Cc: Andy Moreton , 44502@debbugs.gnu.org, >>> acm@muc.de >>> Thanks for the backtrac [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andy Moreton writes: > On Sun 08 Nov 2020, Eli Zaretskii wrote: > >>> Date: Sun, 8 Nov 2020 13:37:21 +0000 >>> Cc: Andy Moreton , 44502@debbugs.gnu.org, >>> acm@muc.de >>> Thanks for the backtrace, which was helpful. I've committed the >>> following patch, which appears to fix the bug: >> >> Thanks, it no longer crashes here. > > Thanks Alan, that fixes the bug here too. The patch was pushed at the time, but the bug report was left open, so I'm closing it now. commit cfe8a73cab5e7a9c6a6fcc212bd9df980f233895 Author: Alan Mackenzie AuthorDate: Sun Nov 8 13:28:55 2020 +0000 Don't set the selected window to the miniwindow on a frame change. Intended to fix bug #44502. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 08 05:52:22 2021 Received: (at control) by debbugs.gnu.org; 8 Sep 2021 09:52:22 +0000 Received: from localhost ([127.0.0.1]:58706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNuFh-0007S2-RG for submit@debbugs.gnu.org; Wed, 08 Sep 2021 05:52:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNuFg-0007Rb-JQ for control@debbugs.gnu.org; Wed, 08 Sep 2021 05:52:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2h6a0DLa6NZ95cUvrMwuv6h/J4NbWKCHfKMhDd91lN4=; b=Ck7dZ+xdDPd7IjRx8Ut4m5zO+m 8CfkqwFnlfasrd4EGyvTgaOitiM+2AaQINCtCQNVtJBRmtOYf2XqlAs8L3K3JZ23fk2N414WGYZWX gMJK4pxXfYTcAorBxVp35F4l3JNOgILEH3WgM+BgLaT9yuyLoFHY9yt54D1qZfN9JXU0=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNuFZ-0001Vh-1W for control@debbugs.gnu.org; Wed, 08 Sep 2021 11:52:15 +0200 Date: Wed, 08 Sep 2021 11:52:12 +0200 Message-Id: <87wnnrz96b.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #44502 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 44502 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 44502 28.1 quit From unknown Mon Jun 23 22:06:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 06 Oct 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 10 09:25:09 2022 Received: (at control) by debbugs.gnu.org; 10 Aug 2022 13:25:10 +0000 Received: from localhost ([127.0.0.1]:46902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLlht-0003EX-MF for submit@debbugs.gnu.org; Wed, 10 Aug 2022 09:25:09 -0400 Received: from mta-out1.inet.fi ([62.71.2.202]:40544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLlhp-0003Dz-Va for control@debbugs.gnu.org; Wed, 10 Aug 2022 09:25:08 -0400 Received: from johanna4.inet.fi (unknown [10.16.62.36]) by em201-smtpout81.rokki.sonera.fi (Postfix) with ESMTP id 87F428077B2 for ; Wed, 10 Aug 2022 16:24:59 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inet.fi; s=smtpgw-3485-2022-03-15; t=1660137899; bh=9WV+ubW+mXhPO2WQbkFZ9/N9koglgTiHteGbnlCMH3A=; h=From:to:Date:From; b=dtjoWffaktleFUy1LdCQ2seY3jBOih9rDhA6wJ5C6oDHT4Hbd6Grqgg1zeRHJeN5y BV98GdLKDfDHwHWc2RiAPaKzQYB2H9cO1eRS5S75F8b9OQPcBcwp2DZTk84U7XOhxN O1sjTzQwTdO4NGqRRpnzxbZMaD1YHJrAeH4A2aUk= Received: from quad (193.210.224.227) by johanna4.inet.fi (9.0.019.26-1) id 628F4AB109FE5116 for control@debbugs.gnu.org; Wed, 10 Aug 2022 16:24:59 +0300 From: andrei.elkin@pp.inet.fi Organization: Home sweet home to: control@debbugs.gnu.org Date: Wed, 10 Aug 2022 16:19:11 +0300 Message-ID: <87iln0i6cw.fsf@quad> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 44502 Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [62.71.2.202 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) unarchive 44502 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 10 09:32:34 2022 Received: (at 44502) by debbugs.gnu.org; 10 Aug 2022 13:32:34 +0000 Received: from localhost ([127.0.0.1]:46928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLlp3-0005aD-V2 for submit@debbugs.gnu.org; Wed, 10 Aug 2022 09:32:34 -0400 Received: from mta-out1.inet.fi ([62.71.2.202]:46442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLlp2-0005Zz-6v for 44502@debbugs.gnu.org; Wed, 10 Aug 2022 09:32:33 -0400 Received: from johanna3.inet.fi (unknown [10.16.62.35]) by em201-smtpout82.rokki.sonera.fi (Postfix) with ESMTP id 9F82353AB for <44502@debbugs.gnu.org>; Wed, 10 Aug 2022 16:32:24 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inet.fi; s=smtpgw-3485-2022-03-15; t=1660138344; bh=gtdqsAOCu/ILhYF3zXPnh+9xrCD26SNh06e+Wrley4c=; h=From:To:Subject:Date:From; b=mgB2ACDdka7N3zLokK0D9eq9CWYTGPJxOViLX7jvZLlQDoB+9xALVlvuQ5ml2aliv 52A//0AAq2axfFHqjfQnGfjmcRtooQn5uVGQDBpwf2Nrg65LOnydQsZc2X5qOQOD3Q LJp97KHjS5W8w5S9X0wgg8yY+NR3HyGUo08Mry/I= Received: from quad (193.210.224.227) by johanna3.inet.fi (9.0.019.26-1) id 628F4A3809FF194F for 44502@debbugs.gnu.org; Wed, 10 Aug 2022 16:32:24 +0300 From: andrei.elkin@pp.inet.fi To: 44502@debbugs.gnu.org Subject: bug#44502 Organization: Home sweet home Date: Wed, 10 Aug 2022 16:26:38 +0300 Message-ID: <878rnwi60h.fsf@quad> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44502 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello dear Colleagues! For couple of times I hit a stack whose top part perfectly fits to the reported in this bug. Mine: gdb) bt #0 0x00007ffff256c817 in raise (sig=) at raise.c:51 #1 0x0000555555732728 in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:437 #2 0x00005555557e5e2e in die (msg=0x55555593c747 "EQ (window, selected_window)", file=0x55555593c4dc "window.c", line=557) at alloc.c:7486 #3 0x000055555564f2cb in select_window (window=..., norecord=..., inhibit_point_swap=false) at window.c:557 #4 0x000055555564f45b in Fselect_window (window=..., norecord=...) at window.c:634 #5 0x00005555555f0389 in gui_consider_frame_title (frame=...) at xdisp.c:12801 #6 0x00005555555f09be in prepare_menu_bars () at xdisp.c:12914 #7 0x00005555555f8d68 in redisplay_internal () at xdisp.c:15785 #8 0x00005555555f7a14 in redisplay () at xdisp.c:15369 #9 0x000055555573ec1c in read_char (commandflag=1, map=..., prev_event=..., used_mouse_menu=0x7fffffffd8ed, end_time=0x0) at keyboard.c:2555 #10 0x000055555575272b in read_key_sequence (keybuf=0x7fffffffdad0, prompt=..., dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9635 #11 0x000055555573aea2 in command_loop_1 () at keyboard.c:1392 #12 0x000055555581cc49 in internal_condition_case (bfun=0x55555573aa08 , handlers=..., hfun=0x555555739e35 ) at eval.c:1450 #13 0x000055555573a5ef in command_loop_2 (handlers=...) at keyboard.c:1133 #14 0x000055555581be5f in internal_catch (tag=..., func=0x55555573a5c8 , arg=...) at eval.c:1181 #15 0x000055555573a593 in command_loop () at keyboard.c:1111 #16 0x0000555555739900 in recursive_edit_1 () at keyboard.c:720 #17 0x0000555555739b14 in Frecursive_edit () at keyboard.c:803 #18 0x000055555573578d in main (argc=3, argv=0x7fffffffdf38) at emacs.c:2358 My emacs version: $ git log -1 --oneline 7ffcba4213 I am used to run emacs in gdb so keeping the stack alive in case some of you would be interested to dig in. Thank you in advace! Emacs' faithful Andrei Elkin @ mariadb From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 10 11:49:37 2022 Received: (at 44502) by debbugs.gnu.org; 10 Aug 2022 15:49:37 +0000 Received: from localhost ([127.0.0.1]:50515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLnxh-0003eR-8o for submit@debbugs.gnu.org; Wed, 10 Aug 2022 11:49:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLnxf-0003eD-Eh for 44502@debbugs.gnu.org; Wed, 10 Aug 2022 11:49:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLnxY-00059j-Vm; Wed, 10 Aug 2022 11:49:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=aZgYODER9brHDjlDZY0i793Em0jiq9w70uDXX5j6RCg=; b=nQcxfj0dL32d Fsl2jmJ4rYZO9SJ9hn7Dzd7F+h4Cj/vKbB63H95PpdDv2WNQZJo8rUh4reb5mtiIa8A8t/alRp9U2 zORj8OOhTSu4j+zwlNyxRZm/IWdOjqIsOpQ9lBqMDpayQKSjKqEgIGkCADHoaTrGeTcB+RqzWd36v JOQtlBckTIGktGS17SM3H1mllVtAz1NHONk0gLauxLWQDsgko3gkQYfnYG8ODxzLUX0h8gYElgGPZ qkuixCNRrfHCA/8v4zIA1Mdr3FpsDHWAXqfi8cJUv35k3+9ge1SYlcHTDMf53qIfICBgzkz+8J0Y3 50nMD/MIAmeCSuOyxVRzeQ==; Received: from [87.69.77.57] (port=2930 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLnxX-0006zc-Fk; Wed, 10 Aug 2022 11:49:27 -0400 Date: Wed, 10 Aug 2022 18:49:19 +0300 Message-Id: <83mtccqetc.fsf@gnu.org> From: Eli Zaretskii To: andrei.elkin@pp.inet.fi In-Reply-To: <878rnwi60h.fsf@quad> (bug-gnu-emacs@gnu.org) Subject: Re: bug#44502: References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Wed, 10 Aug 2022 16:26:38 +0300 > From: andrei.elkin--- via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Hello dear Colleagues! > > For couple of times I hit a stack whose top part perfectly fits to the > reported in this bug. > Mine: > gdb) bt > #0 0x00007ffff256c817 in raise (sig=) at raise.c:51 > #1 0x0000555555732728 in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:437 > #2 0x00005555557e5e2e in die (msg=0x55555593c747 "EQ (window, selected_window)", file=0x55555593c4dc "window.c", line=557) at alloc.c:7486 > #3 0x000055555564f2cb in select_window (window=..., norecord=..., inhibit_point_swap=false) at window.c:557 > #4 0x000055555564f45b in Fselect_window (window=..., norecord=...) at window.c:634 > #5 0x00005555555f0389 in gui_consider_frame_title (frame=...) at xdisp.c:12801 > #6 0x00005555555f09be in prepare_menu_bars () at xdisp.c:12914 Please do: (gdb) frame 3 (gdb) print window (gdb) xwindow (gdb) print XWINDOW(window)->contents (gdb) xbuffer (gdb) print selected_window (gdb) xwindow (gdb) print XWINDOW(selected_window)->contents (gdb) xbuffer and post here everything GDB prints as result. If GDB says it doesn't know about commands xwindow and xbuffer, you need to do this: (gdb) source /path/to/emacs/src/.gdbinit > My emacs version: > > $ git log -1 --oneline > 7ffcba4213 On which branch of the Git repository? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 14:25:13 2022 Received: (at 44502) by debbugs.gnu.org; 11 Aug 2022 18:25:13 +0000 Received: from localhost ([127.0.0.1]:54983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMCrl-00064o-0h for submit@debbugs.gnu.org; Thu, 11 Aug 2022 14:25:13 -0400 Received: from mta-out1.inet.fi ([62.71.2.226]:34178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMCre-000648-8Q for 44502@debbugs.gnu.org; Thu, 11 Aug 2022 14:25:07 -0400 Received: from johanna3.inet.fi (unknown [10.16.62.35]) by em201-smtpout81.rokki.sonera.fi (Postfix) with ESMTP id 992AD8074AA; Thu, 11 Aug 2022 21:24:55 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inet.fi; s=smtpgw-3485-2022-03-15; t=1660242296; bh=lENVR1zbm79wj1wuSXvWo3g/RepBFFT3iUNXT3zKOjI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=PcLbhGG9xibwUVSN0x/NmBZJxBDcV/nelw/wKbQZm4wdQPiDvLJKAZvL95Bwm9q+x ImN9at8CFtiPEfuEd1hYxTiH8moQRA8HTW6WgGkjsjbniv6AaF45BCx1gfaiE/78yl ySFAqlMFzabuLVfoaiCfkCNmRmue+oOwWJsMlRFQ= Received: from quad (193.210.224.227) by johanna3.inet.fi (9.0.019.26-1) id 628F4A380A18A2D5; Thu, 11 Aug 2022 21:24:55 +0300 From: andrei.elkin@pp.inet.fi To: Eli Zaretskii Subject: Re: bug#44502: Organization: Home sweet home References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> <83mtccqetc.fsf@gnu.org> Date: Thu, 11 Aug 2022 21:19:06 +0300 In-Reply-To: <83mtccqetc.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 Aug 2022 18:49:19 +0300") Message-ID: <87leruhcdh.fsf@quad> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Howdy Eli! >> Date: Wed, 10 Aug 2022 16:26:38 +0300 >> From: andrei.elkin--- via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> Hello dear Colleagues! >> >> For couple of times I hit a stack whose top part perfectly fits to the >> reported in this bug. >> Mine: >> gdb) bt >> #0 0x00007ffff256c817 in raise (sig=) at raise.c:51 >> #1 0x0000555555732728 in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:437 >> #2 0x00005555557e5e2e in die (msg=0x55555593c747 "EQ (window, >> selected_window)", file=0x55555593c4dc "window.c", line=557) at >> alloc.c:7486 >> #3 0x000055555564f2cb in select_window (window=..., norecord=..., >> inhibit_point_swap=false) at window.c:557 >> #4 0x000055555564f45b in Fselect_window (window=..., norecord=...) at window.c:634 >> #5 0x00005555555f0389 in gui_consider_frame_title (frame=...) at xdisp.c:12801 >> #6 0x00005555555f09be in prepare_menu_bars () at xdisp.c:12914 > > Please do: > > (gdb) frame 3 > (gdb) print window > (gdb) xwindow > (gdb) print XWINDOW(window)->contents > (gdb) xbuffer > (gdb) print selected_window > (gdb) xwindow > (gdb) print XWINDOW(selected_window)->contents > (gdb) xbuffer > > and post here everything GDB prints as result. (gdb) f 3 #3 0x000055555564f2cb in select_window (window=XIL(0x55555b038855), norecord=XIL(0x30), inhibit_point_swap=false) at window.c:557 557 eassert (EQ (window, selected_window)); (gdb) p window $4 = XIL(0x55555b038855) (gdb) xwindow $5 = (struct window *) 0x55555b038850 124x1+0+80 (gdb) print XWINDOW(window)->contents $6 = XIL(0x7fffea1bd07d) (gdb) xbuffer $7 = (struct buffer *) 0x7fffea1bd078 0x7fffea4aedc1 " *Minibuf-0*" (gdb) print selected_window $8 = XIL(0x55555b038645) (gdb) xwindow $9 = (struct window *) 0x55555b038640 124x80+0+0 (gdb) print XWINDOW(selected_window)->contents $10 = XIL(0x5555577f9475) (gdb) xbuffer $11 = (struct buffer *) 0x5555577f9470 0x555559788ff0 "magit: A<10.6>" > > If GDB says it doesn't know about commands xwindow and xbuffer, you > need to do this: > > (gdb) source /path/to/emacs/src/.gdbinit > >> My emacs version: >> >> $ git log -1 --oneline >> 7ffcba4213 > > On which branch of the Git repository? emacs-28 > > Thanks. I promise to be more diligent with replies tomorrow (has been a busy today, sorry). Cheers, Andrei From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 14:42:07 2022 Received: (at 44502) by debbugs.gnu.org; 11 Aug 2022 18:42:07 +0000 Received: from localhost ([127.0.0.1]:55007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMD8B-0006VG-0w for submit@debbugs.gnu.org; Thu, 11 Aug 2022 14:42:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMD88-0006Ui-AV for 44502@debbugs.gnu.org; Thu, 11 Aug 2022 14:42:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMD82-0005RU-38; Thu, 11 Aug 2022 14:41:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kMyBxmFP+yfjI8qA0O76OshLUIf5jh3ZFFX+4hA4As0=; b=Y8/zdLFLXDNc OQ4M1sEChmyNLRwCsLinn4OVPsvCTF/cFkIxgh2Z8iLakGLDwquX7zTwvMqGG0mDA5U/iB5BMPEAx YKVOgJxUY2qkNWybA3toU7Zf9Uy9/E4uGS1Wtgp/mn2flcvh+wfpqR70hcXCcKtdrZcRzGPy5yeL7 I9uyBWsfDc6j+bSDazzeqqY8wxwAqATxAWKTud9JIQ4KFD2vyi9w/54ADsD8wiHb7lSyyOEcLgPiX 8MUjd3Tw5panc+KuC5J5pm6nMuaU8m8dlLPH3+3twUdYxPPXa9w9wPj+5kTT0g5mpX/nrZczyNA7v X1cT9cnmVvm51ADaNUHeYw==; Received: from [87.69.77.57] (port=3423 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMD81-0003xo-Id; Thu, 11 Aug 2022 14:41:57 -0400 Date: Thu, 11 Aug 2022 21:41:51 +0300 Message-Id: <83y1vuoc5s.fsf@gnu.org> From: Eli Zaretskii To: andrei.elkin@pp.inet.fi In-Reply-To: <87leruhcdh.fsf@quad> (andrei.elkin@pp.inet.fi) Subject: Re: bug#44502: References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> <83mtccqetc.fsf@gnu.org> <87leruhcdh.fsf@quad> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: andrei.elkin@pp.inet.fi > Cc: 44502@debbugs.gnu.org > Date: Thu, 11 Aug 2022 21:19:06 +0300 > > (gdb) p window > $4 = XIL(0x55555b038855) > (gdb) xwindow > $5 = (struct window *) 0x55555b038850 > 124x1+0+80 > (gdb) print XWINDOW(window)->contents > $6 = XIL(0x7fffea1bd07d) > (gdb) xbuffer > $7 = (struct buffer *) 0x7fffea1bd078 > 0x7fffea4aedc1 " *Minibuf-0*" > (gdb) print selected_window > $8 = XIL(0x55555b038645) > (gdb) xwindow > $9 = (struct window *) 0x55555b038640 > 124x80+0+0 > (gdb) print XWINDOW(selected_window)->contents > $10 = XIL(0x5555577f9475) > (gdb) xbuffer > $11 = (struct buffer *) 0x5555577f9470 > 0x555559788ff0 "magit: A<10.6>" Do you remember what were you doing when this assertion violation happened? Also, are you using a separate minibuffer frame? From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 15:16:13 2022 Received: (at 44502) by debbugs.gnu.org; 11 Aug 2022 19:16:13 +0000 Received: from localhost ([127.0.0.1]:55039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMDfA-0007YR-Mz for submit@debbugs.gnu.org; Thu, 11 Aug 2022 15:16:13 -0400 Received: from mta-out1.inet.fi ([62.71.2.194]:38840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMDf4-0007Xc-Uo for 44502@debbugs.gnu.org; Thu, 11 Aug 2022 15:16:10 -0400 Received: from johanna3.inet.fi (unknown [10.16.62.35]) by em201-smtpout81.rokki.sonera.fi (Postfix) with ESMTP id 98B0980793D; Thu, 11 Aug 2022 22:16:00 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inet.fi; s=smtpgw-3485-2022-03-15; t=1660245360; bh=5QhMyDrfQoc7sy/y45NDxtG8pnQ3oy0M14Gsk3lbEG8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=qa2tOuNXeE7D0s92d+OZYTaRyF6pzJcWlKFaaBTtIjRFHNU4XM76mhajo+Ya1SXs5 AyYauuO3xzibepWE8rGsO8Ypw4uNi8rIVqO7Ig3MsxSNOzA1//l4OqnXVYhLOMSxvJ PJw6p9Ay24h+V3DRuFLp1KZl7O/0opBaM49Cayz0= Received: from quad (193.210.224.227) by johanna3.inet.fi (9.0.019.26-1) id 628F4A380A18F81E; Thu, 11 Aug 2022 22:16:00 +0300 From: andrei.elkin@pp.inet.fi To: Eli Zaretskii Subject: Re: bug#44502: Organization: Home sweet home References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> <83mtccqetc.fsf@gnu.org> <87leruhcdh.fsf@quad> <83y1vuoc5s.fsf@gnu.org> Date: Thu, 11 Aug 2022 22:10:12 +0300 In-Reply-To: <83y1vuoc5s.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Aug 2022 21:41:51 +0300") Message-ID: <87edxmha0b.fsf@quad> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: >> From: andrei.elkin@pp.inet.fi >> Cc: 44502@debbugs.gnu.org >> Date: Thu, 11 Aug 2022 21:19:06 +0300 >> >> (gdb) p window >> $4 = XIL(0x55555b038855) >> (gdb) xwindow >> $5 = (struct window *) 0x55555b038850 >> 124x1+0+80 >> (gdb) print XWINDOW(window)->contents >> $6 = XIL(0x7fffea1bd07d) >> (gdb) xbuffer >> $7 = (struct buffer *) 0x7fffea1bd078 >> 0x7fffea4aedc1 " *Minibuf-0*" >> (gdb) print selected_window >> $8 = XIL(0x55555b038645) >> (gdb) xwindow >> $9 = (struct window *) 0x55555b038640 >> 124x80+0+0 >> (gdb) print XWINDOW(selected_window)->contents >> $10 = XIL(0x5555577f9475) >> (gdb) xbuffer >> $11 = (struct buffer *) 0x5555577f9470 >> 0x555559788ff0 "magit: A<10.6>" > > Do you remember what were you doing when this assertion violation > happened? Something like C-u M-x shell > > > Also, are you using a separate minibuffer frame? No From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 02:27:35 2022 Received: (at 44502) by debbugs.gnu.org; 12 Aug 2022 06:27:35 +0000 Received: from localhost ([127.0.0.1]:55480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMO8t-00088v-AJ for submit@debbugs.gnu.org; Fri, 12 Aug 2022 02:27:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMO8r-00088f-Pe for 44502@debbugs.gnu.org; Fri, 12 Aug 2022 02:27:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMO8l-0003Xj-CB; Fri, 12 Aug 2022 02:27:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5TRkg8VerKt0lPpdxoKG5sICswVPbQd8TsXXf6VxAfk=; b=pKsoa0z0jiCd T4i1rphQ7vQ7h0hdQk4MCbelYlXh4pGL9vzRvr2CH62Uwl51SIxuY/beyLsGO57b2TTiFpAkZ5kma 5nw60D/oLNYlck/S65f8F/JxzWoRzQ2oThqPh6F4E5w63gGmhpjzMkVYbC1q+y+w7sE8d9z4Kdall QuQUYWwpTc9spSigqGfF1lLzfUJJ4EqX6dEyqfEdcWKKM+sy9AVkL8UlElMr+dhDDwE6tu51rqlrE xaLkTQJKKn5WbgkXUcd/yP9rJOi36HE1STLOv4Ovg3eMBvj1riw+ybYWP5UtvVcXFKSUAzJAZhzx6 tlTjg+tYWRGfylLshaC7oA==; Received: from [87.69.77.57] (port=2569 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMO8j-0001AU-OW; Fri, 12 Aug 2022 02:27:27 -0400 Date: Fri, 12 Aug 2022 09:27:21 +0300 Message-Id: <83mtcanfhy.fsf@gnu.org> From: Eli Zaretskii To: andrei.elkin@pp.inet.fi, Alan Mackenzie In-Reply-To: <87edxmha0b.fsf@quad> (andrei.elkin@pp.inet.fi) Subject: Re: bug#44502: References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> <83mtccqetc.fsf@gnu.org> <87leruhcdh.fsf@quad> <83y1vuoc5s.fsf@gnu.org> <87edxmha0b.fsf@quad> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: andrei.elkin@pp.inet.fi > Cc: 44502@debbugs.gnu.org > Date: Thu, 11 Aug 2022 22:10:12 +0300 > > Eli Zaretskii writes: > > >> From: andrei.elkin@pp.inet.fi > >> Cc: 44502@debbugs.gnu.org > >> Date: Thu, 11 Aug 2022 21:19:06 +0300 > >> > >> (gdb) p window > >> $4 = XIL(0x55555b038855) > >> (gdb) xwindow > >> $5 = (struct window *) 0x55555b038850 > >> 124x1+0+80 > >> (gdb) print XWINDOW(window)->contents > >> $6 = XIL(0x7fffea1bd07d) > >> (gdb) xbuffer > >> $7 = (struct buffer *) 0x7fffea1bd078 > >> 0x7fffea4aedc1 " *Minibuf-0*" > >> (gdb) print selected_window > >> $8 = XIL(0x55555b038645) > >> (gdb) xwindow > >> $9 = (struct window *) 0x55555b038640 > >> 124x80+0+0 > >> (gdb) print XWINDOW(selected_window)->contents > >> $10 = XIL(0x5555577f9475) > >> (gdb) xbuffer > >> $11 = (struct buffer *) 0x5555577f9470 > >> 0x555559788ff0 "magit: A<10.6>" > > > > Do you remember what were you doing when this assertion violation > > happened? > > Something like > > C-u M-x shell > > > > > > > Also, are you using a separate minibuffer frame? > > No Then I tend to think that the assertion there is simply wrong. Adding Alan to CC, since this seems to be related to the minibuffer-follows-selected-frame feature. Alan, this happens in Emacs 28, so trying to fix it on the release branch in a safe way is important. TIA. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 04:34:26 2022 Received: (at 44502) by debbugs.gnu.org; 12 Aug 2022 08:34:26 +0000 Received: from localhost ([127.0.0.1]:55581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMQ7e-00039g-5H for submit@debbugs.gnu.org; Fri, 12 Aug 2022 04:34:26 -0400 Received: from colin.muc.de ([193.149.48.1]:28409 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1oMQ7c-00039T-Nd for 44502@debbugs.gnu.org; Fri, 12 Aug 2022 04:34:25 -0400 Received: (qmail 52547 invoked by uid 3782); 12 Aug 2022 08:34:18 -0000 Received: from acm.muc.de (p4fe158c8.dip0.t-ipconnect.de [79.225.88.200]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 12 Aug 2022 10:34:17 +0200 Received: (qmail 4762 invoked by uid 1000); 12 Aug 2022 08:34:17 -0000 Date: Fri, 12 Aug 2022 08:34:17 +0000 To: Eli Zaretskii Subject: Re: bug#44502: Message-ID: References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> <83mtccqetc.fsf@gnu.org> <87leruhcdh.fsf@quad> <83y1vuoc5s.fsf@gnu.org> <87edxmha0b.fsf@quad> <83mtcanfhy.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83mtcanfhy.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org, andrei.elkin@pp.inet.fi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Eli. On Fri, Aug 12, 2022 at 09:27:21 +0300, Eli Zaretskii wrote: > > From: andrei.elkin@pp.inet.fi > > Cc: 44502@debbugs.gnu.org > > Date: Thu, 11 Aug 2022 22:10:12 +0300 > > Eli Zaretskii writes: > > >> From: andrei.elkin@pp.inet.fi > > >> Cc: 44502@debbugs.gnu.org > > >> Date: Thu, 11 Aug 2022 21:19:06 +0300 > > >> (gdb) p window > > >> $4 = XIL(0x55555b038855) > > >> (gdb) xwindow > > >> $5 = (struct window *) 0x55555b038850 > > >> 124x1+0+80 > > >> (gdb) print XWINDOW(window)->contents > > >> $6 = XIL(0x7fffea1bd07d) > > >> (gdb) xbuffer > > >> $7 = (struct buffer *) 0x7fffea1bd078 > > >> 0x7fffea4aedc1 " *Minibuf-0*" > > >> (gdb) print selected_window > > >> $8 = XIL(0x55555b038645) > > >> (gdb) xwindow > > >> $9 = (struct window *) 0x55555b038640 > > >> 124x80+0+0 > > >> (gdb) print XWINDOW(selected_window)->contents > > >> $10 = XIL(0x5555577f9475) > > >> (gdb) xbuffer > > >> $11 = (struct buffer *) 0x5555577f9470 > > >> 0x555559788ff0 "magit: A<10.6>" > > > Do you remember what were you doing when this assertion violation > > > happened? > > Something like > > C-u M-x shell > > > Also, are you using a separate minibuffer frame? > > No > Then I tend to think that the assertion there is simply wrong. > Adding Alan to CC, since this seems to be related to the > minibuffer-follows-selected-frame feature. Alan, this happens in > Emacs 28, so trying to fix it on the release branch in a safe way is > important. TIA. OK, I'll have a look at it over the weekend. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 06:30:24 2022 Received: (at 44502) by debbugs.gnu.org; 12 Aug 2022 10:30:24 +0000 Received: from localhost ([127.0.0.1]:55711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMRvr-0006Ji-Vp for submit@debbugs.gnu.org; Fri, 12 Aug 2022 06:30:24 -0400 Received: from mta-out1.inet.fi ([62.71.2.202]:58784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMRvq-0006JI-0p for 44502@debbugs.gnu.org; Fri, 12 Aug 2022 06:30:22 -0400 Received: from johanna3.inet.fi (unknown [10.16.62.35]) by em201-smtpout82.rokki.sonera.fi (Postfix) with ESMTP id C900812B57; Fri, 12 Aug 2022 13:30:15 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inet.fi; s=smtpgw-3485-2022-03-15; t=1660300216; bh=UasebUDiYTLGGgAfVyxjO+B9jh6KRCUiYXX7F+x+/qQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=apwFpzHO7dFLQG8ixA54GVDQyy7RG+HPBbrVrQCiUZ6H+xWu2MqcJofn4rqqilwGL bzNkG08rAjDfIDgRDNndUCfwRW60B2JV7FBj1lw5Vsa6oDOxc87M2BscG7ag1RTlC6 1FBfwuPxb59X8vHbzUV6UemVJU3mOHGFL48R9/ME= Received: from quad (193.210.229.97) by johanna3.inet.fi (9.0.019.26-1) id 628F4A380A291A8D; Fri, 12 Aug 2022 13:30:15 +0300 From: andrei.elkin@pp.inet.fi To: Eli Zaretskii Subject: Re: bug#44502: Organization: Home sweet home References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> <83mtccqetc.fsf@gnu.org> <87leruhcdh.fsf@quad> <83y1vuoc5s.fsf@gnu.org> <87edxmha0b.fsf@quad> <83mtcanfhy.fsf@gnu.org> Date: Fri, 12 Aug 2022 13:24:27 +0300 In-Reply-To: <83mtcanfhy.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Aug 2022 09:27:21 +0300") Message-ID: <87y1vtg3ok.fsf@quad> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org, Alan Mackenzie X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Salve Eli! >> From: andrei.elkin@pp.inet.fi >> Cc: 44502@debbugs.gnu.org >> Date: Thu, 11 Aug 2022 22:10:12 +0300 >> >> Eli Zaretskii writes: >> >> >> From: andrei.elkin@pp.inet.fi >> >> Cc: 44502@debbugs.gnu.org >> >> Date: Thu, 11 Aug 2022 21:19:06 +0300 >> >> >> >> (gdb) p window >> >> $4 = XIL(0x55555b038855) >> >> (gdb) xwindow >> >> $5 = (struct window *) 0x55555b038850 >> >> 124x1+0+80 >> >> (gdb) print XWINDOW(window)->contents >> >> $6 = XIL(0x7fffea1bd07d) >> >> (gdb) xbuffer >> >> $7 = (struct buffer *) 0x7fffea1bd078 >> >> 0x7fffea4aedc1 " *Minibuf-0*" >> >> (gdb) print selected_window >> >> $8 = XIL(0x55555b038645) >> >> (gdb) xwindow >> >> $9 = (struct window *) 0x55555b038640 >> >> 124x80+0+0 >> >> (gdb) print XWINDOW(selected_window)->contents >> >> $10 = XIL(0x5555577f9475) >> >> (gdb) xbuffer >> >> $11 = (struct buffer *) 0x5555577f9470 >> >> 0x555559788ff0 "magit: A<10.6>" >> > >> > Do you remember what were you doing when this assertion violation >> > happened? >> >> Something like >> >> C-u M-x shell >> >> > >> > >> > Also, are you using a separate minibuffer frame? There are still *two* asserted emacs' frames around with "Minibuffer-1" (not 0!) around. >> >> No > > Then I tend to think that the assertion there is simply wrong. > > Adding Alan to CC, since this seems to be related to the I am holing on the gdb session for your colleague just in case. > minibuffer-follows-selected-frame feature. Alan, this happens in > Emacs 28, so trying to fix it on the release branch in a safe way is > important. TIA. Thanks over for so far! If the assert comes back to me, I'd just comment it out :-). Have a good day! Andrei From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 10:30:18 2022 Received: (at 44502) by debbugs.gnu.org; 14 Aug 2022 14:30:18 +0000 Received: from localhost ([127.0.0.1]:39503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNEd8-0006hc-6y for submit@debbugs.gnu.org; Sun, 14 Aug 2022 10:30:18 -0400 Received: from colin.muc.de ([193.149.48.1]:57458 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1oNEd2-0006gf-DJ for 44502@debbugs.gnu.org; Sun, 14 Aug 2022 10:30:16 -0400 Received: (qmail 56032 invoked by uid 3782); 14 Aug 2022 14:30:05 -0000 Received: from acm.muc.de (p4fe15ca3.dip0.t-ipconnect.de [79.225.92.163]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 14 Aug 2022 16:30:05 +0200 Received: (qmail 20852 invoked by uid 1000); 14 Aug 2022 14:30:04 -0000 Date: Sun, 14 Aug 2022 14:30:04 +0000 To: andrei.elkin@pp.inet.fi Subject: Re: bug#44502: Message-ID: References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> <83mtccqetc.fsf@gnu.org> <87leruhcdh.fsf@quad> <83y1vuoc5s.fsf@gnu.org> <87edxmha0b.fsf@quad> <83mtcanfhy.fsf@gnu.org> <87y1vtg3ok.fsf@quad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87y1vtg3ok.fsf@quad> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org, acm@muc.de, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Andrei. On Fri, Aug 12, 2022 at 13:24:27 +0300, andrei.elkin@pp.inet.fi wrote: > Salve Eli! > >> From: andrei.elkin@pp.inet.fi > >> Cc: 44502@debbugs.gnu.org > >> Date: Thu, 11 Aug 2022 22:10:12 +0300 > >> Eli Zaretskii writes: > >> >> From: andrei.elkin@pp.inet.fi > >> >> Cc: 44502@debbugs.gnu.org > >> >> Date: Thu, 11 Aug 2022 21:19:06 +0300 > >> >> (gdb) p window > >> >> $4 = XIL(0x55555b038855) > >> >> (gdb) xwindow > >> >> $5 = (struct window *) 0x55555b038850 > >> >> 124x1+0+80 > >> >> (gdb) print XWINDOW(window)->contents > >> >> $6 = XIL(0x7fffea1bd07d) > >> >> (gdb) xbuffer > >> >> $7 = (struct buffer *) 0x7fffea1bd078 > >> >> 0x7fffea4aedc1 " *Minibuf-0*" > >> >> (gdb) print selected_window > >> >> $8 = XIL(0x55555b038645) > >> >> (gdb) xwindow > >> >> $9 = (struct window *) 0x55555b038640 > >> >> 124x80+0+0 > >> >> (gdb) print XWINDOW(selected_window)->contents > >> >> $10 = XIL(0x5555577f9475) > >> >> (gdb) xbuffer > >> >> $11 = (struct buffer *) 0x5555577f9470 > >> >> 0x555559788ff0 "magit: A<10.6>" > >> > Do you remember what were you doing when this assertion violation > >> > happened? > >> Something like > >> C-u M-x shell I've tried quite a bit to reproduce the error, but haven't managed. > >> > Also, are you using a separate minibuffer frame? > There are still *two* asserted emacs' frames around with "Minibuffer-1" > (not 0!) around. I think I understand what has caused the breakage of this assertion, and as Eli suggested, it is something fairly harmless. > >> No > > Then I tend to think that the assertion there is simply wrong. > > Adding Alan to CC, since this seems to be related to the > I am holing on the gdb session for your colleague just in case. Thanks! I'm sorry it's taken me so long to get back to you, it's been a chaotic weekend. > > minibuffer-follows-selected-frame feature. Alan, this happens in > > Emacs 28, so trying to fix it on the release branch in a safe way is > > important. TIA. > Thanks over for so far! If the assert comes back to me, I'd just comment it > out :-). I think the following fix to the assert should indeed be a "safe" fix, suitable for Emacs-28. Could you possibly apply it, please, and try to recreate the error. If you don't manage to recreate the error, the bug is probably "fixed". diff --git a/src/window.c b/src/window.c index 2576b66a18..35ec2a1f90 100644 --- a/src/window.c +++ b/src/window.c @@ -554,7 +554,9 @@ select_window (Lisp_Object window, Lisp_Object norecord, frame is active. */ Fselect_frame (frame, norecord); /* Fselect_frame called us back so we've done all the work already. */ - eassert (EQ (window, selected_window)); + eassert (EQ (window, selected_window) + || (EQ (window, f->minibuffer_window) + && NILP (Fminibufferp (XWINDOW (window)->contents, Qt)))); return window; } else > Have a good day! And yourself, too! > Andrei -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 19 06:46:27 2022 Received: (at 44502) by debbugs.gnu.org; 19 Aug 2022 10:46:27 +0000 Received: from localhost ([127.0.0.1]:57433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOzWE-0008Ua-Ou for submit@debbugs.gnu.org; Fri, 19 Aug 2022 06:46:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOzWB-0008UM-9M for 44502@debbugs.gnu.org; Fri, 19 Aug 2022 06:46:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOzW4-0007O1-Dj; Fri, 19 Aug 2022 06:46:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=56A24VMk/+rIHfifMNs1SKjjZxuEWlW283XvVHw0rHQ=; b=olOb0mnxKzNR ny4rf2dPrtdA166Jq/bB1OWUqE3Hmh4V4zWS63s8b6pTTEW5TnVfgrmUwpnsdR+gTCsNufa6sFWac k5BLYzmrlU86kxBUCNgwg4txWtQkhVyoDc9a/yOaK9bkYmhK9mhsvidGKpnnBvFXOqxRMSH1aUj1p 10jEGdFK2Hz0Lzf6zH+6TzLgubcojOU9td4Bmtd0XnpM92Y2RvTb2QtBHYZrm4+0Q/0EEzSP2PGmI UUESzDhQdis5cpwW4qwgkb0AS6Rbd9gtKJa371UCAPmSFMHGuZ7S/irsfIwnU7O3GSRDetBqLLOef VzRw3bO5+uHU/KxbQ0REkw==; Received: from [87.69.77.57] (port=2919 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOzVr-0000Yf-7d; Fri, 19 Aug 2022 06:46:16 -0400 Date: Fri, 19 Aug 2022 13:45:57 +0300 Message-Id: <83zgg0ecka.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-Reply-To: (message from Alan Mackenzie on Sun, 14 Aug 2022 14:30:04 +0000) Subject: Re: bug#44502: References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> <83mtccqetc.fsf@gnu.org> <87leruhcdh.fsf@quad> <83y1vuoc5s.fsf@gnu.org> <87edxmha0b.fsf@quad> <83mtcanfhy.fsf@gnu.org> <87y1vtg3ok.fsf@quad> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org, acm@muc.de, andrei.elkin@pp.inet.fi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ping! Any progress with this bug? > Date: Sun, 14 Aug 2022 14:30:04 +0000 > Cc: Eli Zaretskii , 44502@debbugs.gnu.org, acm@muc.de > From: Alan Mackenzie > > Hello, Andrei. > > On Fri, Aug 12, 2022 at 13:24:27 +0300, andrei.elkin@pp.inet.fi wrote: > > Salve Eli! > > > >> From: andrei.elkin@pp.inet.fi > > >> Cc: 44502@debbugs.gnu.org > > >> Date: Thu, 11 Aug 2022 22:10:12 +0300 > > > >> Eli Zaretskii writes: > > > >> >> From: andrei.elkin@pp.inet.fi > > >> >> Cc: 44502@debbugs.gnu.org > > >> >> Date: Thu, 11 Aug 2022 21:19:06 +0300 > > > >> >> (gdb) p window > > >> >> $4 = XIL(0x55555b038855) > > >> >> (gdb) xwindow > > >> >> $5 = (struct window *) 0x55555b038850 > > >> >> 124x1+0+80 > > >> >> (gdb) print XWINDOW(window)->contents > > >> >> $6 = XIL(0x7fffea1bd07d) > > >> >> (gdb) xbuffer > > >> >> $7 = (struct buffer *) 0x7fffea1bd078 > > >> >> 0x7fffea4aedc1 " *Minibuf-0*" > > >> >> (gdb) print selected_window > > >> >> $8 = XIL(0x55555b038645) > > >> >> (gdb) xwindow > > >> >> $9 = (struct window *) 0x55555b038640 > > >> >> 124x80+0+0 > > >> >> (gdb) print XWINDOW(selected_window)->contents > > >> >> $10 = XIL(0x5555577f9475) > > >> >> (gdb) xbuffer > > >> >> $11 = (struct buffer *) 0x5555577f9470 > > >> >> 0x555559788ff0 "magit: A<10.6>" > > > >> > Do you remember what were you doing when this assertion violation > > >> > happened? > > > >> Something like > > > >> C-u M-x shell > > I've tried quite a bit to reproduce the error, but haven't managed. > > > >> > Also, are you using a separate minibuffer frame? > > > There are still *two* asserted emacs' frames around with "Minibuffer-1" > > (not 0!) around. > > I think I understand what has caused the breakage of this assertion, and > as Eli suggested, it is something fairly harmless. > > > >> No > > > > Then I tend to think that the assertion there is simply wrong. > > > > Adding Alan to CC, since this seems to be related to the > > > I am holing on the gdb session for your colleague just in case. > > Thanks! I'm sorry it's taken me so long to get back to you, it's been a > chaotic weekend. > > > > minibuffer-follows-selected-frame feature. Alan, this happens in > > > Emacs 28, so trying to fix it on the release branch in a safe way is > > > important. TIA. > > > Thanks over for so far! If the assert comes back to me, I'd just comment it > > out :-). > > I think the following fix to the assert should indeed be a "safe" fix, > suitable for Emacs-28. Could you possibly apply it, please, and try to > recreate the error. If you don't manage to recreate the error, the bug > is probably "fixed". > > > > diff --git a/src/window.c b/src/window.c > index 2576b66a18..35ec2a1f90 100644 > --- a/src/window.c > +++ b/src/window.c > @@ -554,7 +554,9 @@ select_window (Lisp_Object window, Lisp_Object norecord, > frame is active. */ > Fselect_frame (frame, norecord); > /* Fselect_frame called us back so we've done all the work already. */ > - eassert (EQ (window, selected_window)); > + eassert (EQ (window, selected_window) > + || (EQ (window, f->minibuffer_window) > + && NILP (Fminibufferp (XWINDOW (window)->contents, Qt)))); > return window; > } > else > > > > Have a good day! > > And yourself, too! > > > Andrei > > -- > Alan Mackenzie (Nuremberg, Germany). > From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 19 09:05:39 2022 Received: (at 44502) by debbugs.gnu.org; 19 Aug 2022 13:05:39 +0000 Received: from localhost ([127.0.0.1]:57562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP1gw-0001dj-Tf for submit@debbugs.gnu.org; Fri, 19 Aug 2022 09:05:39 -0400 Received: from colin.muc.de ([193.149.48.1]:48017 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1oP1gq-0001dQ-TL for 44502@debbugs.gnu.org; Fri, 19 Aug 2022 09:05:36 -0400 Received: (qmail 7866 invoked by uid 3782); 19 Aug 2022 13:05:26 -0000 Received: from acm.muc.de (p4fe158a9.dip0.t-ipconnect.de [79.225.88.169]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 19 Aug 2022 15:05:25 +0200 Received: (qmail 6863 invoked by uid 1000); 19 Aug 2022 13:05:24 -0000 Date: Fri, 19 Aug 2022 13:05:24 +0000 To: Eli Zaretskii Subject: Re: bug#44502: Message-ID: References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> <83mtccqetc.fsf@gnu.org> <87leruhcdh.fsf@quad> <83y1vuoc5s.fsf@gnu.org> <87edxmha0b.fsf@quad> <83mtcanfhy.fsf@gnu.org> <87y1vtg3ok.fsf@quad> <83zgg0ecka.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83zgg0ecka.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org, andrei.elkin@pp.inet.fi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Eli. On Fri, Aug 19, 2022 at 13:45:57 +0300, Eli Zaretskii wrote: > Ping! Any progress with this bug? I haven't been able to reproduce the bug, but understand fairly well what must have caused it. I also haven't heard back from the OP since sending him a proposed patch last Sunday. Since the patch is fairly simple and obvious, also non-dangerous, how about just installing it on the release branch? > > I think the following fix to the assert should indeed be a "safe" fix, > > suitable for Emacs-28. Could you possibly apply it, please, and try to > > recreate the error. If you don't manage to recreate the error, the bug > > is probably "fixed". > > diff --git a/src/window.c b/src/window.c > > index 2576b66a18..35ec2a1f90 100644 > > --- a/src/window.c > > +++ b/src/window.c > > @@ -554,7 +554,9 @@ select_window (Lisp_Object window, Lisp_Object norecord, > > frame is active. */ > > Fselect_frame (frame, norecord); > > /* Fselect_frame called us back so we've done all the work already. */ > > - eassert (EQ (window, selected_window)); > > + eassert (EQ (window, selected_window) > > + || (EQ (window, f->minibuffer_window) > > + && NILP (Fminibufferp (XWINDOW (window)->contents, Qt)))); > > return window; > > } > > else -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 19 09:21:15 2022 Received: (at 44502) by debbugs.gnu.org; 19 Aug 2022 13:21:15 +0000 Received: from localhost ([127.0.0.1]:57574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP1w2-00020k-UQ for submit@debbugs.gnu.org; Fri, 19 Aug 2022 09:21:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP1w0-00020W-5B for 44502@debbugs.gnu.org; Fri, 19 Aug 2022 09:21:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP1vt-00010c-43; Fri, 19 Aug 2022 09:21:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=NDW14kqDL8vsI4UbDOj3sJhQeGlRBqL0KEPHpFa5JyA=; b=P98tfjl/2B9a gmjuVH/qDM+mMLKgYYA79nwDYKZpUFVT4/XVTIKCAW4g1xkJBlzVo4t64mNPqgTshgw97IOpvtKwI bp5WVkPh2NWmKS2qvcmuuN+j5HnHCVcdm+TwUinOE6CRyH1T8plQ2cssEEGPfM9lzfLbqB1OGyaV/ KlMoW0odBedhNjZSCAQGoO9zF03sb6k6LCu8XrJ02HP73k/4SWzHOamqhK/wajvxPAW9iXHeAaJ5f I7FeralbB8MVl6P/i4gWsuG9pYNvxgH+N2uH7N98jYpjMI50Dpp7gGkGm5Ez4XcesXzTcQFT3NOmO +jbSWQr6+XQwqcpMt9R8Fg==; Received: from [87.69.77.57] (port=1294 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP1vs-0000Qw-JZ; Fri, 19 Aug 2022 09:21:04 -0400 Date: Fri, 19 Aug 2022 16:20:58 +0300 Message-Id: <83sflse5dx.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-Reply-To: (message from Alan Mackenzie on Fri, 19 Aug 2022 13:05:24 +0000) Subject: Re: bug#44502: References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> <83mtccqetc.fsf@gnu.org> <87leruhcdh.fsf@quad> <83y1vuoc5s.fsf@gnu.org> <87edxmha0b.fsf@quad> <83mtcanfhy.fsf@gnu.org> <87y1vtg3ok.fsf@quad> <83zgg0ecka.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org, andrei.elkin@pp.inet.fi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Fri, 19 Aug 2022 13:05:24 +0000 > Cc: andrei.elkin@pp.inet.fi, 44502@debbugs.gnu.org > From: Alan Mackenzie > > I haven't been able to reproduce the bug, but understand fairly well what > must have caused it. > > I also haven't heard back from the OP since sending him a proposed patch > last Sunday. > > Since the patch is fairly simple and obvious, also non-dangerous, how > about just installing it on the release branch? Please go ahead and install. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 19 11:13:03 2022 Received: (at 44502-done) by debbugs.gnu.org; 19 Aug 2022 15:13:03 +0000 Received: from localhost ([127.0.0.1]:59096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP3gE-00014o-NV for submit@debbugs.gnu.org; Fri, 19 Aug 2022 11:13:02 -0400 Received: from colin.muc.de ([193.149.48.1]:19669 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1oP3gC-00014K-4y for 44502-done@debbugs.gnu.org; Fri, 19 Aug 2022 11:13:01 -0400 Received: (qmail 91831 invoked by uid 3782); 19 Aug 2022 15:12:53 -0000 Received: from acm.muc.de (p4fe158a9.dip0.t-ipconnect.de [79.225.88.169]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 19 Aug 2022 17:12:53 +0200 Received: (qmail 7610 invoked by uid 1000); 19 Aug 2022 15:12:52 -0000 Date: Fri, 19 Aug 2022 15:12:52 +0000 To: Eli Zaretskii Subject: Re: bug#44502: Message-ID: References: <83mtccqetc.fsf@gnu.org> <87leruhcdh.fsf@quad> <83y1vuoc5s.fsf@gnu.org> <87edxmha0b.fsf@quad> <83mtcanfhy.fsf@gnu.org> <87y1vtg3ok.fsf@quad> <83zgg0ecka.fsf@gnu.org> <83sflse5dx.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83sflse5dx.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44502-done Cc: 44502-done@debbugs.gnu.org, acm@muc.de, andrei.elkin@pp.inet.fi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Eli and Andrei. On Fri, Aug 19, 2022 at 16:20:58 +0300, Eli Zaretskii wrote: > > Date: Fri, 19 Aug 2022 13:05:24 +0000 > > Cc: andrei.elkin@pp.inet.fi, 44502@debbugs.gnu.org > > From: Alan Mackenzie > > I haven't been able to reproduce the bug, but understand fairly well what > > must have caused it. > > I also haven't heard back from the OP since sending him a proposed patch > > last Sunday. > > Since the patch is fairly simple and obvious, also non-dangerous, how > > about just installing it on the release branch? > Please go ahead and install. DONE. I'm closing the bug (again) with this post. > Thanks. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 19 12:16:48 2022 Received: (at 44502) by debbugs.gnu.org; 19 Aug 2022 16:16:48 +0000 Received: from localhost ([127.0.0.1]:59187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP4fw-0002i8-FV for submit@debbugs.gnu.org; Fri, 19 Aug 2022 12:16:48 -0400 Received: from mta-out1.inet.fi ([62.71.2.226]:47618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP4fu-0002hs-Et for 44502@debbugs.gnu.org; Fri, 19 Aug 2022 12:16:47 -0400 Received: from johanna1.inet.fi (unknown [10.16.62.33]) by em201-smtpout82.rokki.sonera.fi (Postfix) with ESMTP id 7318F5388; Fri, 19 Aug 2022 19:16:40 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inet.fi; s=smtpgw-3485-2022-03-15; t=1660925800; bh=kNgtyh/5OB8ZXVZFmcwQ4zauquAYD8XLJ9BBKhYqg+4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=uqSNahoP4xk/k16Dyf9D6mxSKVY2qAnRDzyX+vHA3dduF7JTAd3ax3fGYq7QhZn1M TjNaeCrnXje65z8F+n2OdJyGpbnHmzmthcIVSj0qlrakFE9ftsWLYueIfUoHKkoZsh YNwSxDhu/k3CptVciqOfnsJXe5JjFs9rKl4GzuPQ= Received: from quad (193.210.229.97) by johanna1.inet.fi (9.0.019.26-1) id 628F49760A979BBB; Fri, 19 Aug 2022 19:16:40 +0300 From: andrei.elkin@pp.inet.fi To: Alan Mackenzie Subject: Re: bug#44502: Organization: Home sweet home References: <5aa738a4-cfd8-6c4e-3174-4489a289cca9@gmail.com> <878rnwi60h.fsf@quad> <83mtccqetc.fsf@gnu.org> <87leruhcdh.fsf@quad> <83y1vuoc5s.fsf@gnu.org> <87edxmha0b.fsf@quad> <83mtcanfhy.fsf@gnu.org> <87y1vtg3ok.fsf@quad> <83zgg0ecka.fsf@gnu.org> Date: Fri, 19 Aug 2022 19:10:50 +0300 In-Reply-To: (Alan Mackenzie's message of "Fri, 19 Aug 2022 13:05:24 +0000") Message-ID: <87a680dxit.fsf@quad> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44502 Cc: 44502@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Salute, Alan, Eli. > Hello, Eli. > > On Fri, Aug 19, 2022 at 13:45:57 +0300, Eli Zaretskii wrote: >> Ping! Any progress with this bug? > > I haven't been able to reproduce the bug, but understand fairly well what > must have caused it. > > I also haven't heard back from the OP since sending him a proposed patch > last Sunday. If OP is myself :-), then I have not patched my emacs waiting first for the assert. Has not come back yet. Cheers, Andrei > > Since the patch is fairly simple and obvious, also non-dangerous, how > about just installing it on the release branch? > >> > I think the following fix to the assert should indeed be a "safe" fix, >> > suitable for Emacs-28. Could you possibly apply it, please, and try to >> > recreate the error. If you don't manage to recreate the error, the bug >> > is probably "fixed". > >> > diff --git a/src/window.c b/src/window.c >> > index 2576b66a18..35ec2a1f90 100644 >> > --- a/src/window.c >> > +++ b/src/window.c >> > @@ -554,7 +554,9 @@ select_window (Lisp_Object window, Lisp_Object norecord, >> > frame is active. */ >> > Fselect_frame (frame, norecord); >> > /* Fselect_frame called us back so we've done all the work already. */ >> > - eassert (EQ (window, selected_window)); >> > + eassert (EQ (window, selected_window) >> > + || (EQ (window, f->minibuffer_window) >> > + && NILP (Fminibufferp (XWINDOW (window)->contents, Qt)))); >> > return window; >> > } >> > else From unknown Mon Jun 23 22:06:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 17 Sep 2022 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator