From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Crash with --enable-checking and some glyphs Date: Fri, 26 Nov 2021 15:30:45 +0100 Message-ID: <87mtlrt2ei.fsf@gnus.org> References: <87h7c1u0cg.fsf@gnus.org> <87czmpu0ae.fsf@gnus.org> <87wnkxskvn.fsf@gnus.org> <87zgpt63m3.fsf@gnus.org> <83mtlt8vil.fsf@gnu.org> <87v90h6271.fsf@gnus.org> <83lf1d8uyw.fsf@gnu.org> <87r1b561kn.fsf@gnus.org> <871r35ziyl.fsf@gnus.org> <87sfvlwkrc.fsf_-_@gnus.org> <87sfvlh1zo.fsf@gmail.com> <87h7c0flfk.fsf@gnus.org> <874k807166.fsf@gmail.com> <87wnkwb8q7.fsf@gnus.org> <87sfvkb85w.fsf@gnus.org> <83wnkw469i.fsf@gnu.org> <87ee739kjx.fsf@gnus.org> <83h7bz2i9f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29283"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: rpluim@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 26 15:32:20 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mqcGy-0007Ob-TC for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Nov 2021 15:32:20 +0100 Original-Received: from localhost ([::1]:35846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqcGx-0001XL-Pn for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Nov 2021 09:32:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqcFh-0000kF-Dj for emacs-devel@gnu.org; Fri, 26 Nov 2021 09:31:01 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=41912 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqcFf-0002sQ-F8; Fri, 26 Nov 2021 09:31:01 -0500 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=u40QVN/fALCR6itYU74h5vHs2ooLY3ajBofaRb0Mgl4=; b=OzSDDcTw+hnX472zroMNfvRzPU ktqKJ+Wn9im5P4LFcBtU00uDhYg7px8dyxlMrvPKn6ZfReXvffxXT92XUyi7w2tfdF3zcFXe8yi9o LDYK6uySjE6LUxbMI/mBL63EqXWqerKoUnDJUWRc1tFT633cmKEwjGahGHalfwnz/bWg=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqcFT-0005Ni-8N; Fri, 26 Nov 2021 15:30:50 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXctD2gZjx1ZVn/ //8/Za3xAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+ULGg4dL5wK2jQAAAGGSURBVCjPTZK/btswEMY/ GqSRelIDEUg1eegiPoUcwBo8UYDOQD3Xhc2nUIF0VwYBaScbiAPqnjJHKQXyLeLvjvdXBD7LErUg mr+Whsa2cqQhQWuzNkNlk2fbVDk12m4agfp50wK0qW8T0J65p/o6wSOLfk+w9WEUGE2K8TVP6lWC MG6Z4dgIVCFajuQ4eXYcw4sSSAl2Y7z90cqx1MlXHA9PXmJijnsW6NZwb/yEFY/xV3zIXOALivDW BS4qaeMkd7nLsey/ynW4f4xSw2u5nrIgaGQqHZzEnWQXajdBh+8KXmpEFBF40KignXgqiEFVUI9i tgJnIybZhB0BszK9QdnCCWizvGikGIE7LF5V9QFfsLgsO4Fy9vQl3AnrUspnbiN93GHtgMaPBgm+ Cfgs1wpjmqea/5pKvUmjkxYC5b6fYZmAfs6w+ntCOcQZ5kl5hjAlmDOotJ3/UtOj8PIiRETbFsWV yMt8x339iuL5cCQyNIQE1/ORAg+Hs4BtbpT04yAxn/UOx/mZrxMvg30AAAAldEVYdGRhdGU6Y3Jl YXRlADIwMjEtMTEtMjZUMTQ6Mjk6NDYrMDA6MDAwyWIkAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIx LTExLTI2VDE0OjI5OjQ2KzAwOjAwQZTamAAAAABJRU5ErkJggg== X-Now-Playing: Neil Young's _Homegrown_: "Homegrown" In-Reply-To: <83h7bz2i9f.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Nov 2021 14:50:20 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:280249 Archived-At: Eli Zaretskii writes: > What does the following show? > > (gdb) fr 3 > (gdb) source /path/to/emacs/src/.gdbinit > (gdb) p it->what > (gdb) p/x it->c > (gdb) pgrowx it->glyph_row > > The last command should display the entire glyph row you have there, > which maybe will tell us something useful. The two commands before it > could also be useful. Let's see... (gdb) fr 3 #3 0x000055555563223c in gui_produce_glyphs (it=0x7fffffff85e0) at xdisp.c:31557 31557 eassert (it->ascent >= 0 && it->descent >= 0); (gdb) source src/.gdbinit Warning: /home/larsi/src/emacs/test/../lwlib: No such file or directory. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :1 TERM = xterm-256color Breakpoint 1 at 0x555555734b7e: file emacs.c, line 406. Breakpoint 2 at 0x5555556f579e: file xterm.c, line 11627. (gdb) p it->what $1 = IT_CHARACTER (gdb) p/x it->c $2 = 0xace0 (gdb) pgrowx it->glyph_row TEXT: 2 glyphs 0 0: CHAR[^] pos=1 blev=0,btyp=L w=22 a+d=35+9 MB 1 22: CHAR[0xace0] pos=2 blev=0,btyp=L w=24 a+d=25+-1 face=21 MB -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no