bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ddd 3.2.1 dumpes core on HPUX 10.20


From: Jost Martin
Subject: ddd 3.2.1 dumpes core on HPUX 10.20
Date: Mon, 9 Oct 2000 10:50:04 +0200

Hello,

I tried, to build and run ddd 3.2.1 on HPUX 10.20 without success. Building 
works without problems, but ddd imidiately crashes at startup.
I tried both gcc (gcc version 2.95.2 19991024 (release)) and HP Tools (aCC: HP 
ANSI C++ B3910B A.01.21; and  HP92453-01 A.10.32.30 HP C Compiler)
I tried both with Motif 1.2 and lesstif-0.91.8, but every combination crashes 
with a core-dump.
HPUX is up-to-date (latest Application-CD and Patch-CD installed)
Especially:
PHSS_20861            B.10.00.00.AA  X/Motif Runtime MAR2000 Periodic Patch 
PHSS_21110            B.10.00.00.AA  ld(1) and som tools cumulative patch 
PHSS_17872            B.10.00.00.AA  HP aC++ runtime libraries (aCC A.01.21) 

What's going wrong here ?
Should I try another version of ddd ? Other compiler-settings ? Get additional 
patches ?
If you need additional information, please let me know !

Thanks

Martin Jost


The results are (~/.ddd/log): 

With gcc (and lesstif) :
export CC=gcc
export CXX=g++
export CPPFLAGS="-I/pd/libs/include"
export LDFLAGS=" -L/pd/libs/lib"
./configure -prefix=/pd/ddd3.2.1 --with-motif-includes=/pd/libs/include 
--with-motif-libraries=/pd/libs/libs

