all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: pipcet@protonmail.com,  eller.helmut@gmail.com,  emacs-devel@gnu.org
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	[thread overview]
Message-ID: <m2sew0p3d1.fsf@pro2.fritz.box> (raw)
In-Reply-To: <86y15s893y.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 23 Jul 2024 17:40:33 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Tue, 23 Jul 2024 17:26:29 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> 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.



  reply	other threads:[~2024-07-23 14:52 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-23 12:58 MPS: unable to build due to assertion violation in igc_dump_check_object_starts Eli Zaretskii
2024-07-23 14:10 ` Gerd Möllmann
2024-07-23 14:26   ` Eli Zaretskii
2024-07-23 14:40     ` Eli Zaretskii
2024-07-23 14:52       ` Gerd Möllmann [this message]
2024-07-23 15:43         ` Eli Zaretskii
2024-07-23 16:29           ` Gerd Möllmann
2024-07-23 18:00             ` Eli Zaretskii
2024-07-23 18:37               ` Eli Zaretskii
2024-07-23 18:40                 ` Pip Cet
2024-07-23 18:48                   ` Gerd Möllmann
2024-07-23 19:12                     ` Pip Cet
2024-07-23 19:25                       ` Gerd Möllmann
2024-07-23 19:30                         ` Gerd Möllmann
2024-07-23 22:47                           ` Pip Cet
2024-07-24  3:50                             ` Gerd Möllmann
2024-07-24 11:27                             ` Eli Zaretskii
2024-07-24  8:01                   ` Helmut Eller
2024-07-24  8:21                     ` Pip Cet
2024-07-24  8:33                       ` Helmut Eller
2024-07-24  9:20                         ` Pip Cet
2024-07-24  9:39                           ` Helmut Eller
2024-07-24  9:54                             ` Pip Cet
2024-07-24 11:40                               ` Helmut Eller
2024-07-24 12:25                                 ` Pip Cet
2024-07-24 11:44                         ` Eli Zaretskii
2024-07-23 18:50                 ` Gerd Möllmann
2024-07-23 18:42               ` Gerd Möllmann
2024-07-23 18:49                 ` Eli Zaretskii
2024-07-23 18:59                   ` Gerd Möllmann
2024-07-23 14:42     ` Pip Cet
2024-07-23 16:28 ` Pip Cet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2sew0p3d1.fsf@pro2.fritz.box \
    --to=gerd.moellmann@gmail.com \
    --cc=eliz@gnu.org \
    --cc=eller.helmut@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=pipcet@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.