ben@NYNEXST.COM (Ben Chigier) (09/07/89)
Hi, I am a user of gdb and I don't think that this is a bug, just that i have compiled or am running gdb incorrectly anyway... It seems that when i try and load in large core files into gdb (and sometimes small ones too) and i try get some info on the stack i get the following message: runfeat > ll core -rw-r--r-- 1 ben 8454576 Sep 7 11:01 core runfeat > gdb brdfeat GDB 3.2, Copyright (C) 1988 Free Software Foundation, Inc. There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details. GDB is free software and you are welcome to distribute copies of it under certain conditions; type "info copying" to see the conditions. Reading symbol data from /home/oberon/ben/src/brd/brd12/src/runfeat/brdfeat...done. type "help" for a list of commands. (gdb) core core Core file is from "brdfeat". Program terminated with signal 11, Segmentation fault. (gdb) where #0 0x0 in ?? () Error reading memory address 0x0: Not owner (1). (gdb) I am the owner of the core file and I am working in the dir that contains the main source code. But when I use dbx i can examine the stack and debug my program. I am using a sun4/280 running sunOS 4.0 I configured gdb with sun4os4. When i run my program from inside gdb it works fine and i can examine the stack etc. Do you have any ideas as to what it is i am doing wrong??? Thanks in advance. Ben Chigier. ben@nynexst.com 914-683-2610