RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 844776 - When using OpenMPI, Emacs crashes with undefined symbol: OTF_open
Summary: When using OpenMPI, Emacs crashes with undefined symbol: OTF_open
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openmpi
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Doug Ledford
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On: 1087968
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-31 18:22 UTC by Glenn Morris
Modified: 2015-10-03 21:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-03 21:57:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed patch for emacs.spec file (1.03 KB, patch)
2014-09-02 09:58 UTC, Petr Hracek
no flags Details | Diff

Description Glenn Morris 2012-07-31 18:22:37 UTC
Description of problem:

If using both OpenMPI and Emacs, Emacs crashes when trying to use libotf support, since OpenMPI provides a different libotf.so to the one Emacs expects.

Originally mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=806031#c3,
but seems to have been overlooked. That issue is closed as a duplicate
of a private bug supposedly fixed in 6.3, but this issue still occurs in 6.3.


Version-Release number of selected component (if applicable):
emacs-23.1-21.el6_2.3.x86_64
openmpi-1.5.4-1.el6.x86_64


How reproducible: 100%.


Steps to Reproduce:
1. module load openmpi-x86_64

This is what you are supposed to do if you want to use OpenMPI, as per eg
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Technical_Notes/storage.html

Part of what this does is to add /usr/lib64/openmpi/lib to the front of LD_LIBRARY_PATH. This directory includes a libotf.so file.

2. /usr/bin/emacs -Q

3. Visit a file that contains complex characters. Eg type

C-h h

to view the Emacs HELLO file.


Actual results:

Emacs crashes with:

/usr/bin/emacs: symbol lookup error: /usr/bin/emacs: undefined symbol: OTF_open


Expected results:
No crash


Additional info:

I suppose a workaround might be to build the emacs rpm
using LDFLAGS=-Wl,-rpath=/usr/lib64, so that it prefers the libraries
from /usr/lib64 to any in LD_LIBRARY_PATH.

Comment 2 RHEL Program Management 2012-09-07 05:33:43 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 3 Petr Hracek 2014-09-01 10:59:24 UTC
Hello Glenn,

I think that this bug is related to openmpi where they should fix problem with providing libotf.so? Only libotf package should provide library libotf.so.0.

Two version of library libotf.so.0 does not make sense.

Am I right?

From my point of view I think that settings -rpath directly to /usr/lib{64} is not right approach.

Comment 4 Glenn Morris 2014-09-01 16:37:10 UTC
It looks like OpenMPI renamed their libotf to libopen-trace-format 6 months
after I opened this report.

https://svn.open-mpi.org/trac/ompi/ticket/3497
https://svn.open-mpi.org/trac/ompi/changeset/28010

When that version makes it into RHEL, the problem would presumably disappear.

Comment 5 Petr Hracek 2014-09-02 09:58:06 UTC
Created attachment 933671 [details]
Proposed patch for emacs.spec file

The proposed patch will be used if library libotf remains in package openmpi.
Library libotf was renamed top libopen-trace-format as was written be Glenn Moris (thanks)

Comment 6 Petr Hracek 2014-09-02 10:25:54 UTC
openmpi was updated to 1.8 (#1087968) where the library name is changed to libopen-trace-format.so.


Note You need to log in before you can comment on or make changes to this bug.