From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iEThKcHDbmO9DgAAbAwnHQ (envelope-from ) for ; Fri, 11 Nov 2022 22:50:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AGzsKcHDbmOLDgEAauVa8A (envelope-from ) for ; Fri, 11 Nov 2022 22:50:57 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 628D212EBA for ; Fri, 11 Nov 2022 22:50:57 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 352DC5F9F6; Fri, 11 Nov 2022 21:42:58 +0000 (UTC) X-Greylist: delayed 310 seconds by postgrey-1.36 at yantan; Wed, 09 Nov 2022 13:54:52 UTC Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mail.notmuchmail.org (Postfix) with ESMTPS id E2BE85F35E for ; Wed, 9 Nov 2022 13:54:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1668002092; bh=npU9KpKBqtAMpkf1PUoOqmXsXnMQDFuH/nj8VUe53yE=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=D+H/MeCzZD+ri8+BqdR57zJ0V35Rv8Ie0AF8C1LzC9RoJRnSx1M+iIWbKTunaIUoe mYnD0nQ6DKHiyKH3EKZYOGPi4TR5BHMYx6ebf3gic34rj7laVO4y97hdtJtDz9YT3d XWacbjO9uyL7DHNN1jtD3hY0KiMSGiUU08fqIh7Wb8DU792gF8U4OpoYh2O7tf2VK5 2WJFkSYktEo0AkBwDppvIDkSUqVZCFNNjTumWzNrd4wjMXcfPzxI6Q/wED85kJYDAy SZy8t/KBeDAinCKB6LiH2nlCeM472dZjBZxIiq8HHLktxj/I61WKqbiFKk82JKUlOX fEl/wxo6Dv25Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from localhost ([95.90.239.135]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MIdeX-1opAPv2CbV-00EeQL; Wed, 09 Nov 2022 14:49:22 +0100 From: Gregor Zattler To: Eli Zaretskii Subject: Re: bug#59147: 29.0.50; dispnew.c:1456: Emacs fatal error: assertion failed: row >= 0 && row < matrix->nrows In-Reply-To: <831qqcuuuc.fsf@gnu.org> References: <87o7tg718m.fsf@no.workgroup> <831qqcuuuc.fsf@gnu.org> Mail-Followup-To: Eli Zaretskii , bug-gnu-emacs@gnu.org, notmuch@notmuchmail.org Date: Wed, 09 Nov 2022 14:49:15 +0100 Message-ID: <87pmdwgrvo.fsf@no.workgroup> MIME-Version: 1.0 X-Provags-ID: V03:K1:l/Gqi9/hBnL1To7956fWSj1q0L3KELkgxGGWfxeV+p9rKJw1wGh 8NXy+gBzpHqk5UxhdQFxCQiKUfR7a2F04X3vZH1Ytn4snE3Uxiv25slLtyI1Fqbs5nvlGpk w03VS6hfjVI9/K2Ard7ZyiQoXL62XgXn9eyeSDGOPW8upBaJt6fx3U1iOYphHdCrPx72FHE nZaGZpXKA1INW1/gxGZlQ== UI-OutboundReport: notjunk:1;M01:P0:Qzi8k6n9k1w=;Zdv3PrxoBxUuxOuXfu4q5cBqgAr taOMwkxHZE3jfo8XaNc17eX/NhxV88WlLysHE1xfSaMMGmdmHK0kPYasFl9lKqruE+/Tz9l2R /tvIkjMjiVRwtYbru4UC1r0+VASkkl/m46Ocm47WJuL/SRXTlcRFqsLoD4hn06vGyDiMbSYK8 /X6vfloT9g2skIdQDG0FlNmJMp5t8X/KuIFCgE04UWl5UWpgNfIzjOA77rIPa0mJRqRZoA9el eS8iFNQfNna6XjuFtZYRvMdi3H8uAmrZ72cB/7BDNMXYaK+WChHR3l967KFOPQaviP1E+N6Xp 3t7dP/txHLPARE4w+fH4qC+s5hmz36UDxtogFonQlyM1SsvCCLFW+DcR8azYk3F1pjRT2ViOa RV1urWcvYGgXJR5c3vH2nczPZf0umIg1zmrbxvifibZ30FbMwrX+amnGD0CNEUSpdMjStdJpI WgPFT0acifVi2LRV+7uJ/5CKlKArjw8v1pAN4YpiU6lezHe8BRcc5r3yY2CN9xUL759mGR90j RS8fjev7vf+unuIJfZGY9wUlh6QAW5fZD1TeL6SHK/ya69FiFmDFvJkujm62F3LLeUwtStYl7 3uIjvieF8MeiuYzvC7JlLYB7ZTaLfZ9/BKSNOgSSnxCeDLdQ0Cck2P05QUmA2934mHxSURuZo bDsnUjoh6yX736qgytfJBFCF3ChYiV1XYSrfcXrylSTuCTZYSwPp0rhvQaqyD+QolWT4kD7EI hmLiOuo1TdfMxU1W7cjrgPvibrzBEorkUY/Xkz0afnxMdnhNexBqwTpxeS5DsbiwsNGGEPMWt 3rZf3v98Z2DBbDaf2vPadWqVpYIrvmIGnATO5v9ugnYpIhuxEP9opAlpVHAn4wtP+O3BjPLI0 oKzb+KdiJxrhO03kktZat7rtBgF22wtg9CU4llsMCE7dCG1hhYxcZCJ21y05mqCfpXy4Ye7gt ZHf7Ng== X-MailFrom: grfz@gmx.de X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 Message-ID-Hash: OBNWYIIGMDN4WZZGYQISTDC7LWK3ORMU X-Message-ID-Hash: OBNWYIIGMDN4WZZGYQISTDC7LWK3ORMU X-Mailman-Approved-At: Fri, 11 Nov 2022 21:42:56 +0000 CC: bug-gnu-emacs@gnu.org, notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668203457; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kS61Fh2m5S2TaTdzsaM/ytXTgMemRgSeMgBeFljFbZ8=; b=NzC1cwXwCK5PdgWifAyqHpLBG7AVfC+68yp7deTX+he5YTHzRICTLDLxBAdvYI/o0wSY4g 6FZfusztRvR0eQyuYFvNFv/6VYlEQ6KeGzxo8hAifQXY+bh5GhDmTMXyRebV8PIKYKbuJL toTLZhHWl66Tlr23wkZhiX9Ii6IemKGxwVGnw3F0kKBMTIenw1+XLkmys2eA//caqb2PCT bktKqH/Oy3bDWvkGzgmOPK3EbFgXuuhSsawz6AaSDUswY9swShMfDrbk5PRqeXHLmTPqsS eNaJJYewvwguUK0JejlMiM+RYjoZF2T/wSbbo+L/t1fN0Fx+BrnVzD6TFi31Cw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668203457; a=rsa-sha256; cv=none; b=OEPZqksvqIJMoahZOd5DuEsFINhzIJ7GXtsFbunPENTT1BrervAewB+lAOr+Lr6A3j+BAl XEBgpQDSMYkzfMMDBiNLL3h7tAvIFhPGc8UO/XUryQD0w/NsVXAWeC2O3yaP5fxJ7HDiKA NLXt2SqVb1jYILRqrIkHIFegbHXp8yq71JI3CqM0dEChufKWzXnyRxsDIhV25x7difFq6J JUKSG+TSPfbYV8Z5/IdAVCZEh4/ZaGA/xy6U9mqt86h4LUVOa49vh8s24nb6MmemAkJoEX 7DNWrIzX58mp5Vf8XF9cu9yqlhPc5mUBlA3Prz9dw3CloffpjxZGAnsrysFaHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmx.de header.s=s31663417 header.b="D+H/MeCz"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.de (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 7.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmx.de header.s=s31663417 header.b="D+H/MeCz"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.de (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 628D212EBA X-Spam-Score: 7.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: z5gfPejgb2Th Hi Eli, * Eli Zaretskii [2022-11-09; 15:21 +02]: >> From: Gregor Zattler >> Date: Wed, 09 Nov 2022 13:37:13 +0100 >> >> Dear Emacs and notmuch developers, lately Emacs often >> hangs/crashes/stops while I'm working. I cannot reproduce >> with emacs -Q, because I need at least org-mode and notmuch >> for work. >> >> Anyway, here is a (x)backtrace from an unoptimized, rather >> current build, please tell me, if this is helpful or if I >> should not send such backtraces (I myself cannot read them, >> I'm happy to answer questions, in this case the Emacs >> process is still in gdb till max tomorrow 08:00 UTC, then I >> have to shutdown the laptop): >> >> dispnew.c:1456: Emacs fatal error: assertion failed: row >= 0 && row < matrix->nrows >> >> Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:421 >> 421 { >> (gdb) bt >> #0 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:421 >> #1 0x000055555581cae5 in die (msg=0x55555598b4e8 "row >= 0 && row < matrix->nrows", file=0x55555598b293 "dispnew.c", line=1456) at alloc.c:7692 >> #2 0x000055555559d310 in matrix_row (matrix=0x55555d44d470, row=8) at dispnew.c:1456 > > What does the below produce: > > (gdb) frame 2 > (gdb) p matrix->nrows (gdb) frame 2 #2 0x000055555559d310 in matrix_row (matrix=0x55555d44d470, row=8) at dispnew.c:1456 1456 eassert (row >= 0 && row < matrix->nrows); (gdb) p matrix->nrows $1 = 7 (gdb) While working I got another (x)backtracei, in another emacs daemon, which I guess is related: Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:421 421 { #0 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:421 #1 0x000055555581cae5 in die (msg=0x55555598b4e8 "row >= 0 && row < matrix->nrows", file=0x55555598b293 "dispnew.c", line=1456) at alloc.c:7692 #2 0x000055555559d310 in matrix_row (matrix=0x5555564be180, row=8) at dispnew.c:1456 #3 0x0000555555640b9a in cursor_in_mouse_face_p (w=0x55555995a528) at xdisp.c:33569 #4 0x00005555555a2b72 in gui_update_window_end (w=0x55555995a528, cursor_on_p=true, mouse_face_overwritten_p=false) at dispnew.c:3902 #5 0x00005555555a28c2 in update_window (w=0x55555995a528, force_p=true) at dispnew.c:3826 #6 0x00005555555a1ad6 in update_window_tree (w=0x55555995a528, force_p=true) at dispnew.c:3456 #7 0x00005555555a143d in update_frame (f=0x55555667e008, force_p=true, inhibit_hairy_id_p=true) at dispnew.c:3291 #8 0x00005555557c675b in read_minibuf (map=XIL(0x55556acf1e83), initial=XIL(0), prompt=XIL(0x55556acf7154), expflag=false, histvar=XIL(0xb2e0), histpos=make_fixnum(0), defalt=XIL(0), allow_props=false, inherit_input_method=false) at minibuf.c:916 #9 0x00005555557c7e98 in Fread_from_minibuffer (prompt=XIL(0x55556acf7154), initial_contents=XIL(0), keymap=XIL(0x55556acf1e83), read=XIL(0), hist=XIL(0), default_value=XIL(0), inherit_input_method=XIL(0)) at minibuf.c:1373 #10 0x00007fffec9d4cce in F6e6f746d7563682d6a756d70_notmuch_jump_0 () at /home/grfz/.config/emacs/eln-cache/29.0.50-009ca607/notmuch-jump-1d936590-28d41077.eln #11 0x000055555585c71e in funcall_subr (subr=0x55555b34e3a0, numargs=2, args=0x7fffffffbf28) at eval.c:3024 #12 0x000055555585c142 in funcall_general (fun=XIL(0x55555b34e3a5), numargs=2, args=0x7fffffffbf28) at eval.c:2929 #13 0x000055555585c490 in Ffuncall (nargs=3, args=0x7fffffffbf20) at eval.c:2983 #14 0x000055555585b69c in Fapply (nargs=2, args=0x7fffee7ff040) at eval.c:2654 #15 0x000055555585c936 in funcall_subr (subr=0x555556008ea0 , numargs=2, args=0x7fffee7ff040) at eval.c:3047 #16 0x00005555558c0db4 in exec_byte_code (fun=XIL(0x55556ace77b5), args_template=128, nargs=0, args=0x7fffffffc690) at bytecode.c:809 #17 0x000055555585cabe in fetch_and_exec_byte_code (fun=XIL(0x55556ace77b5), args_template=128, nargs=0, args=0x7fffffffc690) at eval.c:3069 #18 0x000055555585cf4d in funcall_lambda (fun=XIL(0x55556ace77b5), nargs=0, arg_vector=0x7fffffffc690) at eval.c:3141 #19 0x000055555585c18e in funcall_general (fun=XIL(0x55556ace77b5), numargs=0, args=0x7fffffffc690) at eval.c:2933 #20 0x000055555585c490 in Ffuncall (nargs=1, args=0x7fffffffc688) at eval.c:2983 #21 0x00007fffec9d4d07 in F6e6f746d7563682d6a756d70_notmuch_jump_0 () at /home/grfz/.config/emacs/eln-cache/29.0.50-009ca607/notmuch-jump-1d936590-28d41077.eln #22 0x000055555585c71e in funcall_subr (subr=0x55555b34e3a0, numargs=2, args=0x7fffffffc978) at eval.c:3024 #23 0x000055555585c142 in funcall_general (fun=XIL(0x55555b34e3a5), numargs=2, args=0x7fffffffc978) at eval.c:2929 #24 0x000055555585c490 in Ffuncall (nargs=3, args=0x7fffffffc970) at eval.c:2983 #25 0x00007fffec9d472a in F6e6f746d7563682d6a756d702d736561726368_notmuch_jump_search_0 () at /home/grfz/.config/emacs/eln-cache/29.0.50-009ca607/notmuch-jump-1d936590-28d41077.eln #26 0x000055555585c6e1 in funcall_subr (subr=0x55555b34e1f8, numargs=0, args=0x7fffffffced0) at eval.c:3020 #27 0x000055555585c142 in funcall_general (fun=XIL(0x55555b34e1fd), numargs=0, args=0x7fffffffced0) at eval.c:2929 #28 0x000055555585c490 in Ffuncall (nargs=1, args=0x7fffffffcec8) at eval.c:2983 #29 0x000055555584ec90 in Ffuncall_interactively (nargs=1, args=0x7fffffffcec8) at callint.c:248 #30 0x000055555585c936 in funcall_subr (subr=0x555556008180 , numargs=1, args=0x7fffffffcec8) at eval.c:3047 #31 0x000055555585c142 in funcall_general (fun=XIL(0x555556008185), numargs=1, args=0x7fffffffcec8) at eval.c:2929 #32 0x000055555585c490 in Ffuncall (nargs=2, args=0x7fffffffcec0) at eval.c:2983 #33 0x000055555585b257 in Fapply (nargs=3, args=0x7fffffffcec0) at eval.c:2607 #34 0x000055555584f126 in Fcall_interactively (function=XIL(0x4e46260), record_flag=XIL(0), keys=XIL(0x55556b38209d)) at callint.c:340 #35 0x00007fffefa06865 in F636f6d6d616e642d65786563757465_command_execute_0 () at /home/grfz/src/emacs-master--68e2a9cd--2022-11-08T12-08+01-00/src/../native-lisp/29.0.50-009ca607/preloaded/simple-fab5b0cf-f2a15bf6.eln #36 0x000055555585c787 in funcall_subr (subr=0x7fffefbdcfb0, numargs=1, args=0x7fffffffd178) at eval.c:3028 #37 0x000055555585c142 in funcall_general (fun=XIL(0x7fffefbdcfb5), numargs=1, args=0x7fffffffd178) at eval.c:2929 #38 0x000055555585c490 in Ffuncall (nargs=2, args=0x7fffffffd170) at eval.c:2983 #39 0x0000555555767ea0 in call1 (fn=XIL(0x4b90), arg1=XIL(0x4e46260)) at lisp.h:3242 #40 0x000055555576b79e in command_loop_1 () at keyboard.c:1495 #41 0x00005555558579c9 in internal_condition_case (bfun=0x55555576af02 , handlers=XIL(0x90), hfun=0x55555576a33c ) at eval.c:1474 #42 0x000055555576aaeb in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1125 #43 0x0000555555856b79 in internal_catch (tag=XIL(0xfd20), func=0x55555576aac4 , arg=XIL(0x90)) at eval.c:1197 #44 0x000055555576aa80 in command_loop () at keyboard.c:1103 #45 0x0000555555769dff in recursive_edit_1 () at keyboard.c:712 #46 0x000055555576a01c in Frecursive_edit () at keyboard.c:795 #47 0x00005555557655b9 in main (argc=2, argv=0x7fffffffd688) at emacs.c:2517 Lisp Backtrace: "notmuch-jump" (0xffffbf28) "apply" (0xee7ff040) 0x6ace77b0 PVEC_COMPILED "notmuch-jump" (0xffffc978) "notmuch-jump-search" (0xffffced0) "funcall-interactively" (0xffffcec8) "command-execute" (0xffffd178) Undefined command: "xbt". Try "help". "notmuch-jump" (0xffffbf28) "apply" (0xee7ff040) 0x6ace77b0 PVEC_COMPILED "notmuch-jump" (0xffffc978) "notmuch-jump-search" (0xffffced0) "funcall-interactively" (0xffffcec8) "command-execute" (0xffffd178) Tahnks for looking into this. Gregor