Red Hat Bugzilla – Bug 16254
DDD and RH Beta 7
Last modified: 2008-05-01 11:37:57 EDT
I want to run DDD from a remote machine, but it gives me a segmentation fault. It only works on the installed system. I have tried to build the
new 3.2.91 DDD that is supposed to fix Xclient problems, but it fails on PannedGE.C with the following error:
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c PannedGE.C
PannedGE.C: In function `void __static_initialization_and_destruction_0
PannedGE.C:88: non-lvalue in unary `&'
make: *** [PannedGE.o] Error 1
make: Leaving directory `/usr/local/ddd-3.2.91/ddd'
make: *** [all-recursive] Error 1
I can get it to build if I replace portholeWidgetClass on line 90 with zero. I have tried both openmotif and lesstif with the same results.
I have lesstif .91 4-1 and GCC 2.95
Thank you in advance for any help
strange, i can't reproduce this problem. Please check,
that you have to install openmotif.
As I have stated already I have tried it with openmotif.
ddd works on remote machine with RC1, i don't see sigmention fault. I think,
was fixed in RC1. Please try to updated glibc, openmotif and ddd from current
I installed the rawhide versions of glibc, ddd, and openmotif. I obtained the same segmentation fault when I tried to run openmotif from a remote machine.
I have found that ddd runs on a remote sun sparc machine running X, but doesn't work on Windows NT with Reflections.
I have resolved the issue. If you set the DISPLAY on Windows NT when using Reflections ddd will die with a segmentation fault. Although if you clear
the DISPLAY environment variable and set the DISPLAY using ddd's -display DISPLAY option it works perfectly. It's still a bug, but easy to work around.
Note: With RH 7.0 final, I get this same compile failure. I get it with motif,
and compiling ANY version of ddd -- including the one provided on 7.0's
Is there a fix or work-around?
It's fixed in 3.2.92. You will find it in rawhide later.