[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug Report
From: |
Misc. Email |
Subject: |
Bug Report |
Date: |
Thu, 30 Dec 2004 22:17:03 -0700 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Hello,
When the core dump happened, I was starting DDD with "-dbx" option and I
can reproduce it every time. When DDD using "GDB", it works OK. I am
running Sun Studio 9.0. The version string produced by dbx is "Sun Dbx
Debugger 7.3 2004/07/15"
-bash-3.00$ ddd -display yudlc810:0.0 -dbx
comm-manag.C: In function `':
comm-manag.C:3274: assertion `qu_count == count' failed
Segmentation Fault - core dumped
Internal error (Abort).
Oops! You have found a bug in DDD.
If you can reproduce this bug, please send a bug report
to <address@hidden>, giving a subject like
DDD 3.3.10 (i386-pc-solaris2.9) gets `Abort' signal
To enable us to fix the bug, you should include the following information:
* What you were doing to get this message. Report all the facts.
* The contents of the `~/.ddd/log' file as generated by this session.
Please read also the section "Reporting Bugs" in the DDD manual.
We thank you for your support.
/bin/sh -c 'exec dbx' [12154]: Hangup
Abort (core dumped)
Regards,
Jacky Yu
GNU DDD 3.3.10 (i386-pc-solaris2.9)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.
Copyright (C) 2001 Universität des Saarlandes, Germany.
Copyright (C) 2001-2004 Free Software Foundation, Inc.
Compiled with SunPRO CC 0x560
Requires X11R6, Xt11R6, Motif 2.1 (Motif Version 2.1.0)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2004-12-30 by yu <unknown>.
$ ddd -display yudlc810:0.0 -dbx
+ /bin/sh -c 'exec dbx'
# Hello, world!
# Starting DBX...
# Running DBX (pid 12154, tty /dev/pts/4)...
# Current language: C/C++
# Searching "vsllib/ddd.vsl"...
# Trying "/export/home/yu/.ddd/vsllib/ddd.vsl"
# Trying "/usr/local/share/ddd-3.3.10/vsllib/ddd.vsl"
# Searching "vsllib/ddd.vsl"..."/usr/local/share/ddd-3.3.10/vsllib/ddd.vsl".
2004.12.30 22:07:23
<- "For information about new features see `help changes\'\n"
"To remove this message, put `dbxenv suppress_startup_message 7.3\' in your
.dbxrc\n"
"(dbx) "
2004.12.30 22:07:23
-> "sh stty -echo -onlcr\n"
2004.12.30 22:07:23
<- "(dbx) "
2004.12.30 22:07:23
-> "set $page = 1\n"
2004.12.30 22:07:23
<- "warning: setting positional parameters; use `assign\' to set target process
variable\n"
"(dbx) "
2004.12.30 22:07:23
-> "file\n"
2004.12.30 22:07:23
<- "dbx: no program\n"
2004.12.30 22:07:23
<- "(dbx) "
2004.12.30 22:07:23
-> "line\n"
2004.12.30 22:07:23
<- "dbx: no current source file\n"
"(dbx) "
2004.12.30 22:07:23
-> "frame\n"
2004.12.30 22:07:23
<- "dbx: program is not active\n"
"(dbx) "
2004.12.30 22:07:23
-> "func\n"
2004.12.30 22:07:23
<- "dbx: no program\n"
"(dbx) "
2004.12.30 22:07:23
-> "file\n"
2004.12.30 22:07:23
<- "dbx: no program\n"
"(dbx) "
2004.12.30 22:07:23
-> "dbxenv run_io\n"
2004.12.30 22:07:23
<- "stdio\n"
"(dbx) "
2004.12.30 22:07:23
-> "print -r 4711\n"
2004.12.30 22:07:23
<- "dbx: warning: unknown language, \'c\' assumed\n"
2004.12.30 22:07:23
<- "4711\n"
"(dbx) "
2004.12.30 22:07:23
-> "where -h\n"
2004.12.30 22:07:23
<- "dbx: program is not active\n"
"(dbx) "
2004.12.30 22:07:23
-> "display\n"
2004.12.30 22:07:23
<- "(dbx) "
2004.12.30 22:07:23
-> "clear\n"
2004.12.30 22:07:23
<- "dbx: warning: No executable here to clear events from\n"
"(dbx) "
2004.12.30 22:07:23
-> "help handler\n"
2004.12.30 22:07:23
<- "handler (command)\n"
"A handler is created for each event that needs to be managed in a
debugging\n"
"session. The commands `trace\', `stop\', and `when\' create handlers.
Each\n"
"of these commands returns a number known as the `handler ID\' (<hid>). The
\n"
"`handler\', `status\', and `delete\' commands manipulate or\n"
"provide information about handlers in a generic fashion:\n"
"\n"
"handler -enable <hid> ... # enable given handlers, `all\' for all\n"
"handler -disable <hid> ... # disable given handlers, `all\' for all\n"
" # Use $firedhandlers instead of <hid> to\n"
" # disable the handlers that caused the
most\n"
" # recent stoppage.\n"
"handler -count <hid> # print value of trip counter for given
handler\n"
"handler -count <hid> <newlimit> # set new count limit for given event\n"
"handler -reset <hid> # reset trip counter counter for given
handler\n"
"\n"
"See also `help event\'.\n"
2004.12.30 22:07:23
<- "(dbx) "
2004.12.30 22:07:23
-> "help attach\n"
2004.12.30 22:07:24
<- "attach (command)\n"
"attach <pid> # Begin debugging <prog> with process ID
<pid>.\n"
" # dbx finds <prog> using /proc.\n"
"attach -p <pid> <prog> # Begin debugging <prog> with process ID
<pid>.\n"
"attach <prog> <pid> # Begin debugging <prog> with process ID
<pid>.\n"
" <prog> may be `-\'; dbx finds it using
/proc\n"
"attach -r ... # The `-r\' option causes dbx to retain all
\n"
" display\'s, trace\'s, when\'s, and
stop\'s.\n"
" With no `-r\' option, an implicit `delete
all\'\n"
" and `undisplay 0\' is performed.\n"
"\n"
"If you attach to a new process, and already have an exisiting process\n"
"being debugged, then the behavior is as follows. If the current process\n"
"was the result of a run command, then that process is terminated before\n"
"attaching to the new process. If the current process was acquired\n"
"with a previous attach command (or by specifying a process-id on the
command\n"
"line) then dbx will detach from the current process before attaching\n"
"to the new process.\n"
"\n"
"\n"
"(dbx) "
2004.12.30 22:07:24
-> "help addproc\n"
2004.12.30 22:07:24
<- "addproc is unknown\n"
2004.12.30 22:07:24
<- "(dbx) "
2004.12.30 22:07:24
-> "pwd\n"
2004.12.30 22:07:24
<- "/export/home/yu\n"
"(dbx) "
2004.12.30 22:07:24
-> "help setenv\n"
2004.12.30 22:07:25
<- "setenv (ksh command)\n"
"setenv <name> <string> # Set environment variable <name> to <string>\n"
"(dbx) "
2004.12.30 22:07:25
-> "help edit\n"
2004.12.30 22:07:25
<- "edit (command)\n"
"edit # Edit the current file\n"
"edit <filename> # Edit the specified file <filename>\n"
"edit <proc> # Edit the file containing function or procedure
<proc>\n"
"\n"
"`edit\' uses $EDITOR if dbx is not running under the GUI. Otherwise,\n"
"it sends a message to the GUI to display the appropriate file. \n"
2004.12.30 22:07:25
<- "(dbx) "
2004.12.30 22:07:25
-> "help make\n"
2004.12.30 22:07:26
<- "make is /usr/local/bin/make\n"
2004.12.30 22:07:26
<- "(dbx) "
2004.12.30 22:07:26
-> "help regs\n"
2004.12.30 22:07:26
<- "regs (command)\n"
"regs [-f] [-F] # Print value of registers\n"
" # -f: include floating-point registers (single
precision).\n"
" # -F: Include floating-point registers (double
precision)\n"
" # SPARC only.\n"
"\n"
"Example (SPARC):\n"
"dbx[13] regs -F\n"
"current thread: address@hidden"
"current frame: [1]\n"
"g0-g3 0x00000000 0x0011d000 0x00000000 0x00000000\n"
"g4-g7 0x00000000 0x00000000 0x00000000 0x00020c38\n"
"o0-o3 0x00000003 0x00000014 0xef7562b4 0xeffff420\n"
"o4-o7 0xef752f80 0x00000003 0xeffff3d8 0x000109b8\n"
"l0-l3 0x00000014 0x0000000a 0x0000000a 0x00010a88\n"
"l4-l7 0xeffff438 0x00000001 0x00000007 0xef74df54\n"
"i0-i3 0x00000001 0xeffff4a4 0xeffff4ac 0x00020c00\n"
"i4-i7 0x00000001 0x00000000 0xeffff440 0x000108c4\n"
"y 0x00000000\n"
"psr 0x40400086\n"
"pc 0x000109c0:main+0x4 mov 0x5, %l0\n"
"npc 0x000109c4:main+0x8 st %l0, [%fp - 0x8]\n"
"f0f1 +0.00000000000000e+00\n"
"f2f3 +0.00000000000000e+00\n"
"f4f5 +0.00000000000000e+00\n"
"f6f7 +0.00000000000000e+00\n"
"...\n"
"\n"
"Example: (intel)\n"
"current frame: [1]\n"
"gs 0x00000107\n"
"fs 0x00000000\n"
"es 0x0000001f\n"
"ds 0x0000001f\n"
"edi 0x08047914\n"
"esi 0x0804782c\n"
"ebp 0x0804783c\n"
"esp 0xf1d3bfe4\n"
"ebx 0xddbee504\n"
"edx 0x08047870\n"
"ecx 0xddba1e1c\n"
"eax 0xddba1eec\n"
"trapno 0x00000003\n"
"err 0x00000000\n"
"eip 0x080506ae:main+0x6 movl 0xfffffff4(%ebp),%eax\n"
"cs 0x00000017\n"
"eflags 0x00000206\n"
"uesp 0x08047830\n"
"ss 0x0000001f\n"
"st0 +0.00000000000000e+00\n"
"st1 +0.00000000000000e+00\n"
"st2 +0.00000000000000e+00\n"
"st3 +0.00000000000000e+00\n"
"st4 +0.00000000000000e+00\n"
"st5 +0.00000000000000e+00\n"
"st6 +0.00000000000000e+00\n"
"st7 +0.00000000000000e+00\n"
"fctrl 0x00000000\n"
"fstat 0x00000000\n"
"ftag 0x00000000\n"
"fip 0x00000000\n"
"fcs 0x00000000\n"
"fopoff 0x00000000\n"
"fopsel 0x00000000\n"
"xmm0a-xmm0d 0x00000000 0x00000000 0x00000000 0x00000000\n"
"xmm1a-xmm1d 0x00000000 0x00000000 0x00000000 0x00000000\n"
"xmm2a-xmm2d 0x00000000 0x00000000 0x00000000 0x00000000\n"
"xmm3a-xmm3d 0x00000000 0x00000000 0x00000000 0x00000000\n"
"xmm4a-xmm4d 0x00000000 0x00000000 0x00000000 0x00000000\n"
"xmm5a-xmm5d 0x00000000 0x00000000 0x00000000 0x00000000\n"
"xmm6a-xmm6d 0x00000000 0x00000000 0x00000000 0x00000000\n"
"xmm7a-xmm7d 0x00000000 0x00000000 0x00000000 0x00000000\n"
"mxcsr 0x00000000\n"
"mxcsrex 0x00000000\n"
"\n"
"\n"
"See also `help registers\'.\n"
2004.12.30 22:07:26
<- "(dbx) "
2004.12.30 22:07:26
-> "print \"DDD\"\n"
2004.12.30 22:07:26
<- "\"DDD\"\n"
"(dbx) "
2004.12.30 22:07:26
-> "help when\n"
2004.12.30 22:07:27
<- "when (command)\n"
"when at <line> { cmd; } # Execute command(s) when <line> reached\n"
"when in <proc> { cmd; } # Execute command(s) when <proc> called\n"
"\n"
"`when\' has a general syntax as follows:\n"
"\n"
" when <event-specification> [ <modifier> ] { <cmd> ... ; }\n"
"\n"
"When the specified event occurs, the <cmd>s are executed.\n"
"For a list and the syntax of all events see `help event specification\'.\n"
"For a general discussion of event management commands see `help events\'.\n"
"See also `wheni\' for executing commands on given low-level event.\n"
2004.12.30 22:07:27
<- "(dbx) "
2004.12.30 22:07:27
-> "delete 4711 4711\n"
2004.12.30 22:07:27
<- "dbx: warning: no such handler id 4711\n"
"dbx: warning: no such handler id 4711\n"
"(dbx) "
2004.12.30 22:07:27
-> "help run\n"
2004.12.30 22:07:27
<- "run (command)\n"
"run # Begin executing the program with the current
arguments\n"
"run <args> # Begin executing the program with new arguments\n"
" Use ^C to stop executing the program.\n"
"run ... >|>> <file> # Set the output redirection\n"
"run ... < <file> # Set the input redirection\n"
"\n"
"There is currently no way to redirect stderr using \'run\' or
\'runargs\'.\n"
"\n"
"See also `help rerun\', `help runargs\' and `help prog\'.\n"
2004.12.30 22:07:27
<- "(dbx) "
2004.12.30 22:07:27
-> "help givenfile\n"
2004.12.30 22:07:28
<- "givenfile is unknown\n"
2004.12.30 22:07:28
<- "(dbx) "
2004.12.30 22:07:28
-> "help cont\n"
2004.12.30 22:07:28
<- "cont (command)\n"
"cont # Continue execution. In an MT process all threads
are\n"
" # resumed. Use ^C to stop executing the program.\n"
"cont ... -sig <signo> # Continue execution with signal <signo>\n"
"cont ... <id> # The <id> specifies which thread or LWP to
continue.\n"
"cont at <line> [ <id> ] # Continue execution at line <line>. <id> is
required\n"
" # if the application is multi-threaded.\n"
"cont ... -follow parent|child|both\n"
" # If $DBX_follow_fork_mode is set to `ask\', and\n"
" # you\'ve chosen `stop\', use this option to choose
\n"
" # which process to follow. `both\' is only
applicable\n"
" # under the GUI.\n"
"\n"
"See also `help dbxenv\'.\n"
" \n"
"See `help continue\' for dbx command language loop control.\n"
2004.12.30 22:07:28
<- "(dbx) "
2004.12.30 22:07:28
-> "help examine\n"
2004.12.30 22:07:28
<- "examine (command)\n"
"examine [ <addr> ] [ / [ <count> ] [ <fmt> ] ]\n"
"\n"
" Display the contents of memory starting at <addr> for <count>
items\n"
" in format <fmt>. The default <addr> is the next one after the
last\n"
" address previously displayed. The default <count> is 1. The
default\n"
" <fmt> is the same as was used in the previous `examine\' command,
or\n"
" `X\' if this is the first one. The address used by the examine\n"
" command (and it\'s alias \'x\') is the same as the address used\n"
" by the \'dis\' command. (See `help dis\').\n"
"\n"
"examine <addr1> , <addr2> [ / [ <fmt> ] ]\n"
"\n"
" Display the contents of memory from <addr1> through <addr2>\n"
" inclusive, in format <fmt>.\n"
"\n"
"examine <addr> = [ <fmt> ]\n"
"\n"
" Display the address (instead of the contents of the address) in
the\n"
" given format.\n"
" \n"
" The <addr> may be `+\' which indicates the address just after the
last\n"
" one previously displayed (the same as omitting it).\n"
"\n"
" `x\' is a predefined alias for `examine\'.\n"
"\n"
" Legal values for <fmt> are:\n"
"\n"
" i instruction (disassembly)\n"
" d,D decimal (2 or 4 bytes)\n"
" o,O octal (2 or 4 bytes)\n"
" x,X hexadecimal (2 or 4 bytes)\n"
" b octal (1 byte)\n"
" n decimal (1 byte)\n"
" c character\n"
" w wide character\n"
" s string\n"
" W wide character string\n"
" f hex and float (4 bytes, 6 digit prec.)\n"
" F hex and float (8 bytes, 14 digit prec.)\n"
" g same as `F\'\n"
" E hex and float (16 bytes, 14 digit prec.)\n"
" ld,lD decimal (4 bytes, same as D)\n"
" lo,lO octal (4 bytes, same as O)\n"
" lx,lX hexadecimal (4 bytes, same as X)\n"
" Ld,LD decimal (8 bytes)\n"
" Lo,LO octal (8 bytes)\n"
" Lx,LX hexadecimal (8 bytes)\n"
2004.12.30 22:07:28
<- "(dbx) "
2004.12.30 22:07:29
-> "help rerun\n"
2004.12.30 22:07:29
<- "rerun (command)\n"
"rerun # Begin executing the program with no arguments\n"
"rerun <args> # Begin executing the program with new arguments\n"
" by the save command.\n"
"\n"
"See also `help run\'.\n"
2004.12.30 22:07:29
<- "(dbx) "
2004.12.30 22:07:29
-> "language\n"
2004.12.30 22:07:29
<- "Current language mode: autodetect\n"
"Current language: c\n"
"(dbx) "
2004.12.30 22:07:29
-> "sh pwd\n"
2004.12.30 22:07:29
<- "/export/home/yu\n"
"(dbx) "
2004.12.30 22:07:29
-> "file\n"
2004.12.30 22:07:29
<- "dbx: no program\n"
"(dbx) "
2004.12.30 22:07:29
-> "list\n"
2004.12.30 22:07:29
<- "dbx: warning: No source file\n"
"(dbx) "
2004.12.30 22:07:29
-> "status\n"
2004.12.30 22:07:29
<- "(dbx) "
2004.12.30 22:07:29
-> "list main\n"
2004.12.30 22:07:29
<- "dbx: no program\n"
"(dbx) "
2004.12.30 22:07:29
-> "givenfile \n"
2004.12.30 22:07:29
<- "givenfile: not found\n"
"(dbx) "
! Abort
+ /bin/sh -c 'gdb -x /var/tmp//dddXiaaVx ddd core'
GNU gdb 6.0
Copyright 2003 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 "i386-pc-solaris2.9"...# Saving options in
"/export/home/yu/.ddd/init"...
# Saving options in "/export/home/yu/.ddd/init"...done.
# Saving history in "/export/home/yu/.ddd/history"...
# Saving history in "/export/home/yu/.ddd/history"...done.
# Thanks for using DDD 3.3.10! (We apologize for the inconvenience.)
ddd-core
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug Report,
Misc. Email <=