From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16440 invoked by uid 1002); 16 Nov 2003 09:47:31 -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 12022 invoked from network); 16 Nov 2003 09:47:31 -0000 X-Cert-subject: /C=US/ST=Oklahoma/L=Oklahoma/O=SNU/CN=mail.gentoo.org/Email=postmaster@gentoo.org From: Paul de Vrieze To: gentoo-dev@gentoo.org Date: Sun, 16 Nov 2003 10:47:26 +0100 User-Agent: KMail/1.5.4 References: <87fzgp5ocd.fsf@kruhft.vc.shawcable.net> In-Reply-To: <87fzgp5ocd.fsf@kruhft.vc.shawcable.net> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_ve0t/7+29p+ktkh"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200311161047.27082.pauldv@gentoo.org> X-Spam-Status: No, hits=-5.5 required=5.0 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: Re: [gentoo-dev] random gdb "debugger segfaults" X-Archives-Salt: 19808843-f6a1-4287-ae91-38ff5c1d6ee9 X-Archives-Hash: 7264fe83a0d868d2b953d00c3fb4a99b --Boundary-02=_ve0t/7+29p+ktkh Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Saturday 15 November 2003 22:11, Burton Samograd wrote: > 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. What kernel, and which optimizations are you using. Further there could of= =20 course be the standard bad power/bad mem/other flaky hardware problems Paul =2D-=20 Paul de Vrieze Gentoo Developer Mail: pauldv@gentoo.org Homepage: http://www.devrieze.net --Boundary-02=_ve0t/7+29p+ktkh Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/t0evbKx5DBjWFdsRAvJcAKDChWDTh8fpEHzq5Z1s/soxBF/WlQCgytbF 9hnZh/xCzIAVq22sQ85Jx0g= =iT1c -----END PGP SIGNATURE----- --Boundary-02=_ve0t/7+29p+ktkh--