From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs,gmane.mail.notmuch.general Subject: bug#59147: 29.0.50; dispnew.c:1456: Emacs fatal error: assertion failed: row >= 0 && row < matrix->nrows Date: Wed, 09 Nov 2022 14:49:15 +0100 Message-ID: <87pmdwgrvo.fsf@no.workgroup> References: <87o7tg718m.fsf@no.workgroup> <831qqcuuuc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36589"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59147@debbugs.gnu.org, notmuch@notmuchmail.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 09 14:50:59 2022 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 1oslTm-0009Ni-U5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Nov 2022 14:50:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oslTT-0000Qn-97; Wed, 09 Nov 2022 08:50:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oslSu-0000M8-Gs for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 08:50:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oslSs-0000Ne-By for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 08:50:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oslSs-0003X5-81 for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 08:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Nov 2022 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59147 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org, notmuch@notmuchmail.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166800178513550 (code B ref -1); Wed, 09 Nov 2022 13:50:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Nov 2022 13:49:45 +0000 Original-Received: from localhost ([127.0.0.1]:39341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oslSa-0003WT-QM for submit@debbugs.gnu.org; Wed, 09 Nov 2022 08:49:45 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:58610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oslSY-0003WL-Ck for submit@debbugs.gnu.org; Wed, 09 Nov 2022 08:49:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oslSY-0000Hs-3H for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 08:49:42 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oslSJ-0007rw-Ux; Wed, 09 Nov 2022 08:49:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1668001762; bh=npU9KpKBqtAMpkf1PUoOqmXsXnMQDFuH/nj8VUe53yE=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=UcnmIjQDnzWuKVCiQyXQAsSjXD7hAM0xB/+mssn81RKw/7wwHzypH75k7JIMZd2sp g95vyHrzTbhGtPUS3z0WPxbEoYjNKPtwv2xmdNBLxB828dc5P7el3tI8+KqM8r6XMU JWip3/kw9r0n/3hJ2BPtA351WYWh9cCaHwWQOSx98BhGFsZkCYIX6PUU0s8zuTuYB+ v8VTmG4guo96qWsGaDAFJGY5oUyBjuY+Noqy88vOVS5hdQrDIOSkC9xHBc1z4pwZgt GyZy9YN4D9N/72jB8Th1l0AkrLSc6ovvy8T1rwt53/I2Rg1QvL/Ky0TEu0crp9cGhR H/JmxB1jgUwdA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-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 In-Reply-To: <831qqcuuuc.fsf@gnu.org> Mail-Followup-To: Eli Zaretskii , bug-gnu-emacs@gnu.org, notmuch@notmuchmail.org X-Provags-ID: V03:K1:l/Gqi9/hBnL1To7956fWSj1q0L3KELkgxGGWfxeV+p9rKJw1wGh 8NXy+gBzpHqk5UxhdQFxCQiKUfR7a2F04X3vZH1Ytn4snE3Uxiv25slLtyI1Fqbs5nvlGpk w03VS6hfjVI9/K2Ard7ZyiQoXL62XgXn9eyeSDGOPW8upBaJt6fx3U1iOYphHdCrPx72FHE nZaGZpXKA1INW1/gxGZlQ== UI-OutboundReport: notjunk:1;M01:P0:Kxab9zw1gG8=;LNylynqxtyBnqLlkKkeFvRSJG/j Bdw7MK93nHBJb831fuYJMi3t3DWtK2Dey6GQZOLw4v7rLJfSMQCm8txMP+lk4VvotXmusk8iY /TqtIFdewKpCmDVd6rghHwIQuZT+z+EnMKGAYhTkNDYkWAPM9SHx/KPgYmgnGgSKVunaN21Zo /S6kZjgzifScCXdy5jEC7JLNH7T/uW6szmmGVGiuETYxcexJW+OrwKJz/HacV1InWu4/SckVK yZkGUPfrf4NyU8A13kOm7T+ULzXxNAwt8A9+lOOae/86JYTGU7kNqOmYTK2bct14Tz3OcivGG aLNvUkLZPo5avS0tSVASEKY0J4q0OH2z5ZrtnmTZlFagzdy6l7Zcpd8YrSR+18MByqioyHepk f2qZGzjKM8jVKZVdhII1/elBVQZZYZ6y3akkh02C1bYdERNfXAIsZhRGmoJJ9vp8Rqt7tSAkf vRav5pKa4fuI2+zZp5cjjBcARYSP52lNl6z7jhOO1NB55Kqt48tRk7Vv7osLm/zg03cr8JdrE wkQAyI8pTLKwg9xQ1dlN5RSkYpZzuhz0W5dh5glHyP6pHArSJNPSNlAWC0w8qto66Q1S6v0DB KPcKVhtOsQwNxSErNXBIuV134VwMn7g10Hl9x8ymf9nSI9YvDND0chmPQi/zTgOyABwi/Yh/h 6cAjDYfvk/87YZKvuHaSFQhhxKTeOPH+Eblw3VLzttziExdtwkJaWdklNRtRJc/WmhHbMhMI8 Ycj3PRdIjXQVyV8KzA8FkWH8d9F77afG3icih90x+BbM/dXfhTZOMSEcMCqjSUh1POdtsDsz Received-SPF: pass client-ip=212.227.17.20; envelope-from=grfz@gmx.de; helo=mout.gmx.net 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, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247412 gmane.mail.notmuch.general:33899 Archived-At: 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 >=3D 0 && row = < matrix->nrows >> >> Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=3D6, ba= cktrace_limit=3D2147483647) at emacs.c:421 >> 421 { >> (gdb) bt >> #0 terminate_due_to_signal (sig=3D6, backtrace_limit=3D2147483647) at = emacs.c:421 >> #1 0x000055555581cae5 in die (msg=3D0x55555598b4e8 "row >=3D 0 && row = < matrix->nrows", file=3D0x55555598b293 "dispnew.c", line=3D1456) at alloc= .c:7692 >> #2 0x000055555559d310 in matrix_row (matrix=3D0x55555d44d470, row=3D8)= 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=3D0x55555d44d470, row=3D8) at= dispnew.c:1456 1456 eassert (row >=3D 0 && row < matrix->nrows); (gdb) p matrix->nrows $1 =3D 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=3D6, backt= race_limit=3D2147483647) at emacs.c:421 421 { #0 terminate_due_to_signal (sig=3D6, backtrace_limit=3D2147483647) at ema= cs.c:421 #1 0x000055555581cae5 in die (msg=3D0x55555598b4e8 "row >=3D 0 && row < m= atrix->nrows", file=3D0x55555598b293 "dispnew.c", line=3D1456) at alloc.c:= 7692 #2 0x000055555559d310 in matrix_row (matrix=3D0x5555564be180, row=3D8) at= dispnew.c:1456 #3 0x0000555555640b9a in cursor_in_mouse_face_p (w=3D0x55555995a528) at x= disp.c:33569 #4 0x00005555555a2b72 in gui_update_window_end (w=3D0x55555995a528, curso= r_on_p=3Dtrue, mouse_face_overwritten_p=3Dfalse) at dispnew.c:3902 #5 0x00005555555a28c2 in update_window (w=3D0x55555995a528, force_p=3Dtru= e) at dispnew.c:3826 #6 0x00005555555a1ad6 in update_window_tree (w=3D0x55555995a528, force_p= =3Dtrue) at dispnew.c:3456 #7 0x00005555555a143d in update_frame (f=3D0x55555667e008, force_p=3Dtrue= , inhibit_hairy_id_p=3Dtrue) at dispnew.c:3291 #8 0x00005555557c675b in read_minibuf (map=3DXIL(0x55556acf1e83), initial=3DXIL(0), prompt=3DXIL(0x55556acf7= 154), expflag=3Dfalse, histvar=3DXIL(0xb2e0), histpos=3Dmake_fixnum(0), de= falt=3DXIL(0), allow_props=3Dfalse, inherit_input_method=3Dfalse) at minib= uf.c:916 #9 0x00005555557c7e98 in Fread_from_minibuffer (prompt=3DXIL(0x55556acf7154), initial_contents=3DXIL(0), keymap=3DXIL= (0x55556acf1e83), read=3DXIL(0), hist=3DXIL(0), default_value=3DXIL(0), in= herit_input_method=3DXIL(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-2= 8d41077.eln #11 0x000055555585c71e in funcall_subr (subr=3D0x55555b34e3a0, numargs=3D2= , args=3D0x7fffffffbf28) at eval.c:3024 #12 0x000055555585c142 in funcall_general (fun=3DXIL(0x55555b34e3a5), numa= rgs=3D2, args=3D0x7fffffffbf28) at eval.c:2929 #13 0x000055555585c490 in Ffuncall (nargs=3D3, args=3D0x7fffffffbf20) at e= val.c:2983 #14 0x000055555585b69c in Fapply (nargs=3D2, args=3D0x7fffee7ff040) at eva= l.c:2654 #15 0x000055555585c936 in funcall_subr (subr=3D0x555556008ea0 , nu= margs=3D2, args=3D0x7fffee7ff040) at eval.c:3047 #16 0x00005555558c0db4 in exec_byte_code (fun=3DXIL(0x55556ace77b5), args_= template=3D128, nargs=3D0, args=3D0x7fffffffc690) at bytecode.c:809 #17 0x000055555585cabe in fetch_and_exec_byte_code (fun=3DXIL(0x55556ace77= b5), args_template=3D128, nargs=3D0, args=3D0x7fffffffc690) at eval.c:3069 #18 0x000055555585cf4d in funcall_lambda (fun=3DXIL(0x55556ace77b5), nargs= =3D0, arg_vector=3D0x7fffffffc690) at eval.c:3141 #19 0x000055555585c18e in funcall_general (fun=3DXIL(0x55556ace77b5), numa= rgs=3D0, args=3D0x7fffffffc690) at eval.c:2933 #20 0x000055555585c490 in Ffuncall (nargs=3D1, args=3D0x7fffffffc688) at e= val.c:2983 #21 0x00007fffec9d4d07 in F6e6f746d7563682d6a756d70_notmuch_jump_0 () at /= home/grfz/.config/emacs/eln-cache/29.0.50-009ca607/notmuch-jump-1d936590-2= 8d41077.eln #22 0x000055555585c71e in funcall_subr (subr=3D0x55555b34e3a0, numargs=3D2= , args=3D0x7fffffffc978) at eval.c:3024 #23 0x000055555585c142 in funcall_general (fun=3DXIL(0x55555b34e3a5), numa= rgs=3D2, args=3D0x7fffffffc978) at eval.c:2929 #24 0x000055555585c490 in Ffuncall (nargs=3D3, args=3D0x7fffffffc970) at e= val.c:2983 #25 0x00007fffec9d472a in F6e6f746d7563682d6a756d702d736561726368_notmuch_= jump_search_0 () at /home/grfz/.config/emacs/eln-cache/29.0.50-009ca607/no= tmuch-jump-1d936590-28d41077.eln #26 0x000055555585c6e1 in funcall_subr (subr=3D0x55555b34e1f8, numargs=3D0= , args=3D0x7fffffffced0) at eval.c:3020 #27 0x000055555585c142 in funcall_general (fun=3DXIL(0x55555b34e1fd), numa= rgs=3D0, args=3D0x7fffffffced0) at eval.c:2929 #28 0x000055555585c490 in Ffuncall (nargs=3D1, args=3D0x7fffffffcec8) at e= val.c:2983 #29 0x000055555584ec90 in Ffuncall_interactively (nargs=3D1, args=3D0x7fff= ffffcec8) at callint.c:248 #30 0x000055555585c936 in funcall_subr (subr=3D0x555556008180 , numargs=3D1, args=3D0x7fffffffcec8) at eval.c:3047 #31 0x000055555585c142 in funcall_general (fun=3DXIL(0x555556008185), numa= rgs=3D1, args=3D0x7fffffffcec8) at eval.c:2929 #32 0x000055555585c490 in Ffuncall (nargs=3D2, args=3D0x7fffffffcec0) at e= val.c:2983 #33 0x000055555585b257 in Fapply (nargs=3D3, args=3D0x7fffffffcec0) at eva= l.c:2607 #34 0x000055555584f126 in Fcall_interactively (function=3DXIL(0x4e46260), = record_flag=3DXIL(0), keys=3DXIL(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=3D0x7fffefbdcfb0, numargs=3D1= , args=3D0x7fffffffd178) at eval.c:3028 #37 0x000055555585c142 in funcall_general (fun=3DXIL(0x7fffefbdcfb5), numa= rgs=3D1, args=3D0x7fffffffd178) at eval.c:2929 #38 0x000055555585c490 in Ffuncall (nargs=3D2, args=3D0x7fffffffd170) at e= val.c:2983 #39 0x0000555555767ea0 in call1 (fn=3DXIL(0x4b90), arg1=3DXIL(0x4e46260)) = at lisp.h:3242 #40 0x000055555576b79e in command_loop_1 () at keyboard.c:1495 #41 0x00005555558579c9 in internal_condition_case (bfun=3D0x55555576af02 <= command_loop_1>, handlers=3DXIL(0x90), hfun=3D0x55555576a33c ) = at eval.c:1474 #42 0x000055555576aaeb in command_loop_2 (handlers=3DXIL(0x90)) at keyboar= d.c:1125 #43 0x0000555555856b79 in internal_catch (tag=3DXIL(0xfd20), func=3D0x5555= 5576aac4 , arg=3DXIL(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=3D2, argv=3D0x7fffffffd688) 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