From: | Jeremy Drake <pgsql(at)jdrake(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: recent --with-libxml support |
Date: | 2006-12-23 06:45:04 |
Message-ID: | Pine.BSO.4.64.0612222239450.8221@resin.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, 22 Dec 2006, Jeremy Drake wrote:
> On Sat, 23 Dec 2006, Tom Lane wrote:
>
> > Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > > Jeremy Drake wrote:
> > >> #0 0xb7c4dc85 in memcpy () from /lib/tls/libc.so.6
> > >> #1 0x08190f59 in appendBinaryStringInfo (str=0xbfd87f90,
> > >> data=0x841ffc0 "qux", datalen=138543040) at stringinfo.c:192
> > >> #2 0x0828377f in map_sql_identifier_to_xml_name (ident=0x841ffc0
> > >> "qux", fully_escaped=0 '\0') at xml.c:933
> >
> > > Obviously the datalen has gone off the map.
> >
> > I wouldn't put 100% faith in that display, unless Jeremy built with -O0.
>
> I built this one with gcc 3.4.5 using --enable-debug --enable-cassert
> configure options. I will try with -O0 and see what I get...
I just tried the same thing, but passing CFLAGS="-g -O0" to configure and
the xml test passed. Maybe a '\0' termination issue?
I also recompiled everything with the defaults again (-O2) and the xml
test crashed in the same place.
So it is an issue of -O0 works vs -O2 does not. Hate those...
--
When I get real bored, I like to drive downtown and get a great
parking spot, then sit in my car and count how many people ask me if
I'm leaving.
-- Steven Wright
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2006-12-23 08:27:02 | Re: Interface for pg_autovacuum |
Previous Message | Jeremy Drake | 2006-12-23 06:34:08 | Re: recent --with-libxml support |