From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21788 invoked by uid 1002); 15 Nov 2003 23:50:23 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 6069 invoked from network); 15 Nov 2003 23:50:23 -0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@gentoo.org From: Burton Samograd Date: Sat, 15 Nov 2003 13:11:30 -0800 Message-ID: <87fzgp5ocd.fsf@kruhft.vc.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:fIKydP156zaik7FDJm+TbYglRm0= Sender: news Subject: [gentoo-dev] random gdb "debugger segfaults" X-Archives-Salt: eee4dcd9-3e21-4ddc-8199-15d919f40a48 X-Archives-Hash: 3095c414c3d5fd122f298ef83c557dfa Hi, I'm not sure if this is a gentoo problem, but I figured I would get a better response through this list than gentoo-user. I'm working on a new C program and I'm getting a number of debugger segfaults when running gdb. I've never had such a vital program as gdb crash on me before, so this has gotten me a bit worried about possible library mismatches or problems with newer versions gcc/binutils/gdb working together. I'm working with shared libraries in this application for the first time, and I thought that gdb might be a bit flakey with this type of dynamic symbol allocation. Anybody have experience with this? I don't know if there's a current solution, but I thought that I wouldn't be alone is seeing these problems and that others might have already found the source (and solution). Currently I'm running: gdb 6.0 gcc 3.3.2-r2 binutils 2.14.90.0.7 Note that gdb does work, but crashes rather randomly (as in, I can't see a definite pattern that I could nail down to an actual bug) requiring a restart, which is a bit irritating but not life threatening. -- burton samograd http://kruhftwerk.dyndns.org -- gentoo-dev@gentoo.org mailing list