[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [22.1.90]: Point before start of properties
From: |
Stefan Monnier |
Subject: |
Re: [22.1.90]: Point before start of properties |
Date: |
Tue, 19 Feb 2008 16:59:00 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> > Thanks for the suggestions and the careful reading of my report. Is
>> > there anything else you think I could try, eg, to deal with the size of
>> > struct interval? I can confirm that it is 28, though it is 28 with or
>> > without optimisation. I tried padding it to 32 by adding a dummy int to
>> > it, but it still hit the breakpoint with optimisation.
>>
>> Yes, as I said, the assertion failure is probably not a fluke, altough
>> the check itself is a bit fishy.
Actually, now I think it may very well be a fluke: the `i1' that looks
so odd is actually stack allocated (so it may indeed be on a mult-of-4
even if you pad it to 32bytes) and is not fully initialized (because
intervals_equal only looks at the `plist' field) so it may very well
look like a buffer.
> It seems that i0 does point to a valid interval, but i1 does not look
> good. Has it been GCed?
As explained (sorry for not noticing this earlier), i1 is
stack-allocated and not fully initialized, which is why it looks
like garbage. That's completely normal, we're wasting our time here.
Better go back to your actual "point before start of properties" error.
I've removed the INT_LISPLIKE check.
Stefan
- Re: [22.1.90]: Point before start of properties, (continued)
- Re: [22.1.90]: Point before start of properties, Chong Yidong, 2008/02/10
- RE: [22.1.90]: Point before start of properties, Marshall, Simon, 2008/02/12
- Re: [22.1.90]: Point before start of properties, Stefan Monnier, 2008/02/12
- RE: [22.1.90]: Point before start of properties, Marshall, Simon, 2008/02/13
- Re: [22.1.90]: Point before start of properties, Stefan Monnier, 2008/02/18
- RE: [22.1.90]: Point before start of properties, Marshall, Simon, 2008/02/19
- Re: [22.1.90]: Point before start of properties, Stefan Monnier, 2008/02/19
- RE: [22.1.90]: Point before start of properties, Marshall, Simon, 2008/02/19
- Re: [22.1.90]: Point before start of properties, David Kastrup, 2008/02/19
- RE: [22.1.90]: Point before start of properties, Marshall, Simon, 2008/02/20
- Re: [22.1.90]: Point before start of properties,
Stefan Monnier <=
- RE: [22.1.90]: Point before start of properties, Marshall, Simon, 2008/02/20
- Re: [22.1.90]: Point before start of properties, Stefan Monnier, 2008/02/20
- Re: [22.1.90]: Point before start of properties, Eli Zaretskii, 2008/02/20
- Re: [22.1.90]: Point before start of properties, Richard Stallman, 2008/02/21
- Re: [22.1.90]: Point before start of properties, Stefan Monnier, 2008/02/21
- Re: [22.1.90]: Point before start of properties, Stephen J. Turnbull, 2008/02/21
- [OT] Deugging optimized code (was: [22.1.90]: Point before start of properties), Stefan Monnier, 2008/02/22
- Re: [OT] Deugging optimized code (was: [22.1.90]: Point before start of properties), Andreas Schwab, 2008/02/22
- [OT] Deugging optimized code (was: [22.1.90]: Point before start of properties), Stephen J. Turnbull, 2008/02/22
- Re: [22.1.90]: Point before start of properties, Eli Zaretskii, 2008/02/22