Article View: gnu.gdb.bug
Article #2785Section index is uninitialized error message on Tru64 V5.1A (ds20)
From: Foldi Tamas
Date: Mon, 21 Jan 2002 15:43
Date: Mon, 21 Jan 2002 15:43
98 lines
5219 bytes
5219 bytes
Hi gdb team,
When I try to run gdb, i get the the following error message. What should
i do, or is this normal?
[crow@bps-udev-01]% gdb ./a
GNU gdb 5.1.0.1
Copyright 2001 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 "alphaev67-dec-osf5.1"...mdebugread.c:2448:
gdb-internal-error: Section index is uninitialized
An internal GDB error was detected. This may make further
debugging unreliable. Continue this debugging session? (y or n)
Create a core file containing the current state of GDB? (y or n) y
(gdb) r
Starting program: /usr/users/crow/./a
Program received signal SIGTRAP, Trace/breakpoint trap.
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x3ff80020328
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable). In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.
Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
0x3ff80020328 in ?? ()
[snipp...]
[crow@bps-udev-01]% file a
a: COFF format alpha dynamically linked, demand paged executable or
object module ___not stripped___ - version 3.13-14
[snipp]
[crow@bps-udev-01]% dbx `which gdb` ./core
dbx version 5.1
Type 'help' for help.
Core file created by program "gdb"
signal IOT/Abort trap at >*[__kill, 0x3ff800e8908] beq a3,
0x3ff800e8920
(dbx) ts
Thread 0x3:
> 0 __kill(0x0, 0x4, 0x3ff00000000, 0x100000001, 0x3ff801a9c14)
> [0x3ff800e8908]
1 (unknown)() [0x3ff801ee108]
2 __tis_raise(0x3ff801a9c14, 0x990, 0x3ff801229d8, 0x100000006,
0x3ff801869b4) [0x3ff801229d4]
3 raise(0x3ff801229d8, 0x100000006, 0x3ff801869b4, 0x1400001f0,
0x3ff801a9c44) [0x3ff801869b0]
4 abort(0x12004d674, 0x1400e4000, 0x0, 0x0, 0x100000000) [0x3ff801a9c40]
5 internal_verror(file = 0x14001a820 = "mdebugread.c", line = 2448, fmt =
0x14001a830 = "Section index is uninitialized", ap = struct {
_a0 = 0x11fffae50
_offset = 24
}) ["utils.c":734, 0x12004d670]
6 internal_error(file = 0x14001a820 = "mdebugread.c", line = 2448, string =
0x14001a830 = "Section index is uninitialized") ["utils.c":755, 0x12004d724]
7 parse_partial_symbols(objfile = 0x1400e4000) ["mdebugread.c":2448,
0x1200d8e70]
8 mdebug_build_psymtabs(objfile = 0x1400e4000, swap = 0x14005df90, info =
0x1400de0c0) ["mdebugread.c":512, 0x1200d46b8]
9 mipscoff_symfile_read(objfile = 0x1400e4000, mainline = 1)
["mipsread.c":98, 0x1201432a8]
10 syms_from_objfile(objfile = 0x1400e4000, addrs = 0x11fffb0e0, mainline =
1, verbo = 0) ["symfile.c":725, 0x120061d44]
11 symbol_file_add(name = 0x11fffe028 = "./a", from_tty = 0, addrs = (nil),
mainline = 1, flags = 0) ["symfile.c":854, 0x120062110]
12 symbol_file_add_main_1(args = 0x11fffe028 = "./a", from_tty = 0, flags =
0) ["symfile.c":915, 0x120062310]
13 symbol_file_add_main(args = 0x11fffe028 = "./a", from_tty = 0)
["symfile.c":909, 0x1200622b8]
14 do_captured_command(data = 0x11fffbaa0) ["top.c":482, 0x12005b530]
15 catch_errors(func = 0x12005b504, args = 0x11fffbaa0, errstring =
0x140071c88 = "", mask = 6) ["top.c":416, 0x12005b454]
16 catch_command_errors(command = 0x12006228c, arg = 0x11fffe028 = "./a",
from_tty = 0, mask = 6) ["top.c":502, 0x12005b5c8]
17 captured_main(data = 0x11fffbfe0) ["main.c":559, 0x12004bde8]
18 catch_errors(func = 0x12004b46c, args = 0x11fffbfe0, errstring =
0x1400714b0 = "", mask = 6) ["top.c":416, 0x12005b454]
19 main(argc = 2, argv = 0x11fffc018) ["main.c":716, 0x12004c304]
Environment:
OSF1/Tru64 5.1A 1885 alpha DS/20 (alphaev67-dec-osf5.1 systype)
Best regards,
FOLDI Tamas
--
________________________________________________
COMPAQ System Advanced Development Group in HPTC
COMPAQ Computer Hungary, 1124 Nemetvolgyi ut 97.
CERN, bldg 513 S-015, CH-1211 Geneva 23, Switzerland
Technical Details
Message-ID:
<20020121154347.GA25574@hax0r.hu>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdbShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,4c43c5eec31bc8c8,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 2002-01-21 07:44:07 PST x-uunet-gateway: chi6sosrv11.alter.net from bug-gdb to gnu.gdb.bug; Mon, 21 Jan 2002 15:44:05 GMT Date: Mon, 21 Jan 2002 16:43:47 +0100 From: crow@localhost.hu (Foldi Tamas) Subject: Section index is uninitialized error message on Tru64 V5.1A (ds20) Message-ID: <20020121154347.GA25574@hax0r.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.26i Approved: bug-gdb-request@mail.gnu.org Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb Sender: bug-gdb-request@mail.gnu.org Lines: 98