From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Newsgroups: gmane.emacs.bugs Subject: bug#44349: 28.0.50; Assertion failure on macOS when resizing frame Date: Sat, 31 Oct 2020 16:51:41 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36691"; mail-complaints-to="usenet@ciao.gmane.io" To: 44349@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 31 16:53:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYtBv-0009Rl-W3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 16:53:20 +0100 Original-Received: from localhost ([::1]:56626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYtBv-0006VN-2D for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 11:53:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYtBe-0006V0-DP for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 11:53:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYtBe-0002HM-4P for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 11:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYtBe-0000lB-3L for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 11:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Oct 2020 15:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44349 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16041595252844 (code B ref -1); Sat, 31 Oct 2020 15:53:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Oct 2020 15:52:05 +0000 Original-Received: from localhost ([127.0.0.1]:34331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYtAi-0000jm-1P for submit@debbugs.gnu.org; Sat, 31 Oct 2020 11:52:05 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYtAS-0000j7-7V for submit@debbugs.gnu.org; Sat, 31 Oct 2020 11:52:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYtAR-0006N4-Te for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 11:51:47 -0400 Original-Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:55978) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYtAP-0002CM-GX for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 11:51:47 -0400 Original-Received: by mail-wm1-x32a.google.com with SMTP id c9so3899804wml.5 for ; Sat, 31 Oct 2020 08:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=rQ/eVMk3zPPLAF9uXYtE6li9i99UM5HkrOvzjRYrKLk=; b=Tu8I1E3xrXZnuLw1qixSL+/oRRczOK/Mm3TYh42agbSfv6S7NP2fdqwd8mZc+5mXQC AlPTSqkC2m2oYRhmB+2LwfyfCqElo8vxcJVMZYYcU+7q0buZcQKOsWSRr45oq6OKDLKz eHSowQenlLJGbbSNxdorfeahNn4c2JHk+WMd9oHOJ/aXVHEhQ3lLK4Awjh5c+E1iY5nA VV/k53ptN1oTyPOuQsu329rBJR66VjkrX4oFZdoXE0cNLwlovoTyS6cutxbY0wTTZQa/ GaHNdxTlet+5r5EFapEyP5e7XuFelEmrRIFjZPy97sguSU0PTU7va95LngTogiO/I7hf +T2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=rQ/eVMk3zPPLAF9uXYtE6li9i99UM5HkrOvzjRYrKLk=; b=GGPQ5/71HATSqwE8dB6x0fj3H06NfR7KbClBFrJZeG0nMHKewi+ZWuKXkD4pWI9UZr ETi2BZVg2omSRkYkvlgL58bogrqtJNtzLHqnkK3j4ucgto030WyyjXpBc1HvhVkfRY8b 7AevpwQHRx1ubb57Xa+QbqAGFq1hdtsCFEkZUPpavegGtsHwRyLkJ6kBfEkplHXDp2fP 5K0ies8xVDBrVLUFRZC2IqtVp1LxWoq09QpSZnDMoWqFP7QHw9edFScOX8HkQ6HTjUqO dAvj2sreFOtxXDFHGslQZ3qlG6x5xDQLhgRd/O0uG+K+v1XcrZoHs8dimtpAak1BEacQ fHJw== X-Gm-Message-State: AOAM531Q/Mm0FEfizbSEW/7qOFzmTQarqDOnHX6O6fV9jm0q2gd3p2MD LprxkG5WB5zPLDWj9smPMd5lf9wi/bg= X-Google-Smtp-Source: ABdhPJy2y/Yt5XWVU5Ax7Yh8si5MwtgblbfTRTQdgV1s/UqCrqo6uIhmS/Xl3l5Y7sUqkI8A92qeVw== X-Received: by 2002:a1c:9cd8:: with SMTP id f207mr8457707wme.76.1604159503210; Sat, 31 Oct 2020 08:51:43 -0700 (PDT) Original-Received: from p ([46.128.199.221]) by smtp.gmail.com with ESMTPSA id b2sm4891856wmd.40.2020.10.31.08.51.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 08:51:42 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=p.stephani2@gmail.com; helo=mail-wm1-x32a.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: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192279 Archived-At: 1. Compile Emacs with assertions enabled on macOS. 2. Start it in graphical mode. 3. Try to resize the frame by dragging the lower-right corner. This will trigger an assertion failure doprnt.c:493: Emacs fatal error: assertion failed: ASCII_CHAR_P (fmtchar) Fatal error 6: Aborted Abort trap: 6 LLDB backtrace: doprnt.c:493: Emacs fatal error: assertion failed: ASCII_CHAR_P (fmtchar) Process 21775 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT frame #0: 0x00007fff71cda33a libsystem_kernel.dylib`__pthread_kill + 10 libsystem_kernel.dylib`__pthread_kill: -> 0x7fff71cda33a <+10>: jae 0x7fff71cda344 ; <+20> 0x7fff71cda33c <+12>: movq %rax, %rdi 0x7fff71cda33f <+15>: jmp 0x7fff71cd4629 ; cerror_nocancel 0x7fff71cda344 <+20>: retq Target 0: (emacs) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT * frame #0: 0x00007fff71cda33a libsystem_kernel.dylib`__pthread_kill + 10 frame #1: 0x00007fff71d96e60 libsystem_pthread.dylib`pthread_kill + 430 frame #2: 0x00007fff71bf193e libsystem_c.dylib`raise + 26 frame #3: 0x0000000100bcae19 emacs`terminate_due_to_signal(sig=, backtrace_limit=) at emacs.c:408:3 [opt] frame #4: 0x0000000100bcb42d emacs`emacs_abort at sysdep.c:2280:3 [opt] frame #5: 0x0000000100aaab36 emacs`ns_term_shutdown(sig=6) at nsterm.m:5729:7 [opt] frame #6: 0x00000001005c7634 emacs`shut_down_emacs(sig=, stuff=) at emacs.c:2472:3 [opt] frame #7: 0x0000000100bcad30 emacs`terminate_due_to_signal(sig=6, backtrace_limit=) at emacs.c:391:11 [opt] frame #8: 0x0000000100bcb9d9 emacs`die(msg=, file=, line=) at alloc.c:7341:3 [opt] frame #9: 0x00000001009acf6f emacs`doprnt(buffer=, bufsize=9223372036854775797, format=, format_end=, ap=) at doprnt.c:493:4 [opt] frame #10: 0x00000001009adcfc emacs`esprintf(buf="*scratch* ??????????????????????????????????????", format=) at doprnt.c:535:12 [opt] frame #11: 0x0000000100abc0d5 emacs`-[EmacsView windowWillResize:toSize:](self=, _cmd=, sender=, frameSize=) at nsterm.m:7286:2 [opt] frame #12: 0x00007fff34ed2737 AppKit`-[NSWindow _confirmSize:force:] + 323 frame #13: 0x00007fff3581d006 AppKit`-[NSWindow(NSWindowResizing) _validFrameForFrame:resizedFromEdge:] + 94 frame #14: 0x00007fff35176b8d AppKit`-[NSTitledFrame _validFrameForResizeFrame:fromResizeEdge:] + 425 frame #15: 0x00007fff3581cf68 AppKit`-[NSWindow(NSWindowResizing) _commonValidFrameForResizeFrame:fromResizeEdge:] + 157 frame #16: 0x00007fff35819cd5 AppKit`-[NSWindow(NSWindowResizing) _frame:resizedFromEdge:withDelta:withEvent:withState:] + 3531 frame #17: 0x00007fff35176065 AppKit`-[NSWindow(NSWindowResizing) _resizeWithEvent:] + 2486 frame #18: 0x00007fff3504bfe6 AppKit`-[NSTitledFrame attemptResizeWithEvent:] + 177 frame #19: 0x00007fff3504bcc7 AppKit`-[NSThemeFrame handleMouseDown:] + 294 frame #20: 0x00007fff350e9248 AppKit`-[NSThemeFrame mouseDown:] + 30 frame #21: 0x00007fff34fce5f0 AppKit`-[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4914 frame #22: 0x00007fff34f38e21 AppKit`-[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2612 frame #23: 0x00007fff34f381c9 AppKit`-[NSWindow(NSEventRouting) sendEvent:] + 349 frame #24: 0x00007fff34f36554 AppKit`-[NSApplication(NSEvent) sendEvent:] + 352 frame #25: 0x0000000100aab8e5 emacs`-[EmacsApp sendEvent:](self=, _cmd=, theEvent=) at nsterm.m:5902:3 [opt] frame #26: 0x00007fff34d835bf AppKit`-[NSApplication run] + 707 frame #27: 0x0000000100aab09a emacs`-[EmacsApp run](self=, _cmd=) at nsterm.m:5771:9 [opt] frame #28: 0x0000000100aa67ee emacs`ns_select(nfds=, readfds=, writefds=, exceptfds=, timeout=, sigmask=) at nsterm.m:4861:3 [opt] frame #29: 0x000000010095e00d emacs`wait_reading_process_output(time_limit=, nsecs=, read_kbd=, do_display=, wait_for_cell=, wait_proc=0x0000000000000000, just_wait_proc=) at process.c:5609:18 [opt] frame #30: 0x0000000100612281 emacs`kbd_buffer_get_event(kbp=, used_mouse_menu=, end_time=) at keyboard.c:3874:4 [opt] frame #31: 0x00000001006110b7 emacs`read_event_from_main_queue(end_time=, local_getcjmp=, used_mouse_menu=) at keyboard.c:2160:7 [opt] frame #32: 0x00000001005ea5e3 emacs`read_decoded_event_from_main_queue(end_time=, local_getcjmp=, prev_event=, used_mouse_menu=) at keyboard.c:2224:11 [opt] frame #33: 0x00000001005e5b49 emacs`read_char(commandflag=1, map=(i = 0x0000629000019573), prev_event=(i = 0x0000000000000000), used_mouse_menu=, end_time=0x0000000000000000) at keyboard.c:2834:11 [opt] frame #34: 0x00000001005d8647 emacs`read_key_sequence(keybuf=, prompt=, dont_downcase_last=, can_return_switch_frame=, fix_current_buffer=, prevent_redisplay=) at keyboard.c:9552:12 [opt] frame #35: 0x00000001005d3fd1 emacs`command_loop_1 at keyboard.c:1354:15 [opt] frame #36: 0x0000000100863be5 emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1240), handlers=, hfun=(emacs`cmd_error at keyboard.c:923)) at eval.c:1359:25 [opt] frame #37: 0x000000010060fd68 emacs`command_loop_2(ignore=(i = 0x0000000000000000)) at keyboard.c:1095:11 [opt] frame #38: 0x00000001008629b6 emacs`internal_catch(tag=(i = 0x000000000000c990), func=(emacs`command_loop_2 at keyboard.c:1091), arg=(i = 0x0000000000000000)) at eval.c:1120:25 [opt] frame #39: 0x00000001005d14d0 emacs`command_loop at keyboard.c:1074:2 [opt] frame #40: 0x00000001005d11c9 emacs`recursive_edit_1 at keyboard.c:718:9 [opt] frame #41: 0x00000001005d189f emacs`Frecursive_edit at keyboard.c:790:3 [opt] frame #42: 0x00000001005ca4a6 emacs`main(argc=0, argv=) at emacs.c:2047:3 [opt] frame #43: 0x00007fff71b92cc9 libdyld.dylib`start + 1 In GNU Emacs 28.0.50 (build 89, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.7 (Build 19H2)) of 2020-10-31 Repository revision: 283b8d274bd54192b3876ce8bf2930a096391839 Repository branch: master Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.7 Configured using: 'configure --with-modules --without-xml2 --without-pop --with-mailutils --enable-gcc-warnings=warn-only --enable-checking=all --enable-check-lisp-object-type 'CFLAGS=-g3 -O1 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer'' Configured features: JPEG TIFF GIF PNG NOTIFY KQUEUE ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc dired dired-loaddefs rfc822 mml easymenu mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils phst skeleton derived edmacro kmacro pcase ffap thingatpt url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars mailcap rx gnutls puny dbus xml subr-x seq byte-opt gv bytecomp byte-compile cconv compile text-property-search comint ansi-color ring cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util 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 kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 70870 3425) (symbols 48 8580 1) (strings 32 23868 1428) (string-bytes 1 780264) (vectors 16 14940) (vector-slots 8 197741 15083) (floats 8 26 26) (intervals 56 212 0) (buffers 992 10))