From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= 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 16:52:42 +0200 Message-ID: References: <861q3k9sfb.fsf@gnu.org> <86zfq889re.fsf@gnu.org> <86y15s893y.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="13664"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: pipcet@protonmail.com, eller.helmut@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 23 16:53:06 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 1sWGsy-0003LY-M5 for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Jul 2024 16:53:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWGsj-0000Qf-KG; Tue, 23 Jul 2024 10:52:49 -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 1sWGsh-0000Lj-CN for emacs-devel@gnu.org; Tue, 23 Jul 2024 10:52:47 -0400 Original-Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sWGsf-0005eb-Sl; Tue, 23 Jul 2024 10:52:47 -0400 Original-Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a7a843bef98so89935166b.2; Tue, 23 Jul 2024 07:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721746364; x=1722351164; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=OslGmx+a/Evv2o3yjINcs7PRGr4q/QSS4zDD/Y5xsMw=; b=EJqHpdJ93IQqKlpA25OBMtTclkJXY1OdJFnuDQrj4vyJKQBXGsbCKkuLQppTtEG+F5 sszUn1gbLoUAvyJktB6vpXi1oXhDJsC1KduxDWQ5JwZtTb60G2Ar2KJ5vkq733RwtJyh gsgy3vx9bOzsCpUUT1p2NpFsCLIcc78gP1GAWRc6uT8h7+Moeo+Hdg2Hvz4ZaYwfuLn+ W+ZZbC/u58Z+2UuZDR3oPgWTL7HpdjafjPK+JuI90mA/t4Cl8gnrzblOQEyye95p8EXL wYkGP9GHEriLS1hWHxkydkX6Xt2tw5K/gxNdIaIwvusWNF7z3Qr9/pIyaNd3n/zQoybx 7gWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721746364; x=1722351164; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OslGmx+a/Evv2o3yjINcs7PRGr4q/QSS4zDD/Y5xsMw=; b=i144+GKuDDl3Xgc3e2pX1WEZv4i4/mzEzsDMwbdTAHVj7K5jWUAeVcMFPOmm/CmT3y 8DDV9wCVCwTu7Dob9bzuroJA/rIJ6GA0VyovS/B9llgEGhhOGkR05D2roFnrdtcgVVMk D++Pm8fpRG5WuCTDcaVG4A8L81PsS6SWdv7ERMUn38hfPHrDXYwnBXJMRz6Xnr4ARN/y KKECkdXCmGAfDSAjQagJ7F7x6+OB/i7NwLBcIMGQTt11zQV98V7Vr3wrCBs9mIRBwky1 82w2XkmrLcm1/dU1uZkPP/QsUipHfLHZKf7gioXghotDsIuaSL7O33GkEkpSdHxW/Efz Uajg== X-Forwarded-Encrypted: i=1; AJvYcCX2sOgICDLmnCt9AC2ATDcBGP0soFU/cn/bnrZ8Rd2JfmEHHnwoTvd7YjeuUZo2W/PiiWgSydpc4fml4PEPNxPyit/P X-Gm-Message-State: AOJu0Yyei/y+aIt3sWerXt0xJ+UdjVLls8Rt2m5fLDiUv6bXEkiMCIBG gfHphhQMX/rGRRKNmpmSTw+79+72jksnK6sl3uFtJWeIKcptSrp8uLHDtQ== X-Google-Smtp-Source: AGHT+IEeH4Ss1HKB5jnvGCycejZLerYwRpExvXGdT28f4MxuAojKpzQPFPWQTma3G5vlFZfOzBmPlw== X-Received: by 2002:a17:906:cac7:b0:a7a:a7b8:ada3 with SMTP id a640c23a62f3a-a7aa7b8af79mr35064066b.3.1721746363455; Tue, 23 Jul 2024 07:52:43 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e3603f.dip0.t-ipconnect.de. [217.227.96.63]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7a3c8bf2f5sm549039066b.120.2024.07.23.07.52.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 07:52:43 -0700 (PDT) In-Reply-To: <86y15s893y.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 23 Jul 2024 17:40:33 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x636.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321994 Archived-At: Eli Zaretskii writes: >> 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? Could you do p header_type(start) please, that should show the IGC_OBJ_xy type of the offending header p header_nwords(start) is the, presumably wrong, size in words, but I think we have already seen it's too large.