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.
If it is accurate then the question is how could mblen fail so badly?
regards, tom lane