DDD 3.3.9 crashes upon launch
Vikrant Grover <[email protected]>
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Message-ID | <C2AA667E7CC7D347A3D704B63CBF435413820EA270@GUREXMB01.ASIAN.AD.ARICENT.COM> |
Hi,
I just built DDD v3.3.9 on Sun Solaris 2.9 but it crashes upon launch. The stack trace is given below. It crashes even if I try to invoke it as "./ddd --configuration" or "./ddd cxxtest" as mentioned in the file INSTALL. Install it doesn't help either and same crash recurs. I tried to debug the crash using the insight debugger and found that it happens during the instantiation of a std string named NO_GDB_ANSWER (given below). The output of the configure script is also given below. Please help me resolve this problem. I'll try building v3.3.12 today.
Stack trace:
_start
_init
__do_global_ctors_aux
__static_initialization_and_desctruction_0(int, int)
std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)
std::ios_base::M_init()
std::locale::opearator=(std::locale const &)
__exchange_and_add(int volatile*, int)
~~~
File: question.h
const string NO_GDB_ANSWER(char(-1));
---
File ostream
explicit basic_ostream(__streambuf_type* __sb)
{ this ->init(__sb); }
Configure output:
checking for product name... ddd 3.3.9 "Perky"
checking for expiration date... no
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for g77... g77
checking whether ln -s works... yes
checking for sh... /sbin/sh
checking for gtar... no
checking for tar... tar
checking for gm4... no
checking for m4... m4
checking for gsed... no
checking for sed... sed
checking for gdiff... no
checking for diff... diff
checking for dvips... no
checking for dvi2ps... no
checking for gzip... gzip
checking for gzip... gzip
checking for remsh... /usr/bin/remsh
checking for lp... lp
checking for gcore... gcore
checking for compface... no
checking for xbm2xface.pl... no
checking for xbm2xface... no
checking for gdb... gdb
checking for perl... perl
checking for perl version greater than or equal to 5.8.0... ok
checking for xterm... xterm
checking for xfontsel... xfontsel
checking for a BSD-compatible install... /usr/local/bin/install -c
checking for bison... bison -y
checking for bison -y flags...
checking bison -y version... 1.875d (ok)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for flex flags... -8
checking for gawk... (cached) nawk
checking for library containing strerror... none required
checking whether the C compiler (gcc) compiles and links a simple C program... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the C++ compiler (g++) compiles a simple program... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking whether the C++ compiler (g++) accepts -Weffc++... yes
checking whether the C++ compiler (g++) accepts -Wuninitialized... yes
checking whether the C++ compiler (g++) accepts -mminimal-toc... no
checking for C++ compiler (g++) warning options... -Wall -W -Wwrite-strings
checking for C++ compiler (g++) optimizing options... -O2
checking for C++ compiler (g++) debugging options... -g
checking for C++ compiler (g++) extra libraries...
checking for C++ compiler (g++) static binding options... -Bstatic
checking for C++ compiler (g++) dynamic binding options... -Bdynamic
checking whether the C++ compiler (g++) accepts -fpermissive... yes
checking whether the C++ compiler (g++) accepts -trigraphs... yes
checking whether the C++ compiler (g++) supports bool types... yes
checking whether the C++ compiler (g++) supports explicit constructors... yes
checking whether the C++ compiler (g++) supports mutable members... yes
checking whether the C++ compiler (g++) supports exception handling... yes
checking whether the C++ compiler (g++) supports standard exceptions... yes
checking whether the C++ compiler (g++) supports namespaces... yes
checking whether the C++ compiler (g++) supports run-time type info... yes
checking whether the C++ compiler (g++) supports long long types... yes
checking whether the C++ compiler (g++) supports __PRETTY_FUNCTION__... yes
checking whether the C++ compiler (g++) supports overloaded new... yes
checking whether the C++ compiler (g++) supports placement new... yes
checking whether the C++ compiler (g++) accepts -isystem... yes
checking whether the C++ compiler (g++) supports new style casts... yes
checking whether the C++ compiler (g++) supports __attribute__ ((noreturn))... yes
checking whether the C++ compiler (g++) supports __builtin_expect... yes
checking for a traditional C preprocessor... gcc -E -traditional-cpp
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... egrep
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin//nm -p
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/ccs/bin//nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.9 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.9 ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.9 ld.so
checking for connect... no
checking for gethostbyname... no
checking for regcmp... yes
checking for connect in -lsocket... yes
checking for gethostbyname in -lnsl... yes
checking for yyerror in -ly... yes
checking for sin in -lm... yes
checking for open in -lc... yes
checking for elf_version in -lelf... yes
checking for tgetent in -lmytinfo... no
checking for tgetent in -lncurses... yes
checking for streampos... no
checking for std::streampos... yes
checking whether the C++ compiler (g++) accepts -fpermissive... (cached) yes
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking whether -R must be followed by a space... no
checking for gethostbyname... (cached) no
checking for gethostbyname in -lnsl... (cached) yes
checking for connect... (cached) no
checking for connect in -lsocket... (cached) yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether libXext is in the standard X library path... yes
checking whether libXp is in the standard X library path... yes
checking whether libXmu is in the standard X library path... yes
checking for Motif... libraries in default path, headers in default path
checking for Xpm... libraries in default path, headers in default path
checking for Athena... libraries in default path, headers in default path
checking whether compiling X headers requires -fpermissive... no
checking for XOpenDisplay in -lX11... yes
checking for _Xlcmbcurmax in -lXintl... no
checking for shmap in -lipc... no
checking for XtToolkitInitialize in -lXt... yes
checking for XShapeQueryVersion in -lXext... yes
checking for XmuCvtStringToOrientation in -lXmu... yes
checking for XpmCreatePixmapFromXpmImage in -lXpm... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking xpm.h usability... no
checking xpm.h presence... no
checking for xpm.h... no
checking for XawTextSetInsertionPoint in -lXaw... yes
checking for X11/Xaw/Form.h... yes
checking for X11/Xaw/Panner.h... yes
checking for X11/Xaw/Porthole.h... yes
checking for X11/Xmu/Editres.h... yes
checking for XpSelectInput in -lXp... yes
checking for XmCreateOptionMenu in -lXm... yes
checking for xmUseVersion in -lXm... yes
checking for XmInstallImage in -lXm... yes
checking for Xm21InstallImage in -lXm... yes
checking for the name of the translation resource... baseTranslations
checking whether Motif dialogs own the string table... no
checking whether make sets $(MAKE)... (cached) yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking return type of signal handlers... void
checking parameter type of signal handlers... int
checking for getpgrp... yes
checking for setpgrp... yes
checking whether getpgrp requires zero arguments... yes
checking whether setpgrp takes no argument... yes
checking for ANSI C header files... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking sys/elf.h usability... yes
checking sys/elf.h presence... yes
checking for sys/elf.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/int_types.h usability... yes
checking sys/int_types.h presence... yes
checking for sys/int_types.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/stat.h... (cached) yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking sys/vty.h usability... no
checking sys/vty.h presence... no
checking for sys/vty.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking sys/core.h usability... yes
checking sys/core.h presence... yes
checking for sys/core.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/ptrace.h usability... no
checking sys/ptrace.h presence... no
checking for sys/ptrace.h... no
checking exception usability... yes
checking exception presence... yes
checking for exception... yes
checking stdexcept usability... yes
checking stdexcept presence... yes
checking for stdexcept... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking for PTRACE_DUMPCORE definition in <sys/ptrace.h>... no
checking for hypot in -lm... yes
checking for _getpty... no
checking for alloca... no
checking for asctime... yes
checking for asctime declaration in time.h... yes
checking for clock... yes
checking for clock declaration in time.h... yes
checking for difftime... yes
checking for difftime declaration in time.h... yes
checking for dup2... yes
checking for dup2 declaration in unistd.h... yes
checking for endpwent... yes
checking for endpwent declaration in pwd.h... yes
checking for fcntl... yes
checking for fcntl declaration in fcntl.h... yes
checking for ftime... yes
checking for ftime declaration in sys/timeb.h... yes
checking for gethostbyname... (cached) no
checking for gethostname... yes
checking for gethostname declaration in unistd.h... yes
checking for getpt... no
checking for getpty... no
checking for getrlimit... yes
checking for getrlimit declaration in sys/resource.h... yes
checking for getrusage... yes
checking for getrusage declaration in sys/resource.h... yes
checking for getwd... yes
checking for getwd declaration in unistd.h... yes
checking for grantpt... yes
checking for grantpt declaration in stdlib.h... yes
checking for hypot... yes
checking for hypot declaration in math.h... yes
checking for ioctl... yes
checking for ioctl declaration in unistd.h sys/ioctl.h... yes
checking for link... yes
checking for link declaration in unistd.h... yes
checking for lstat... yes
checking for lstat declaration in sys/stat.h... yes
checking for malloc... yes
checking for malloc declaration in stdlib.h... yes
checking for memcpy... yes
checking for memcpy declaration in string.h... yes
checking for memset... yes
checking for memset declaration in string.h... yes
checking for mkstemp... yes
checking for mkstemp declaration in stdlib.h... yes
checking for pclose... yes
checking for pclose declaration in stdio.h... yes
checking for popen... yes
checking for popen declaration in stdio.h... yes
checking for ptrace... yes
checking for ptrace declaration in unistd.h sys/ptrace.h... yes
checking for ptsname... yes
checking for ptsname declaration in stdlib.h... yes
checking for raise... yes
checking for raise declaration in signal.h... yes
checking for rand... yes
checking for rand declaration in stdlib.h... yes
checking for random... yes
checking for random declaration in stdlib.h... yes
checking for readlink... yes
checking for readlink declaration in unistd.h... yes
checking for setbuf... yes
checking for setbuf declaration in stdio.h... yes
checking for setlocale... yes
checking for setlocale declaration in locale.h... yes
checking for setpgid... yes
checking for setpgid declaration in unistd.h... yes
checking for setpgrp... (cached) yes
checking for setpgrp declaration in unistd.h... yes
checking for setpgrp2... no
checking for setpwent... yes
checking for setpwent declaration in pwd.h... yes
checking for setrlimit... yes
checking for setrlimit declaration in sys/resource.h... yes
checking for setsid... yes
checking for setsid declaration in unistd.h... yes
checking for setvbuf... yes
checking for setvbuf declaration in stdio.h... yes
checking for sigblock... no
checking for sigprocmask... yes
checking for sigprocmask declaration in signal.h... yes
checking for sigsetmask... no
checking for sigsuspend... yes
checking for sigsuspend declaration in signal.h... yes
checking for srand... yes
checking for srand declaration in stdlib.h... yes
checking for srandom... yes
checking for srandom declaration in stdlib.h math.h... yes
checking for stat... yes
checking for stat declaration in sys/stat.h... yes
checking for strerror... yes
checking for strerror declaration in string.h... yes
checking for strftime... yes
checking for strftime declaration in time.h... yes
checking for strsignal... yes
checking for strsignal declaration in string.h unistd.h... yes
checking for strtod... yes
checking for strtod declaration in stdlib.h... yes
checking for strtol... yes
checking for strtol declaration in stdlib.h... yes
checking for strtoul... yes
checking for strtoul declaration in stdlib.h... yes
checking for symlink... yes
checking for symlink declaration in unistd.h... yes
checking for tcdrain... yes
checking for tcdrain declaration in termios.h... yes
checking for tcflow... yes
checking for tcflow declaration in termios.h... yes
checking for tcflush... yes
checking for tcflush declaration in termios.h... yes
checking for tcgetattr... yes
checking for tcgetattr declaration in termios.h... yes
checking for tcgetpgrp... yes
checking for tcgetpgrp declaration in unistd.h... yes
checking for tcgetsid... yes
checking for tcgetsid declaration in sys/termios.h... yes
checking for tcsendbreak... yes
checking for tcsendbreak declaration in termios.h... yes
checking for tcsetattr... yes
checking for tcsetattr declaration in termios.h... yes
checking for tcsetpgrp... yes
checking for tcsetpgrp declaration in unistd.h... yes
checking for times... yes
checking for times declaration in sys/times.h... yes
checking for tmpfile... yes
checking for tmpfile declaration in stdio.h... yes
checking for uname... yes
checking for uname declaration in sys/utsname.h... yes
checking for unlink... yes
checking for unlink declaration in unistd.h... yes
checking for unlockpt... yes
checking for unlockpt declaration in stdlib.h... yes
checking for waitpid... yes
checking for waitpid declaration in sys/wait.h... yes
checking for PATH_MAX definition in limits.h... yes
checking for _POSIX_PATH_MAX definition in limits.h... yes
checking for MAXPATHLEN definition in sys/param.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ddd/Makefile
config.status: creating ddd/OldMakefile
config.status: creating ddd/vr.h
config.status: creating ddd/bld.h
config.status: creating ddd/Ddd
config.status: creating ddd/ddd.man
config.status: creating ddd/cfg.texi
config.status: creating ddd/.gdbinit
config.status: creating ddd.spec
config.status: creating themes/Makefile
config.status: creating vsllib/Makefile
config.status: creating ddd/config.h
config.status: executing depfiles commands
config.status: executing ddd/stamp-h commands
configure:
configuration is done. Type `make' to make DDD.
In case of trouble, please check the settings in the files generated
by `configure' - that is, `ddd/config.h' and `ddd/Makefile'.
Regards,
Vikrant
________________________________
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error,please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."
_______________________________________________
ddd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ddd