bug-ddd
[Top][All Lists]
Advanced

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

bug report


From: Thomas
Subject: bug report
Date: Sun, 01 Apr 2007 16:07:59 +0200
User-agent: Thunderbird 1.5 (X11/20051025)

I simply go to your advice for bug reports:

$ ddd --check-configuration
Checking for X11 library directory... /usr/X11R6/lib/X11
Checking for XKeysymDB... /usr/X11R6/lib/X11/XKeysymDB
No configuration problems found.

----

$ ddd a.out
string: invalid index

warning: current_sos: Can't read pathname for load map: Eingabe-/Ausgabefehler # Input-/output error


Internal error (Abgebrochen).

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.11 (i386-suse-linux) gets `Abgebrochen' signal # Abort

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.

Exit 0
Abgebrochen (core dumped)

-----

$ cat ~/.ddd/log
GNU DDD 3.3.11 (i386-suse-linux)
Copyright (C) 1995-1999 Technische Universit� Braunschweig, Germany.
Copyright (C) 1999-2001 Universit� Passau, Germany.
Copyright (C) 2001 Universit� des Saarlandes, Germany.
Copyright (C) 2001-2004 Free Software Foundation, Inc.

Compiled with GCC 4.0.2 20050901 (prerelease) (SUSE Linux), GNU libc 2.3
Requires X11R6, Xt11R6, Motif 2.2.3 (Motif Version 2.2.3)
Includes XPM 3.4.11, Athena Panner (7000002L), DDD core
Built 2005-09-13 by Autobuild <address@hidden>.
$ ddd a.out
+ /bin/sh -c 'exec gdb -q -fullname '\''a.out'\'''
# Hello, world!
# Opening session "1067726579000117543575500000061860033"...
# Enabling line numbers...
# Enabling line numbers...done.
# Running GDB (pid 7315, tty /dev/pts/5)...
# Current language: C/C++
# Searching "vsllib/ddd.vsl"...
# Trying "/home/tom/.ddd/vsllib/ddd.vsl"
# Trying "/usr/share/ddd-3.3.11/vsllib/ddd.vsl"
# Searching "vsllib/ddd.vsl"..."/usr/share/ddd-3.3.11/vsllib/ddd.vsl".
# Creating "/home/tom/.ddd/sessions/1067726579000117543575500000061860033/"... # Creating "/home/tom/.ddd/sessions/1067726579000117543575500000061860033/"...done. # Copying "/home/tom/.ddd/init" to "/home/tom/.ddd/sessions/1067726579000117543575500000061860033/init"... # Copying "/home/tom/.ddd/init" to "/home/tom/.ddd/sessions/1067726579000117543575500000061860033/init"...done. # Copying "/home/tom/.ddd/history" to "/home/tom/.ddd/sessions/1067726579000117543575500000061860033/history"... # Copying "/home/tom/.ddd/history" to "/home/tom/.ddd/sessions/1067726579000117543575500000061860033/history"...done. # Saving session in "/home/tom/.ddd/sessions/1067726579000117543575500000061860033/init"...
# Searching "ddd/Ddd"...
# Trying "/home/tom/.ddd/ddd/Ddd"
# Trying "/usr/share/ddd-3.3.11/ddd/Ddd"
# Searching "ddd/Ddd"..."/usr/share/ddd-3.3.11/ddd/Ddd".
# Saving session in "/home/tom/.ddd/sessions/1067726579000117543575500000061860033/init"...done.
2007.04.01 15:55:56
<- "Using host libthread_db library \"/lib/tls/libthread_db.so.1\".\n"
2007.04.01 15:55:56
<- "(gdb) "
2007.04.01 15:55:56
-> "set prompt (gdb) \n"
2007.04.01 15:55:56
<- "(gdb) "
2007.04.01 15:55:56
-> "set height 0\n"
2007.04.01 15:55:56
<- "(gdb) "
2007.04.01 15:55:56
-> "set width 0\n"
2007.04.01 15:55:56
<- "(gdb) "
2007.04.01 15:55:56
-> "set annotate 1\n"
2007.04.01 15:55:56
<- "(gdb) "
2007.04.01 15:55:56
-> " set verbose off\n"
2007.04.01 15:55:56
<- "(gdb) "
2007.04.01 15:55:56
-> "info line\n"
2007.04.01 15:55:56
<- "No line number information available.\n"
"(gdb) "
2007.04.01 15:55:56
-> "list\n"
2007.04.01 15:55:56
<- "1\tmain(){\n"
"2\t\tputs(\"\");\n"
"3\t\tchar *p = \"ich bin ein zeiger\";\n"
"4\t\tchar a[] = \"ich bin ein feld\\n"
"\";\n"
"5\t\n"
"6\t}\n"
"(gdb) "
2007.04.01 15:55:56
-> "info line\n"
2007.04.01 15:55:56
<- "Line 6 of \"a.c\" starts at address 0x8048435 <main+93> and ends at 0x8048437 <main+95>.\n"
"\032\032/tmp/a.c:6:87:beg:0x8048435\n"
"(gdb) "
2007.04.01 15:55:56
-> "output 4711\n"
2007.04.01 15:55:56
<- "4711(gdb) "
2007.04.01 15:55:56
-> "show language\n"
2007.04.01 15:55:56
<- "The current source language is \"auto; currently c\".\n"
"(gdb) "
2007.04.01 15:55:56
-> "show version\n"
2007.04.01 15:55:56
<- "GNU gdb 6.3\n"
"Copyright 2004 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 \"i586-suse-linux\".\n"
"(gdb) "
2007.04.01 15:55:56
-> "pwd\n"
2007.04.01 15:55:56
<- "Working directory /tmp.\n"
"(gdb) "
2007.04.01 15:55:56
-> "info breakpoints\n"
2007.04.01 15:55:56
<- "No breakpoints or watchpoints.\n"
"(gdb) "
2007.04.01 15:55:56
-> "show history filename\n"
2007.04.01 15:55:56
<- "The filename in which to record the command history is \"/tmp/.gdb_history\".\n"
"(gdb) "
2007.04.01 15:55:56
-> "show history size\n"
2007.04.01 15:55:56
<- "The size of the command history is 1000.\n"
"(gdb) "
# Reading file "/tmp/a.c"...
# Reading file "/tmp/a.c"...done.
# File "/tmp/a.c" 6 lines, 140 characters
! Abgebrochen
+ /bin/sh -c 'gdb -x /tmp/dddkOM8Ci ddd core'
GNU gdb 6.3
Copyright 2004 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 "i586-suse-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(no debugging symbols found)
Core was generated by `ddd a.out'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/X11R6/lib/libXm.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXm.so.3
Reading symbols from /usr/X11R6/lib/libXaw.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXaw.so.8
Reading symbols from /usr/X11R6/lib/libXmu.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libXpm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/X11R6/lib/libXp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXp.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libncurses.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/tls/libm.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/libdl.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
#0 0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x40603541 in raise () from /lib/tls/libc.so.6
#2 0x40604dbb in abort () from /lib/tls/libc.so.6
#3 0x08073d80 in glob_pattern_p ()
#4 0x0822aa52 in glob_pattern_p ()
#5 0x0822aa86 in glob_pattern_p ()
#6 0x08244b9d in glob_pattern_p ()
#7 0x0824f222 in glob_pattern_p ()
#8 0x080f21ec in glob_pattern_p ()
#9 0x082087ac in glob_pattern_p ()
#10 0x082089f2 in glob_pattern_p ()
#11 0x0807e398 in glob_pattern_p ()
#12 0x0807eb53 in glob_pattern_p ()
#13 0x0807e9e0 in glob_pattern_p ()
#14 0x40314c76 in _XtRemoveAllInputs () from /usr/X11R6/lib/libXt.so.6
#15 0x40314f9f in XtAppNextEvent () from /usr/X11R6/lib/libXt.so.6
#16 0x0806efb1 in ?? ()
#17 0x081431cf in glob_pattern_p ()
#18 0x0806d605 in ?? ()
#19 0x405f0ea0 in __libc_start_main () from /lib/tls/libc.so.6
#20 0x08051731 in ?? ()
# Saving options in "/home/tom/.ddd/init"...
# Saving options in "/home/tom/.ddd/init"...done.
# Deleting session "1067726579000117543575500000061860033"...
# Current session is [none].
# Deleting session "1067726579000117543575500000061860033"...done.
# Running GDB (pid 7315, tty /dev/pts/5)...Exit 0.
# Saving history in "/home/tom/.ddd/history"...
# Saving history in "/home/tom/.ddd/history"...done.
# Thanks for using DDD 3.3.11! (We apologize for the inconvenience.)

---------

$ ddd --configuration
GNU DDD 3.3.11 (i386-suse-linux)
Copyright (C) 1995-1999 Technische Universit� Braunschweig, Germany.
Copyright (C) 1999-2001 Universit� Passau, Germany.
Copyright (C) 2001 Universit� des Saarlandes, Germany.
Copyright (C) 2001-2004 Free Software Foundation, Inc.

Compiled with GCC 4.0.2 20050901 (prerelease) (SUSE Linux), GNU libc 2.3
Requires X11R6, Xt11R6, Motif 2.2.3 (Motif Version 2.2.3)
Includes XPM 3.4.11, Athena Panner (7000002L), DDD core
Built 2005-09-13 by Autobuild <address@hidden>

----

The code to reproduce the error:
/* cc -g a.c */
main(){
puts("");
char *p = "ich bin ein zeiger";
char a[] = "ich bin ein feld\n";
}

gdb seems to have no problems
---

but anyway, thanks for DDD - it's a very good tool!

regards
Thomas





reply via email to

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