Обсуждение: libxml related crash on git head
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
I'm getting HEAD errors on my build farm animal fennec.
I've narrowed it down to this test case:
greg=# CREATE TEMP TABLE boom AS SELECT 'ABC'::bytea;
greg=# SELECT table_to_xml('boom',false,false,'');
server closed the connection unexpectedly This probably means the server terminated abnormally before or
whileprocessing the request.
The connection to the server was lost. Attempting reset: Failed.
Specifically, it's only the bytea data type, with that function. The
boolean arguments do not make a difference. I cannot reproduce this on
other boxes, so I suspect it may be a libxml bug. This server is running
libxml2 version 2.7.2: we require >= 2.6.23. I've tried manually installing
a newer version of libxml, but make fails with:
ld: crtbeginS.o: No such file: No such file or directory
libtool: install: error: relink `libxml2mod.la' with the above command before installing it
I don't have time/inclination to track down why the make is failing, but
may have some time to run any Postgres-specific tests, if anyone wishes
me to.
- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 201204021528
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----
iEYEAREDAAYFAk95/iMACgkQvJuQZxSWSshVdACfQN+2EAgPP8LRq1wSAa33OWMm
oz8AoIaU91+JcFMdpb0ecWPPJyLRyRgq
=ZNWe
-----END PGP SIGNATURE-----
"Greg Sabino Mullane" <greg@turnstep.com> writes:
> I'm getting HEAD errors on my build farm animal fennec.
Oh, I looked at that the other day. The animal started failing after
you installed a new libxml in /usr/local. It looks like it is compiling
against the /usr/local copy but still executing against the .so in
/usr/lib64. Linuxen are not terribly friendly to ad-hoc library
installs --- in particular, if you don't tell ldconfig to look in
/usr/local, it's never gonna work.
> I don't have time/inclination to track down why the make is failing,
I'd suggest just dropping the non-default libxml installation, then.
BTW, right at the moment you seem to have git issues, too.
regards, tom lane
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 > >> I'm getting HEAD errors on my build farm animal fennec. > Oh, I looked at that the other day. The animal started failing after > you installed a new libxml in /usr/local. Ah, okay, that makes sense. So MediaWiki wanted a new version but libxml was being *really* problematic so I abandoned the install, but I guess it left some pieces around. I will see if I can clean it up. > BTW, right at the moment you seem to have git issues, too. Thanks, I will check on that. - -- Greg Sabino Mullane greg@turnstep.com PGP Key: 0x14964AC8 201204021608 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAk96B2IACgkQvJuQZxSWSsg9RQCg0DaEGVldBl6eI7ajZ+4DMcWx wtAAoO9h/9+isE/X/Y+T7xwcgCb1ZCxL =JAZN -----END PGP SIGNATURE-----