[kaffe] Details on backported stuff...
Jim Pick
jim@kaffe.org
Sun Aug 31 22:30:02 2003
On Sun, 31 Aug 2003 21:57:04 -0700
Jim Pick <jim@kaffe.org> wrote:
> On Sun, 31 Aug 2003 21:26:50 -0600
> Timothy Stack <stack@cs.utah.edu> wrote:
>
> > I'm not seeing this, whats the error? I'm using jikes 1.18 btw...
>
> It's segfaulting.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x4004ffd9 in pushFrame (pe=0xbffff180, ps=0xbffff010, op=3, script_pos=0xc, values_pos=12,
> args=0xc <Address 0xc out of bounds>) at ../../../kaffe/kaffe/kaffevm/stringParsing.c:115
> 115 VA_LIST_COPY(pf->args, args);
> (gdb) bt
> #0 0x4004ffd9 in pushFrame (pe=0xbffff180, ps=0xbffff010, op=3, script_pos=0xc, values_pos=12,
> args=0xc <Address 0xc out of bounds>) at ../../../kaffe/kaffe/kaffevm/stringParsing.c:115
> #1 0x4005098a in parseString_private (pe=0xbffff180, subString=0x7, script=0x0, values=0x0, op=3,
> args=0xbffff1ac "\f") at ../../../kaffe/kaffe/kaffevm/stringParsing.c:605
> #2 0x40050fc5 in parseString (str=0xc <Address 0xc out of bounds>, op=5)
> at ../../../kaffe/kaffe/kaffevm/stringParsing.c:806
> #3 0x08049bb5 in main (argc=1, argv=0xbffff2d4) at ../../../kaffe/test/internal/jit_stub.c:165
>
> This is on a Debian unstable machine, "gcc version 3.3.2 20030812
> (Debian prerelease)", Jikes 1.18. I'm not seing this on my Red Hat 8.0
> machine. I'll dig deeper.
It looks like va_start() is doing something weird. I'm going to assume
that there's just something weird with my toolchain on that machine, and
I'm going to upgrade it.
Cheers,
- Jim