This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: symtab/1418: gdb core dumps while reading symbols from shared library


The following reply was made to PR symtab/1418; it has been noted by GNATS.

From: Sunil <funtoos@yahoo.com>
To: jimb@redhat.com, gdb-prs@sources.redhat.com, gdb-gnats@sources.redhat.com
Cc:  
Subject: Re: symtab/1418: gdb core dumps while reading symbols from shared library
Date: Fri, 17 Oct 2003 20:04:46 -0700 (PDT)

 I re-configured with --with-included-gettext, compiled
 and it works fine now. Its kind of funny because I
 have the GNU gettext 0.11.5 installed.
 
 anyway, you can close this report if you want. If it
 happens again, I will re-open.
 
 Thanks for your time, I appreciate it.
 Sunil
 
 --- jimb@redhat.com wrote:
 > Synopsis: gdb core dumps while reading symbols from
 > shared library
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: jimb
 > State-Changed-When: Fri Oct 17 22:38:12 2003
 > State-Changed-Why:
 >     I'm unable to reproduce this bug given the
 > directions in the bug report.  Here is a transcript
 > of me debugging a file that dumped core with GDB 6.0
 > on a Solaris 2.6 box with no problems.
 >     
 >     In order for us to fix this bug, we need to be
 > able to reproduce it ourselves, on our own machine. 
 > Please provide  explicit instructions that we can
 > follow to make GDB crash on our own machine, so we
 > can debug the problem.
 >     
 >     $ cat shift.c
 >     #include <stdio.h>
 >     
 >     int
 >     main (int argc, char **argv)
 >     {
 >       printf ("%d\n", atoi (argv[1]) << atoi
 > (argv[2]));
 >     }
 >     $ gcc -g shift.c -o shift
 >     $ ./shift
 >     Segmentation Fault (core dumped)
 >     $ uname -a
 >     SunOS delta 5.6 Generic_105181-23 sun4u sparc
 > SUNW,Ultra-60
 >     $ ~/gdb/6.0/sparc/build/gdb/gdb shift 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
 > "sparc-sun-solaris2.6"...
 >     Core was generated by `./shift'.
 >     Program terminated with signal 11, Segmentation
 > fault.
 >     Reading symbols from /usr/lib/libc.so.1...done.
 >     Loaded symbols for /usr/lib/libc.so.1
 >     Reading symbols from /usr/lib/libdl.so.1...done.
 >     Loaded symbols for /usr/lib/libdl.so.1
 >     Reading symbols from
 >
 /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1...done.
 >     Loaded symbols for
 > /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
 >     #0  0xef73a8f8 in atoi () from
 > /usr/lib/libc.so.1
 >     (gdb)
 > 
 >
 http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1418
 
 
 __________________________________
 Do you Yahoo!?
 The New Yahoo! Shopping - with improved product search
 http://shopping.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]