Bug 163017 - Crash linking with libGLw
Crash linking with libGLw
Status: CLOSED INSUFFICIENT_DATA
Product: Fedora
Classification: Fedora
Component: mesa (Show other bugs)
4
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Adam Jackson
David Lawrence
:
: 161528 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-12 05:50 EDT by Wayne Price
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-26 15:10:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Sample code demonstrating problem (426 bytes, text/plain)
2005-07-12 05:50 EDT, Wayne Price
no flags Details

  None (edit)
Description Wayne Price 2005-07-12 05:50:09 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5

Description of problem:
Trying to port an OpenMotif/OpenGL application to the x86_64 architecture has thrown up a problem with libGLw. There appears to be something badly wrong internally with this library, such that just linking with it (not even using it) causes an immediate crash.

If compiled with the following
  g++ -g motiftest.cpp -o motiftest -L/usr/X11R6/lib64 -lGL -lXm -lXmu -lXt -lX11
then the sample code runs perfectly.

If compiled with libGLW, e.g.
  g++ -g motiftest.cpp -o motiftest -L/usr/X11R6/lib64 -lGLw -lGL -lXm -lXmu -lXt -lX11
then the sample code crashed within the XtVaCreateManagedWidget call.

Version-Release number of selected component (if applicable):
xorg-x11-devel-6.8.2-37 openmotif-devel-2.2.3-10 openmotif-2.2.3-10

How reproducible:
Always

Steps to Reproduce:
1. Compile with g++ -g motiftest.cpp -o motiftest -L/usr/X11R6/lib64 -lGLw -lGL -lXm -lXmu -lXt -lX11
2. Run ./motiftest
  

Actual Results:  Application core-dumps within the internals of Xt.

Expected Results:  It should have created the widget and continued.

Additional info:
Comment 1 Wayne Price 2005-07-12 05:50:50 EDT
Created attachment 116640 [details]
Sample code demonstrating problem
Comment 2 Wayne Price 2005-07-12 06:15:54 EDT
Same problem occurs on i386. The code works fine using FC2 and FC3.
Comment 3 Mike A. Harris 2005-08-30 08:35:27 EDT
Yes, openmotif includes a bundled version of libGLw which they have modified
in an incompatible way to the "official" libGLw which ships with X.Org. I
believe there have been updates released to address this openmotif bug.

Reassigning to openmotif component...
Comment 4 Thomas Woerner 2005-09-07 11:38:31 EDT
Nope, libGLw includes copies of openmotif headers.
Assigning back to xorg-x11.
Comment 5 Mike A. Harris 2005-09-14 02:13:42 EDT
*** Bug 161528 has been marked as a duplicate of this bug. ***
Comment 6 Mike A. Harris 2005-09-14 02:16:39 EDT
Adding to FC5Target for review.
Comment 7 Scott A. Friedman 2005-10-24 15:08:46 EDT
Has anyone identified what the actual problem is? 

Does you last comment mean that this will not be fixed for FC4?
Comment 8 Mike A. Harris 2006-06-14 18:30:54 EDT
(In reply to comment #7)
> Has anyone identified what the actual problem is?

Yes, see comment #4 above.

> Does you last comment mean that this will not be fixed for FC4?

It doesn't mean that, but in reality, that is probably true nonetheless.

Ultimately, what we'd like to do, is have libGLw and libGLU split out
of Mesa sources, as they really should be standalone rpm packages.  Then,
we'd like to push at least libGLw to Fedora Extras, as nothing in the
distribution uses it now.

In the mean time, what is needed, is for someone to investigate the
libGLw build, remove the private openmotif headers, and restructure
the Makefiles or whatever to use the installed systemwide motif
headers instead.  Then to produce a patch, test it, and commit it
to CVS.  From there it will go into rawhide for a while to be
tested, and then theoretically make it into future FC5 and FC4
updates.

However, it is currently a low priority issue right now.  It'll get
fixed eventually, but wether FC4 is still maintained or not by then
is another question.  If someone cares strongly about the issue and
is interested in doing the legwork and attaches a patch that fixes
the problem however, that would seriously speed up the likelyhood
of this getting fixed in FC5 and FC4 sooner.

There's just too much going on in rawhide right now, and over 200
open bugs in bugzilla against X components, so unfortunately, many
issues will sit around for a while based on priority and other
factors.

Patches certainly welcome though, thanks for asking.  ;)
Comment 9 Kevin E. Martin 2006-08-18 13:46:56 EDT
Changing component to Mesa.
Need to verify that this is still happening with the latest libGLw.
Comment 10 Christian Iseli 2007-01-22 06:11:31 EST
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Thanks.
Comment 11 Adam Jackson 2007-05-26 15:10:09 EDT
Mass closure: This bug has been in NEEDINFO for over six weeks with no
additional information provided, and is therefore being closed.  If this bug is
still an issue for you, please supply the requested information, and reopen the bug.

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