GNU DDD 3.2.1 (hppa2.0-hp-hpux10.20)
Copyright (C) 1995-1999 Technische Universitaet Braunschweig, Germany.
Copyright (C) 1999-2000 Universitaet Passau, Germany.
Compiled with GCC 2.95.2 19991024 (release), libstdc++ 2.8.0
Requires X11R6, Xt11R6, Motif 1.2 (GNU/LessTif Version 1.2 Release 0.91.8)
Includes DDD core, Manual, App defaults, XPM 3.4.7, Athena Panner
Built 2000-10-06 by PD-SW-Owner <unknown>.
$  ./ddd
+  /bin/sh -c 'exec gdb -q -fullname'
!  Segmentation fault
+  /bin/sh -c 'gdb -x /var/tmp/caaa11306 ./ddd core'
GNU gdb 4.17
Copyright 1998 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 "hppa1.1-hp-hpux10.20"...
Core was generated by `ddd-3.2.1-hppa'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from ./ddd...done.
Reading symbols from /pd/libs/lib/libXm.sl.1...done.
Reading symbols from /usr/lib/X11R6/libXp.1...done.
Reading symbols from /pd/libs/lib/libXpm.sl...done.
Reading symbols from /usr/lib/X11R6/libXext.2...done.
Reading symbols from /usr/lib/X11R6/libXt.2...done.
Reading symbols from /usr/lib/X11R6/libSM.1...done.
Reading symbols from /usr/lib/X11R6/libICE.1...done.
Reading symbols from /usr/lib/X11R6/libX11.2...done.
Reading symbols from /usr/lib/liby.1...done.
Reading symbols from /usr/lib/libc.1...done.
Reading symbols from /usr/lib/libdld.1...done.
#0  0xc01411e0 in kill ()
#0  0xc01411e0 in kill ()
#1  0xc00aa77c in raise ()
#2  0x233f74 in ddd_dump_core (sig=11) at exit.C:538
#3  0x233d8c in ddd_fatal (sig=11) at exit.C:476
#4  <signal handler called>
#5  0xc0b37508 in XFindContext ()
#6  0xc2237164 in _XmGetModifierMappingsForDisplay ()
#7  0xc21c4ed0 in SetLateModifier ()
#8  0xc21c5198 in _XmMapKeyEvent ()
#9  0xc21c1648 in _XmManagerInstallAccelerator ()
#10 0xc21ad698 in initialize ()
#11 0xc1859d50 in CallInitialize ()
#12 0xc1859d24 in CallInitialize ()
#13 0xc185a1ec in xtCreate ()
#14 0xc185a898 in _XtCreateWidget ()
#15 0xc185a9bc in XtCreateWidget ()
#16 0xc21d6648 in XmCreatePushButton ()
#17 0x156350 in MMaddItems (shell=0x400e2090, items=0x400033c8,
    ignore_seps=false) at MakeMenu.C:356
#18 0x1571f4 in MMcreatePulldownMenu (parent=0x0, name=0x0, items=0x400033c8,
    args=0x7b03c700, arg=0) at MakeMenu.C:639
#19 0x156428 in MMaddItems (shell=0x400c8958, items=0x40005804,
    ignore_seps=false) at MakeMenu.C:399
#20 0x157404 in MMcreateMenuBar (parent=0x0, name=0x0, items=0x40005804,
    args=0x7b03c700, arg=0) at MakeMenu.C:682
#21 0x1019b4 in main (argc=1, argv=0x7b03a998) at ddd.C:2277



With cc/aCC (und lesstif):
Build with:
export CC=cc
export CXX=aCC
export CPPFLAGS="-I/pd/libs/include -D_POSIX_SOURCE -D_HPUX_SOURCE"
export LDFLAGS=" -L/pd/libs/lib"
export CFLAGS="+DAportable +O2 -Aa -D_POSIX_SOURCE -D_HPUX_SOURCE"
export CXXFLAGS="+DAportable +O2 -D_POSIX_SOURCE -D_HPUX_SOURCE"
./configure -prefix=/pd/ddd3.2.1 --without-gcc


GNU DDD 3.2.1 (hppa2.0-hp-hpux10.20)
Copyright (C) 1995-1999 Technische Universitaet Braunschweig, Germany.
Copyright (C) 1999-2000 Universitaet Passau, Germany.
Compiled with aCC
Requires X11R6, Xt11R6, Motif 1.2 (GNU/LessTif Version 1.2 Release 0.91.8)
Includes DDD core, Manual, App defaults, XPM 3.4.7, Athena Panner
Built 2000-10-05 by PD-SW-Owner <unknown>.
$  ./ddd
+  /bin/sh -c 'exec gdb -q -fullname'
!  Bus error
+  /bin/sh -c 'gdb -x /var/tmp/caaa03639 ./ddd core'
GNU gdb 4.17
Copyright 1998 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 "hppa1.1-hp-hpux10.20"...
(no debugging symbols found)...
Core was generated by `ddd-3.2.1-hppa'.
Program terminated with signal 10, Bus error.
Reading symbols from ./ddd...(no debugging symbols found)...done.
Reading symbols from /pd/libs/lib/libXm.sl.1...done.
Reading symbols from /usr/lib/X11R6/libXp.1...done.
Reading symbols from /pd/libs/lib/libXpm.sl...done.
Reading symbols from /usr/lib/X11R6/libXext.2...done.
Reading symbols from /usr/lib/X11R6/libXt.2...done.
Reading symbols from /usr/lib/X11R6/libSM.1...done.
Reading symbols from /usr/lib/X11R6/libICE.1...done.
Reading symbols from /usr/lib/X11R6/libX11.2...done.
Reading symbols from /usr/lib/liby.1...done.
Reading symbols from /usr/lib/libstd.1...done.
Reading symbols from /usr/lib/libstream.1...done.
Reading symbols from /usr/lib/libCsup.1...done.
Reading symbols from /usr/lib/pa1.1/libcl.1...done.
Reading symbols from /usr/lib/libisamstub.1...done.
Reading symbols from /usr/lib/libc.1...done.
Reading symbols from /usr/lib/libdld.1...done.
#0  0xc01411e0 in kill ()
#0  0xc01411e0 in kill ()
#1  0xc00aa77c in raise ()
#2  0xf9930 in ddd_dump_core ()
!  Interrupt








reply via email to

[Prev in Thread] Current Thread [Next in Thread]