🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Dave Brennan Tue, 27 Oct 1992 19:20
gdb 4.7 internal error on Sparc 4.1.2 w/ Sun C++ 2.1
#8
Author: Dave Brennan
Date: Tue, 27 Oct 1992 19:20
62 lines
3281 bytes
Any attempt to quote a function name kills gdb.  I used main here for
simplicity, but it happens with any C++ symbol.

I built gdb 4.7 with "configure sun4" and "make".  Has anyone used gdb 4.7
successfully with Sun C++ on SunOS 4.1.2??



% gdb folio
GDB is free software and you are welcome to 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.
GDB 4.7, Copyright 1992 Free Software Foundation, Inc...
OLIASPATH=/aus2e/rtp/doc/infolib.tabs
(gdb) break "main"

gdb internal error: Memory corruption
Quit (core dumped)


Here's the backtrace:

Core was generated by `gdb'.
Program terminated with signal 3, Quit.
#0  0xf775c120 in kill ()
OLIASPATH=/aus2e/rtp/doc/infolib.tabs
(gdb) bt
#0  0xf775c120 in kill ()
#1  0x3acdc in fatal_dump_core (__builtin_va_alist=1170832) at utils.c:306
#2  0x3b00c in malloc_botch () at utils.c:482
#3  0xf8a00 in checkhdr (mdp=0x152000, hdr=0x16ed00) at mmcheck.c:65
#4  0xf8c3c in mrealloc_check (md=0x0, ptr=0x16ed08 "rsorFv", size=1098)
    at mmcheck.c:120
#5  0xf929c in mrealloc (md=0x0, ptr=0x16ed08 "rsorFv", size=1098)
    at mrealloc.c:59
#6  0x3b168 in xmrealloc (md=0x0, ptr=0x16ed08 "rsorFv", size=1098)
    at utils.c:565
#7  0x3b214 in xrealloc (ptr=0x16ed08 "rsorFv", size=1098) at utils.c:595
#8  0xfe2bc in string_need (s=0xf7ffed74, n=1098) at cplus-dem.c:2071
#9  0xfe5d8 in string_prependn (p=0xf7ffed74, s=0x54061f "v_cursorFv", n=478)
    at cplus-dem.c:2191
#10 0xfc058 in cfront_special (work=0xf7ffed50, mangled=0xf7ffedc4, 
    declp=0xf7ffed74) at cplus-dem.c:1171
#11 0xfbbe4 in demangle_prefix (work=0xf7ffed50, mangled=0xf7ffedc4, 
    declp=0xf7ffed74) at cplus-dem.c:1008
#12 0xfa940 in cplus_demangle (mangled=0x54061f "v_cursorFv", options=3)
    at cplus-dem.c:402
#13 0x3cdf8 in demangle_and_match (
    name=0x5405c8 "__vtbl__8v_cursor__cursor_traits_cc", 
    lookfor=0xf7ffeec9 "", options=3) at utils.c:1435
#14 0x2db70 in expensive_mangler (lookfor=0xf7ffeec9 "") at symtab.c:2705
#15 0x2ba5c in decode_line_1 (argptr=0xf7fff004, funfirstline=1, 
    default_symtab=0x0, default_line=0) at symtab.c:1817
#16 0x9f20 in break_command_1 (arg=0x15700e "\"main\"", tempflag=0, from_tty=1)
    at breakpoint.c:1497
#17 0xa2ec in break_command (arg=0x15700e "\"main\"", from_tty=1)
    at breakpoint.c:1582
#18 0x3664 in execute_command (p=0x15700e "\"main\"", from_tty=1) at main.c:931
#19 0x38e4 in command_loop () at main.c:990
--
Dave Brennan                                      HaL Computer Systems
brennan@hal.com                                         (512) 794-2855
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads