From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS: Loaded pdump Date: Thu, 16 May 2024 15:07:47 +0300 Message-ID: <86pltmhsdo.fsf@gnu.org> References: <87bk5fp0km.fsf@gmail.com> <87seyrni6f.fsf@gmail.com> <87msoygkb5.fsf@gmail.com> <86seyq3qvr.fsf@gnu.org> <8734qiywyi.fsf@gmail.com> <87wmnuxfv3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22437"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 16 14:08:55 2024 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 1s7Zup-0005Tx-A4 for ged-emacs-devel@m.gmane-mx.org; Thu, 16 May 2024 14:08:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7Ztx-0000jh-OY; Thu, 16 May 2024 08:08:01 -0400 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 1s7Ztu-0000bs-4K for emacs-devel@gnu.org; Thu, 16 May 2024 08:07:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7Ztt-0003p8-8F; Thu, 16 May 2024 08:07:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=4Zym83msMG6fUvsnnK676DnfVzXg3ummUUy8+a5zyN4=; b=dNfyy8+0mejV/z2zmaBs HttmwoPmFqdCka7s/16fYDH/myMwa4w4a6aUJDxeEBfRh4WCZXbZsFFi9nCGfaXXv+YWKuyCngNeA TyA3Nzlec7DhIsIfrPiEaKr6uA4X1uI6vphmSWmWMAwY6IKTIVfBBu4g+0LYTS2fD61JwzXwvUwqc 7TTM1Y/ulR6k/2GfZrSDkndyzW1H3pInrCnFUoiAosPvEhU1cmXyWbH3SSPTuOejW/RdUOCVZhw/3 ltk5CBVe5bg2GXKFvHIgYQmNe1OE1eJBw4h3WG+n45E5VKxpsQu8njzbRmmeAjFuutXKlold+yekz 4qDSof4jZAkSmg==; In-Reply-To: <87wmnuxfv3.fsf@gmail.com> (message from Helmut Eller on Thu, 16 May 2024 11:31:28 +0200) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:319295 Archived-At: > From: Helmut Eller > Cc: Eli Zaretskii , emacs-devel@gnu.org > Date: Thu, 16 May 2024 11:31:28 +0200 > > On Thu, May 16 2024, Gerd Möllmann wrote: > > > Helmut Eller writes: > > > >> 4) Code to register the dump as exact root. This will break some > >> things. Not surprising of course. E.g. > >> (progn > >> (view-hello-file) > >> (dotimes (_ 5) (redisplay) (igc--collect) (forward-line))) > >> > >> Not sure if now is a good time to make this change. > > > > FWIW, I don't see a crash here. Or is it something else? > > For me, this one definitely crashes. This line > if (BUFFERP (glyph->object)) > in xdisp.c:set_cursor_from_row. The tty version crashes too. Yes, I see that on Windows as well: Thread 1 received signal SIGSEGV, Segmentation fault. PSEUDOVECTORP (code=13, a=0xb93100d) at lisp.h:755 755 return lisp_h_XLP (o); (gdb) bt #0 PSEUDOVECTORP (code=13, a=0xb93100d) at lisp.h:755 #1 BUFFERP (a=0xb93100d) at buffer.h:722 #2 set_cursor_from_row (w=w@entry=0xaf74fe8, row=row@entry=0x71a5dc0, matrix=0x711ee50, delta=delta@entry=0, delta_bytes=delta_bytes@entry=0, dy=dy@entry=0, dvpos=dvpos@entry=0) at xdisp.c:18224 and the object A in the PSEUDOVECTORP call cannot be looked at: (gdb) p a $2 = XIL(0xb93100d) (gdb) xtype Lisp_Vectorlike Cannot access memory at address 0xb931008 That's glyph->object of the first glyph of a glyph row produced from this line of text: but to demonstrate some of the character sets and writing which is the 3rd line of HELLO.