bug-ddd
[Top][All Lists]
Advanced

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

Segmentation fault in DDD and Cygwin 1.3.10


From: I G Clark
Subject: Segmentation fault in DDD and Cygwin 1.3.10
Date: Thu, 7 Mar 2002 14:07:19 -0000

HI,
        I have downloaded and installed the latest CYGWIN 1.3.10
(complete), and installed Xfree for Cygwin. I am however having trouble
running DDD. I have downloaded the latest version 3.3.1, and compile as
the manual suggests, DDD compiles fine, but will not run properly.

        First lets get some details you ask for out of the way

        running 'ddd --configuration' reports
----
GNU DDD 3.3.1 (i686-pc-cygwin)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.

Compiled with GCC 2.95.3-5 (cygwin special), libstdc++ 2.8.0
Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release
0.93.18)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2002-03-07 by Administrator
<Administrator@THINKSHOE.campus.ncl.ac.uk>.
----
        GDB is GNU gdb 5.0 (20010428-3).

        I have lesstif-cygwin-0.93.18 installed.

        DDD Compiles with no warnings or errors out of the box, and
installs OK. However when I try and run it, the main window appears and
then I get an internal error warning, and segmentation fault error
message. As a test I disabled the 'tip of the day' in Ddd, then I dont
get the segmentation fault until I try and open a file.

The contents off ~/.ddd/log are
-----
GNU DDD 3.3.1 (i686-pc-cygwin)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.

Compiled with GCC 2.95.3-5 (cygwin special), libstdc++ 2.8.0
Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release
0.93.18)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2002-03-07 by Administrator
<Administrator@THINKSHOE.campus.ncl.ac.uk>.
$  ddd
+  /bin/sh -c 'exec gdb -q -fullname'
#  Hello, world!
#  Starting GDB...
#  Running GDB (pid 456, tty /dev/tty1)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/Administrator/.ddd/vsllib/ddd.vsl"
#  Trying "/usr/local/share/ddd-3.3.1/vsllib/ddd.vsl"
#  Searching
"vsllib/ddd.vsl"..."/usr/local/share/ddd-3.3.1/vsllib/ddd.vsl".
<- "(gdb) "
-> "set prompt (gdb) \n"
<- "(gdb) "
-> "set height 0\n"
<- "(gdb) "
-> "set width 0\n"
<- "(gdb) "
-> "set annotate 1\n"
<- "(gdb) "
-> " set verbose off\n"
<- "(gdb) "
-> "info line\n"
<- "No line number information available.\n"
<- "(gdb) "
-> "list\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info line\n"
<- "No line number information available.\n"
<- "(gdb) "
-> "output 4711\n"
<- "4711(gdb) "
-> "show language\n"
<- "The current source language is \"auto; currently c\".\n"
<- "(gdb) "
-> "show version\n"
<- "GNU gdb 5.0 (20010428-3)\n"
<- "Copyright 2001 Free Software Foundation, Inc.\n"
<- "GDB is free software, covered by the GNU General Public License, and
you are\n"
<- "welcome to change it and/or distribute copies of it under certain
conditions.\n"
<- "Type \"show copying\" to see the conditions.\n"
<- "There is absolutely no warranty for GDB.  Type \"show warranty\" for
details.\n"
<- "This GDB was configured as \"i686-pc-cygwin\".\n"
<- "(gdb) "
-> "pwd\n"
<- "Working directory /home/Administrator.\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
<- "(gdb) "
-> "show history filename\n"
<- "The filename in which to record the command history is
\"/home/Administrator/.gdb_history\".\n"
<- "(gdb) "
-> "show history size\n"
<- "The size of the command history is 256.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info sources\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info line main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info line MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command."
<- "\n"
<- "(gdb) "
-> "info files\n"
<- "(gdb) "
-> "info line main_\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
<- "(gdb) "
-> "info line MAIN_\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info line main__\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info line MAIN__\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info line _main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info line _MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info line __main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info line __MAIN\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info line my_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info line the_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info line vxworks_main\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info line main_vxworks\n"
<- "No symbol table is loaded.  Use the \"file\" command.\n"
<- "(gdb) "
-> "set confirm off\n"
<- "(gdb) "
-> "source /tmp/ddd001448\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "# reset\n"
<- "(gdb) "
-> "info breakpoints\n"
<- "No breakpoints or watchpoints.\n"
<- "(gdb) "
-> "display\n"
<- "(gdb) "
-> "info display\n"
<- "There are no auto-display expressions now.\n"
<- "(gdb) "
-> "set environment TERM dumb\n"
<- "(gdb) "
-> "info source\n"
<- "No current source file.\n"
<- "(gdb) "
-> "info files\n"
<- "(gdb) "
-> "info program\n"
<- "The program being debugged is not being run.\n"
<- "(gdb) "
-> "help detach\n"
<- "Detach a process or file previously attached.\n"
<- "If a process, it is no longer traced, and it continues its
execution.  If\n"
<- "you were debugging a file, the file is closed and gdb no longer
accesses it.\n"
<- "(gdb) "
!  Segmentation fault
#  Saving history in "/home/Administrator/.ddd/history"...
#  Saving history in "/home/Administrator/.ddd/history"...done.
#  Thanks for using DDD 3.3.1!  (We apologize for the inconvenience.)
-----

What am I doing wrong? I have read the FAQs and think I have checked all
the version numbers etc.

Please help.

Thanks
Ian



reply via email to

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