[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changes that should go into version 24.4
From: |
Daniel Colascione |
Subject: |
Re: Changes that should go into version 24.4 |
Date: |
Sat, 22 Mar 2014 02:15:12 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 03/22/2014 02:08 AM, Eli Zaretskii wrote:
>> Date: Fri, 21 Mar 2014 18:57:03 -0700
>> From: Daniel Colascione <address@hidden>
>>
>> It doesn't make sense that we'd fault accessing a stack slot on an
>> active frame: doing so might corrupt something later, sure, but that
>> stack location is valid and touching it isn't going to cause an
>> immediate SIGSEGV.
>
> Crashes in mark_object usually have nothing to do with accessing a
> stack slot per se. mark_object looks at the object type, and then
> extracts a pointer to a C structure from it, and proceeds treating
> that pointer as a valid pointer to a valid structure of that type. If
> pointer it extracts is invalid, or points to something that is not a C
> struct of the type mark_object expects, we will segfault trying to
> interpret those.
>
Ah, yes. I was reading the message about the crash occurring "when
mark_stack calls mark_memory". mark_object makes a lot more sense. (I
read through the rest of the thread, but must have decoded "mark_object"
as "mark_memory" based on the earlier message and the most recent
message.) Thanks.
signature.asc
Description: OpenPGP digital signature
- Changes that should go into version 24.4, Richard Stallman, 2014/03/21
- Re: Changes that should go into version 24.4, Daniel Colascione, 2014/03/21
- Re: Changes that should go into version 24.4, Eli Zaretskii, 2014/03/22
- Re: Changes that should go into version 24.4,
Daniel Colascione <=
- Re: Changes that should go into version 24.4, Richard Stallman, 2014/03/22
- Re: GC bug investigation, Richard Stallman, 2014/03/23
- Re: GC bug investigation, David Kastrup, 2014/03/23
- Re: GC bug investigation, Richard Stallman, 2014/03/24
- Re: GC bug investigation, Daniel Colascione, 2014/03/23
- Re: GC bug investigation, Andreas Schwab, 2014/03/23
- Re: GC bug investigation, Richard Stallman, 2014/03/24