bug-ddd
[Top][All Lists]
Advanced

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

DDD 3.3.1 (i686-pc-cygwin) gets `Segmentation fault' signal


From: Paul Billings
Subject: DDD 3.3.1 (i686-pc-cygwin) gets `Segmentation fault' signal
Date: Sat, 06 Apr 2002 03:08:10 -1000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1

Trying to install on Cygwin 1.3.10 (WinXP), so I have gathered the "prerequisites": XFree86, LessTif, and DDD. XFree seems to work fine. For DDD, I did the standard
 ./configure
 make
 make install
 ddd
I get the segmentation fault immediately after clicking for XFree86 to create ddd's GUI (which does appear). After a few seconds, the window closes automatically.

I initially installed the cygwin version of the lessTif libs, then tried building from source (with --enable-static). After redoing configure on ddd each time, the segmentation fault was the same in each case. The only other thing I'm unsure about is indicated in the log below, and that's Xt11R6. I don't know what it is exactly, and I don't see it anywhere on my machine after installing XFree86. The other strange thing I just noticed was gdb 5.0 seems to be a GUI app (?). This is not what I expected... Attached is the log file.

I just tried using X-Win32 as the X server. Starting ddd in the foreground seems successful. No segfault, menus work, I get the Tip of the day, etc. If I type "ddd &" at the prompt, I get the segfault. Incidentally, when using XFree86, I was typing "ddd" (foreground execution). Actually, scratch that, ddd & with X-Win32 just worked now, so I've seen success and failure w/ background+xwin32. I don't think I've seen it fail w/ foreground+xwin32. If it shows the daily tip, it's OK.

Paul
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-04-06 by paul@arion.ws.
$  ddd
+  /bin/sh -c 'exec gdb -q -fullname'
#  Hello, world!
#  Starting GDB...
#  Running GDB (pid 2848, tty /dev/tty7)...
#  Current language: C/C++
#  Searching "vsllib/ddd.vsl"...
#  Trying "/home/Paul/.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 /c/prj/ddd-3.3.1/ddd.\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 
\"/c/prj/ddd-3.3.1/ddd/.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/ddd003384\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) "
!  Segmentation fault
#  Saving history in "/home/Paul/.ddd/history"...
#  Saving history in "/home/Paul/.ddd/history"...done.
#  Thanks for using DDD 3.3.1!  (We apologize for the inconvenience.)

reply via email to

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