EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #10207
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Libxml2 and FreeBSD
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Libxml2 and FreeBSD
- From: "Paolo Tealdi" <paolo.tealdi@polito.it>
- Date: Tue, 26 Aug 2025 13:13:44 +0000
CAUTION: This e-mail originated outside the University of Southampton.
Dear all,
more or less 1/2 month ago FreeBSD updated libxml2 its package from version 2.11.9 to version 2.14.5 and it's subsequent XML::LibXML perl package.
With this upgrade eprints became very unstable, on our production server (3.3.15) and on our test server (3.4.6 and 3.5.0 beta 1). The instability seems to happen when it tries to read language files. For example with 3.5.0 the command
#epadmin test [site]
crashes with 'Bus Error' or ' Segmentation fault'
reading .../lib/lang/en/phrases/ep_template.xml
This error seems to disappear when applying this small patch
--- LibXML.pm 2025-08-26 15:02:20.844122000 +0200
+++ LibXML_new.pm 2025-08-26 15:02:46.564720000 +0200
@@ -130,7 +130,7 @@
open(my $fh, "<", $file) or die "Error opening $file: $!";
my $doc;
- eval { $doc = $PARSER->parse_fh( $fh, $basepath ) };
+ eval { $doc = $PARSER->parse_fh( $fh ) };
modifying all the language xml files adding complete path on DTD definition.
Recompiling libxml2 from scratch (not using the package or ports) present the same instability.
The strange thing is that a very small program that reads the language files, without all the eprints infrastructure, works like a charme.
Anybody has found a similar problem ? Any ideas ? I can't test this problem on a Linux server for now, i fear that it is a eprints+FreeBSD related bug.
Best regards,
Paolo Tealdi
Ing. Paolo Tealdi ISIAD - Politecnico Torino Telefono/Phone : +39-011-0906714 , FAX : +39-011-0906625 Indirizzo/Address : C.so Duca degli Abruzzi, 24 - 10129 Torino - ITALY Skype : tealdi.paolo Please consider your environmental responsibility before printing this e-mail |
- Follow-Ups:
- Re: [EP-tech] Libxml2 and FreeBSD
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] Libxml2 and FreeBSD
- Prev by Date: [EP-tech] Seeking advice on handling malicious file uploads in EPrints
- Next by Date: Re: [EP-tech] Libxml2 and FreeBSD
- Previous by thread: [EP-tech] Seeking advice on handling malicious file uploads in EPrints
- Next by thread: Re: [EP-tech] Libxml2 and FreeBSD
- Index(es):