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: unable to build due to assertion violation in igc_dump_check_object_starts Date: Tue, 23 Jul 2024 17:40:33 +0300 Message-ID: <86y15s893y.fsf@gnu.org> References: <861q3k9sfb.fsf@gnu.org> <86zfq889re.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3109"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pipcet@protonmail.com, eller.helmut@gmail.com, emacs-devel@gnu.org To: gerd.moellmann@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 23 16:41:25 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 1sWGhg-0000fw-Bc for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Jul 2024 16:41:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWGgw-00042f-Fn; Tue, 23 Jul 2024 10:40:38 -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 1sWGgu-000422-Hw for emacs-devel@gnu.org; Tue, 23 Jul 2024 10:40:36 -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 1sWGgu-0003su-81; Tue, 23 Jul 2024 10:40:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1wf6jvGcs8nRHUT1RsSUwLog65a7QiSpLAytDE6o/xY=; b=mkjRkQAVfNYX 1yvlVCw4fVZ9whENenCnWfCb+pG6g9L7H+vSdeg3HZvhOl/7UwFeRGuCG51Z7BjJsZOo0EK8N5cjo FongmbVUaP3mT/XIUX63Icul1si7YlmobVHRRxGMjXPGdhq9zpsfuyI+MJVrMQiu9Z4QYdjm2KUEt FTtEDHxhkzf/7UQhuHn+7OC0skH01+7D2+GL1SmViEm/JKyog/4zyXsfK81kUSIFAy4bDA5iY/EFJ mdVTTO2OoCeyuu8wHfXO42+YWp+oJViCJ1/t5jO1wuqNT3h9VuG0k5M46Rnooa+wNuS49aNi7bxxL Y5pWbtl5NothZlWZ5MrpYA==; In-Reply-To: <86zfq889re.fsf@gnu.org> (message from Eli Zaretskii on Tue, 23 Jul 2024 17:26:29 +0300) 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:321991 Archived-At: > Date: Tue, 23 Jul 2024 17:26:29 +0300 > From: Eli Zaretskii > Cc: pipcet@protonmail.com, eller.helmut@gmail.com, emacs-devel@gnu.org > > #3 0x00fee189 in igc_dump_check_object_starts (relocs=0x11d32853, > dump_base=0x1aa41020, hot_start=0x1aa41098, hot_end=0x1b055c70, > cold_start=0x1b081020, heap_end=0x1b1f9e98) at igc.c:4820 > 4820 eassert (end == p); > (gdb) p obj_size(start) > $1 = 801749580 > (gdb) p igc_header_nwords(start) > $2 = 200437395 > (gdb) p header_tag(start) > $3 = 0 > (gdb) p header_nwords(start) > $4 = 200437395 > (gdb) p *(struct igc_header *)start > $5 = {v = 1721744118644157000} > (gdb) p/x *(struct igc_header *)start > $6 = {v = 0x17e4dd2759e72a48} And note that the next region after the one that causes the abort seems to be perfectly normal: #3 0x00fee189 in igc_dump_check_object_starts (relocs=0x11ce31a3, dump_base=0x1a9d5020, hot_start=0x1a9d5098, hot_end=0x1afe41e8, cold_start=0x1b005020, heap_end=0x1b17de88) at igc.c:4820 4820 eassert (end == p); (gdb) ptype struct igc_header type = struct igc_header { uint64_t v; } (gdb) p obj_size(end) $1 = 24 (gdb) p header_tag(end) $2 = 1 (gdb) p IGC_TAG_EXTHDR+0 $4 = 2 (gdb) p *(struct igc_header *)end $5 = {v = 55835531293} (gdb) p/x *(struct igc_header *)end $6 = {v = 0xd000e981d} (gdb) So some relocation in the pdump corresponds to a corrupted bloc or something?