Re: recent --with-libxml support

Поиск
Список
Период
Сортировка
От Jeremy Drake
Тема Re: recent --with-libxml support
Дата
Msg-id Pine.BSO.4.64.0612222239450.8221@resin.csoft.net
обсуждение исходный текст
Ответ на Re: recent --with-libxml support  (Jeremy Drake <pgsql@jdrake.com>)
Список pgsql-hackers
On Fri, 22 Dec 2006, Jeremy Drake wrote:

> On Sat, 23 Dec 2006, Tom Lane wrote:
>
> > Peter Eisentraut <peter_e@gmx.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jeremy Drake
Дата:
Сообщение: Re: recent --with-libxml support
Следующее
От: Dave Page
Дата:
Сообщение: Re: Interface for pg_autovacuum