[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51688: ELC+ELN international/emoji.elc crashes
From: |
Andrea Corallo |
Subject: |
bug#51688: ELC+ELN international/emoji.elc crashes |
Date: |
Wed, 17 Nov 2021 16:27:44 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Andreas Schwab <schwab@linux-m68k.org> writes:
> On Nov 17 2021, Andrea Corallo wrote:
>
>> Andreas Schwab <schwab@linux-m68k.org> writes:
>>
>>> On Nov 17 2021, Andrea Corallo wrote:
>>>
>>>> If the crash is on the libgccjit side IMO it indicates it's a libgccjit
>>>> bug.
>>>
>>> It can easily be a wrong use of it, too.
>>
>> Agree, but it should not crash.
>
> If you pass it invalid data (like use-after-free), it may not be able to
> avoid a crash.
That is true. OTOH the API of libgccjit AFAIK is made to copy any
region of memory passed to it during the libgccjit record phase so it's
quite robust in this sense.
Here we are crashing calling from 'comp_compile_ctxt_to_file' therfore
we are in the replay phase and use-after-free should have caused a
problem earlier.
I can't prove my conclusion is correct, but that's what my knowledge and
experience on this system tells me here.
Anyway, if someone has access to a machine were we can reproduce it,
creating a libgccjit reproducer using `comp-libgccjit-reproducer' should
be the way to look at it and test if my idea is correct or not.
Regards
Andrea
- bug#51688: ELC+ELN international/emoji.elc crashes, (continued)
- bug#51688: ELC+ELN international/emoji.elc crashes, Eli Zaretskii, 2021/11/08
- bug#51688: ELC+ELN international/emoji.elc crashes, Lars Ingebrigtsen, 2021/11/08
- bug#51688: ELC+ELN international/emoji.elc crashes, Andrea Corallo, 2021/11/17
- bug#51688: ELC+ELN international/emoji.elc crashes, Andreas Schwab, 2021/11/17
- bug#51688: ELC+ELN international/emoji.elc crashes, Andrea Corallo, 2021/11/17
- bug#51688: ELC+ELN international/emoji.elc crashes, Andreas Schwab, 2021/11/17
- bug#51688: ELC+ELN international/emoji.elc crashes,
Andrea Corallo <=
- bug#51688: ELC+ELN international/emoji.elc crashes, Andreas Schwab, 2021/11/17
- bug#51688: ELC+ELN international/emoji.elc crashes, Andrea Corallo, 2021/11/18
- bug#51688: ELC+ELN international/emoji.elc crashes, Andreas Schwab, 2021/11/18
- bug#51688: ELC+ELN international/emoji.elc crashes, Andrea Corallo, 2021/11/18
bug#51688: ELC+ELN international/emoji.elc crashes, Andreas Schwab, 2021/11/22
- bug#51688: ELC+ELN international/emoji.elc crashes, Eli Zaretskii, 2021/11/22
- bug#51688: ELC+ELN international/emoji.elc crashes, Robert Pluim, 2021/11/22
- bug#51688: ELC+ELN international/emoji.elc crashes, Robert Pluim, 2021/11/23
- bug#51688: ELC+ELN international/emoji.elc crashes, Eli Zaretskii, 2021/11/23
- bug#51688: ELC+ELN international/emoji.elc crashes, Robert Pluim, 2021/11/23