GNU bug report logs -
#7952
24.0.50; crash in find_interval
Previous Next
Reported by: Romain Francoise <romain <at> orebokech.com>
Date: Tue, 1 Feb 2011 12:34:02 UTC
Severity: normal
Found in version 24.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Andreas Schwab <schwab <at> linux-m68k.org>
> Cc: Romain Francoise <romain <at> orebokech.com>, 7952 <at> debbugs.gnu.org
> Date: Sat, 19 Mar 2011 13:14:48 +0100
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > There's nothing in this code that modifies `tree' in any way. (I even
> > disassembled the code to make sure.) So how come a non-NULL value
> > becomes NULL here?
>
> It isn't, otherwise you would get a crash.
Unless it happens after the place where `tree' is dereferenced.
> > Since this value is passed in a register by the caller and kept in a
> > register from the very beginning of the function, not even some
> > missing GCPRO somewhere could explain this. What am I missing?
>
> Probably your toolchain is too old to be able to produce complete unwind
> information.
I doubt that, since it's GDB 7.2. Maybe it's a GCC problem.
> Try setting a breakpoint at the abort line to get a better picture.
It's a core file. Romain, could you try that, perhaps?
In any case, we could look at TOTAL_LENGTH of the pointer in the frame
where it has a non-NULL value.
This bug report was last modified 14 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.