From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 05:24:37 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03DED16A4E0 for ; Tue, 11 Jul 2006 05:24:37 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from piccollo.p6m7g8.net (c66-236-219-70.ip.panth.com [66.236.219.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id A095243D72 for ; Tue, 11 Jul 2006 05:24:32 +0000 (GMT) (envelope-from pgollucci@p6m7g8.com) Received: from [192.168.0.210] (c-24-130-79-25.hsd1.ca.comcast.net [24.130.79.25]) (authenticated bits=0) by piccollo.p6m7g8.net (8.13.6/8.13.6) with ESMTP id k6B5OQGY008771 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 11 Jul 2006 01:24:27 -0400 (EDT) (envelope-from pgollucci@p6m7g8.com) Message-ID: <44B3360F.9020800@p6m7g8.com> Date: Mon, 10 Jul 2006 22:24:31 -0700 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Thunderbird 1.5.0.4 (X11/20060627) MIME-Version: 1.0 To: dev@httpd.apache.org References: <44A88EBD.80407@p6m7g8.com> <44A8BB0E.6070004@force-elite.com> In-Reply-To: <44A8BB0E.6070004@force-elite.com> Content-Type: multipart/mixed; boundary="------------090202090103070406090102" Cc: questions@freebsd.org, dev@perl.apache.org Subject: Re: gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+ [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 05:24:37 -0000 This is a multi-part message in MIME format. --------------090202090103070406090102 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Paul Querna wrote: > Philip M. Gollucci wrote: >> Hi, >> >> 2 years ago, PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68727 >> was filed about gdb itself segfaulting when trying to debug httpd. >> This PR hasn't seen any action AFAIK. Its been 2 years in the making........ GDB 6.5 works flawlessly with no local mods. I used the attached script to test with against perl 5.8.8 httpd 2.2.2(prefork) mod_perl trunk I'm going to work on creating ports/devel/gdb65 src/contrib/gdb (vendor import) pgollucci@home.p6m7g8.net /home/pgollucci/dev/compile/freebsd-6.1-stable/3.4.4/mod_perl/r420729-5.8.8-2.0.58-prefork 22 5 0>./t/TEST -debug=gdb GNU gdb 6.5 Copyright (C) 2006 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 "i386-unknown-freebsd6.1"... [Mon Jul 10 22:19:41 2006] [info] 6 Apache2:: modules loaded [Mon Jul 10 22:19:41 2006] [info] 0 APR:: modules loaded [Mon Jul 10 22:19:41 2006] [info] base server + 30 vhosts ready to run tests [Mon Jul 10 22:19:43 2006] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overla ps an earlier Alias. [Mon Jul 10 22:19:43 2006] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overla ps an earlier Alias. THIS IS HUGE!!!! -- ------------------------------------------------------------------------ Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F "In all that I've done wrong I know I must have done something right to deserve a hug every morning and butterfly kisses at night." --------------090202090103070406090102 Content-Type: text/plain; name="gdb.sh" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gdb.sh" #!/bin/sh -x chdir /home/pgollucci/dev/dist fetch -mva http://ftp.gnu.org/gnu/gdb/gdb-6.5.tar.gz chdir /home/pgollucci/dev/src tar -xvzf ../dist/gdb-6.5.tar.gz mkdir -p /home/pgollucci/dev/src/gdb-6.5 /home/pgollucci/dev/compile/freebsd-6.1-stable/3.4.4 cp -R /home/pgollucci/dev/src/gdb-6.5 /home/pgollucci/dev/compile/freebsd-6.1-stable/3.4.4 chdir /home/pgollucci/dev/compile/freebsd-6.1-stable/3.4.4/gdb-6.5 ./configure \ --prefix=/usr/local/software/freebsd-6.1-stable/3.4.4/gdb/6.5 \ --enable-maintainer-mode make make install # tcsh: # setenv PATH /usr/local/software/freebsd-6.1-stable/3.4.4/gdb/6.5/bin:$PATH # rehash --------------090202090103070406090102--