|
From: | Alex Ivershen |
Subject: | DDD 3.3.1 on Solaris 2.8 problems |
Date: | Wed, 05 Feb 2003 15:57:00 -0600 |
First, thanks a bunch for developing and supporting such a nice piece of software for all of us! Been using it for a long time and hope to continue doing so! :)
I have built and installed DDD 3.3.1 for Solaris 2.8 today. There was one linkage problem that caused compilation to fail - undefined external Xm21InstallImage() in InitImage.C. I fixed that by resetting the following define to zero in config.h:
/* Define if the Motif library defines Xm21InstallImage */
#define HAVE_XM21INSTALLIMAGE 0
It's strange, however, that configure script set it when the function is in effect not there ... So I thought I would let you know - maybe it's worth fixing or putting into PROBLEMS file.
More problematic is that when I try to start ddd, I get the following: "Warning: This DDD requires a Motif 1.2 library (using Motif 2.1) ... Continue at own risk.". Then it promptly segfaults. I thought that Motig would be backwards compatible ... It this a known issue and could you point me to a fix? I am using standard Solaris 2.8 installation from Sun with whatever packages it came with. Here is a backtrace of the core dump and ddd configuration options if this might help.
Thanks a lot beforehand! I know how we all software people are overworked,
so I'll be patient here.
Alex
marjoram{agi}: ddd --configuration
GNU DDD 3.3.1 (sparc-sun-solaris2.8)
Copyright (C) 1995-1999 Technische Universitфt Braunschweig, Germany.
Copyright (C) 1999-2001 Universitфt Passau, Germany.
Compiled with GCC 2.95.3 20010315 (release), libstdc++ 2.8.0
Requires X11R5, Xt11R5, Motif 1.2.4 (OSF/Motif Version 1.2.4)
Includes XPM 3.4.3, DDD core
Built 2003-02-05 by Alex Ivershen <alex.ivershen@inet.com>.
Core was generated by `./ddd '.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/dt/lib/libXm.so.4...done.
Loaded symbols for /usr/dt/lib/libXm.so.4
Reading symbols from /usr/openwin/lib/libXt.so.4...done.
Loaded symbols for /usr/openwin/lib/libXt.so.4
Reading symbols from /usr/openwin/lib/libXp.so.1...done.
Loaded symbols for /usr/openwin/lib/libXp.so.1
Reading symbols from /usr/openwin/lib/libXext.so.0...done.
Loaded symbols for /usr/openwin/lib/libXext.so.0
Reading symbols from /usr/openwin/lib/libX11.so.4...done.
Loaded symbols for /usr/openwin/lib/libX11.so.4
Reading symbols from /usr/openwin/lib/libSM.so.6...done.
Loaded symbols for /usr/openwin/lib/libSM.so.6
Reading symbols from /usr/openwin/lib/libICE.so.6...done.
Loaded symbols for /usr/openwin/lib/libICE.so.6
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libcurses.so.1...done.
Loaded symbols for /usr/lib/libcurses.so.1
Reading symbols from /usr/lib/liby.so.1...done.
Loaded symbols for /usr/lib/liby.so.1
Reading symbols from /usr/lib/libelf.so.1...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /probe/SimXinuRef/ThirdParty/gnu-solaris/lib/libstdc++.so.2.10.0...done.
Loaded symbols for /probe/SimXinuRef/ThirdParty/gnu-solaris/lib/libstdc++.so.2.10.0
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/openwin/lib/libdga.so.1...done.
Loaded symbols for /usr/openwin/lib/libdga.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
Reading symbols from /usr/lib//liblayout.so...done.
Loaded symbols for /usr/lib//liblayout.so
#0 0xfecc275c in t_splay () from /usr/lib/libc.so.1
(gdb) bt
#0 0xfecc275c in t_splay () from /usr/lib/libc.so.1
#1 0xfecc25c8 in t_delete () from /usr/lib/libc.so.1
#2 0xfecc1c70 in _malloc_unlocked () from /usr/lib/libc.so.1
#3 0xfecc1ac8 in malloc () from /usr/lib/libc.so.1
#4 0xfedc2314 in __builtin_new (sz=60) at ../../gcc-2.95.3/gcc/cp/new1.cc:84
#5 0x0003d720 in string_Scat (old=0x0, s=0x4b880c "/home/agi",
srclen=9, t=0x2c5a48 "/.ddd", tlen=5) at strclass.C:188
#6 0x0014888c in session_state_dir () at strclass.h:1137
#7 0x001489f4 in session_dir (session=@0x33ed98) at session.C:154
#8 0x00148b24 in session_file (session=@0x33ed98, base=@0xffbed078)
at session.C:161
#9 0x0001e800 in init_dddlog () at session.h:74
#10 0x000e67a4 in ddd_fatal (sig=11) at exit.C:465
#11 <signal handler called>
#12 0xfecc275c in t_splay () from /usr/lib/libc.so.1
#13 0xfecc25c8 in t_delete () from /usr/lib/libc.so.1
#14 0xfecc1c70 in _malloc_unlocked () from /usr/lib/libc.so.1
#15 0xfecc1ac8 in malloc () from /usr/lib/libc.so.1
#16 0xff09f660 in XtMalloc () from /usr/openwin/lib/libXt.so.4
#17 0xff0b425c in XtAllocateGC () from /usr/openwin/lib/libXt.so.4
#18 0xff28cb10 in _XmGetPixmapBasedGC () from /usr/dt/lib/libXm.so.4
#19 0xff15b600 in Initialize () from /usr/dt/lib/libXm.so.4
#20 0xff0a6ea0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#21 0xff0a6e4c in CallInitialize () from /usr/openwin/lib/libXt.so.4
#22 0xff0a6e4c in CallInitialize () from /usr/openwin/lib/libXt.so.4
#23 0xff0a3118 in xtCreate () from /usr/openwin/lib/libXt.so.4
#24 0xff0ab48c in _XtCreateWidget () from /usr/openwin/lib/libXt.so.4
#25 0xff0ab1bc in XtCreateWidget () from /usr/openwin/lib/libXt.so.4
#26 0x00018778 in main (argc=2, argv=0xffbee4d4) at ddd.C:2240
-- Alex G. Ivershen Inet Technologies, Inc. Network Products Dept. 1500 N. Greenville Ave. Inet Technologies Inc. Richardson, TX 75081 Phone: +1-469-330-4295 USA "Black Holes are where God divided by zero"
[Prev in Thread] | Current Thread | [Next in Thread] |