Hi,

I'm getting a segmentation fault running (well just starting) ddd 3.3 on some Solaris 2.6 boxes but not others (the
difference between the boxes being patch levels on the various O-S components).  I  was wondering whether you had
had reports from others users and perhaps knew of any Solaris 2.6 patches that need to be applied ?

On a good box:

   ./ddd --configuration
   GNU DDD 3.3 (sparc-sun-solaris2.6)
   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 X11R6, Xt11R6, Motif 1.2.6 (OSF/Motif Version 1.2.6)
   Includes XPM 3.4.11, Athena Panner, DDD core
   Built 2001-04-11 by Source Code Administrator <unknown>. 

   ./ddd --check-configuration
   Checking for X11 library directory... /usr/openwin/lib/X11
   Checking for XKeysymDB... /usr/openwin/lib/X11/XKeysymDB
   No configuration problems found.   

On a bad box:

   ./ddd --configuration
   GNU DDD 3.3 (sparc-sun-solaris2.6)
   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 X11R6, Xt11R6, Motif 1.2.6 (OSF/Motif Version 1.2.6)
   Includes XPM 3.4.11, Athena Panner, DDD core
   Built 2001-04-11 by Source Code Administrator <unknown>. 
 
   ./ddd --check-configuration
   Internal error (Segmentation Fault).   

The /usr/openwin/lib/X11/XKeysymDB this looks at is the same on both good & bad boxes.

We're using GNU gdb 5.0.  Both it and ddd 3.3 were compiled with gcc 2.95.3.

Below is the log output.  The /usr/openwin/lib/libXt.so.4 before it chokes is exactly the same on good and bad boxes.

Thank you for any help you can give.
Judith

judith.pemberton@ubsw.com

---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Compiled with GCC 2.95.3 20010315 (release), libstdc++ 2.8.0
Requires X11R6, Xt11R6, Motif 1.2.6 (OSF/Motif Version 1.2.6)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2001-04-11 by Source Code Administrator <unknown>.
$  ddd --check-configuration
!  Segmentation Fault
+  /bin/sh -c 'gdb -x /var/tmp/aaaihNk__ ddd core'
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc. 
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.6"...
(no debugging symbols found)...
Core was generated by `ddd --check-configuration'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/dt/lib/libXm.so.3...(no debugging symbols found)...
done.
Loaded symbols for /usr/dt/lib/libXm.so.3
Reading symbols from /usr/openwin/lib/libXaw.so.5...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libXaw.so.5
Reading symbols from /usr/openwin/lib/libXmu.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libXmu.so.4
Reading symbols from /usr/openwin/lib/libXt.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libXt.so.4
Reading symbols from /sbcimp/run/pd/xpm/3.4k/lib/libXpm.so.4.11...
(no debugging symbols found)...done.                             
Loaded symbols for /sbcimp/run/pd/xpm/3.4k/lib/libXpm.so.4.11
Reading symbols from /usr/openwin/lib/libXext.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libXext.so.0
Reading symbols from /usr/openwin/lib/libX11.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libX11.so.4
Reading symbols from /usr/openwin/lib/libSM.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libSM.so.6
Reading symbols from /usr/openwin/lib/libICE.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libICE.so.6
Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libelf.so.1...(no debugging symbols found)... 
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /usr/lib/libm.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1
#0  0xef208244 in _libc_kill () from /usr/lib/libc.so.1
#0  0xef208244 in _libc_kill () from /usr/lib/libc.so.1
#1  0x11fb10 in ddd_show_exception ()
#2  0x11f988 in ddd_show_exception ()
#3  <signal handler called>
#4  0xef51663c in XtInitializeWidgetClass () from /usr/openwin/lib/libXt.so.4
#5  0xef5172fc in _XtCreateWidget () from /usr/openwin/lib/libXt.so.4
#6  0xef517568 in XtCreateWidget () from /usr/openwin/lib/libXt.so.4
#7  0x6ba20 in main ()                      
!  Segmentation Fault
---------------------------------------------------------------------------------------------------------------------------------------------------------------------