Archive for September, 2013

Xalan segfault

September 30th, 2013 No comments

When using xalan-c 1.10 and the supporting package xerces-c (3.0.1) from EPEL, Xalan would segfault when transforming xml with xslt. E.g.

[root@box generate]# Xalan test.xml test.xsl
 Segmentation fault (core dumped)

/var/log/messages didn’t have any helpful information:

Sep 30 17:52:01 box kernel: Xalan[25236]: segfault at 18 ip 00007f5b44758cb9 sp 00007fffa8ff33d0 error 4 in[7f5b444d3000+3e2000]

There seems to be a bug open for this at EPEL (BugĀ 807816 – Xalan-c segfaults on any input), but it has not been acknowledged or worked on.

I traced the problem to an incompatibility between xalan-c 1.10 and xerces-c 3.x. There is a patch as part of the EPEL xalan-c rpm which is meant to allow for this, but it seems broken as the source rpm didn’t compile for me.

An easy fix here is to upgrade both xalan-c and xerces-c to the latest version. I hacked together rpms for these based on the work already done in EPEL:


After initial testing it seems that this fixes the problem and XML can now be transformed in Xalan with XSLT

Categories: Uncategorized Tags:

OpenSSL 1.0.1 for RHEL/CentOS 6.x

September 26th, 2013 No comments

This is a great page on how to build OpenSSL 1.0.1 for RHEL/CentOS 6.x:

This has been ported from the work done on Fedora OpenSSL ( and FIPS has been removed for ease of compiling.

Have been running this on our dev environment for a few days and seems to be secure. OpenSSL 1.0.1 adds TLS 1.1/1.2 (changelog here:

Categories: Uncategorized Tags: