From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 00:31:53 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 44A92E63 for ; Mon, 23 Feb 2015 00:31:53 +0000 (UTC) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 11857D9A for ; Mon, 23 Feb 2015 00:31:53 +0000 (UTC) Received: by iecar1 with SMTP id ar1so19781618iec.11 for ; Sun, 22 Feb 2015 16:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=WHtLRqNMMdySw2pmhz5n7d8PhzAl2unZ8z8vIfBHJ+k=; b=01mKi8pkVmZHKZKc3CYGLxcgWInUwpbPjZjSS+6ravHPGEQR9/eTJhRKWPsBsKOZ+S 4qplQ9LXsb5hLPebaXOve/oh3qdw94es4Uq3cUxVkPgjFT6fxqD1aZdasJD8AeIGyq8g tzK7mO1tTSLcAISQ6LcTDgtllmZsDlG4L2xMcD6TdpBF2yKdwvIYhf7+67vGmn7/eAet wAKfbRUnSu0xom2uSc8dazOeDSe7VuvE8lEuzv3PCfPSR5lwARsuKtfdRqeAPx+Y7e5d NeF39JqbEhsh8TvIqkU72tC53oumkaT+70/Ptw8WT8f9x08Vmuf+qkKxkY9vqfPhF1le PASA== X-Received: by 10.107.8.213 with SMTP id h82mr10203548ioi.89.1424651512275; Sun, 22 Feb 2015 16:31:52 -0800 (PST) Received: from localhost.localdomain ([50.243.6.59]) by mx.google.com with ESMTPSA id q89sm9132210ioi.37.2015.02.22.16.31.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Feb 2015 16:31:51 -0800 (PST) Message-ID: <54EA74F6.6070008@gmail.com> Date: Sun, 22 Feb 2015 17:31:50 -0700 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: why would I get a segmentation fault on one system but not the other? References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> <20150222234849.GA44067@home.parts-unknown.org> In-Reply-To: <20150222234849.GA44067@home.parts-unknown.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 00:31:53 -0000 On 02/22/2015 04:48 PM, David Benfell wrote: > I hope I did this right. It's the first time I've tried working with > the debugger. If I did this right, then ick: > > vegan# gdb /usr/local/sbin/php-fpm > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 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 "amd64-marcel-freebsd"...(no debugging > symbols found)... > (gdb) break main > Breakpoint 1 at 0x648214 > (gdb) run > Starting program: /usr/local/sbin/php-fpm > (no debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...[New LWP > 100184] > (no debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...[New Thread 802806400 (LWP 100184/php-fpm)] > [Switching to Thread 802806400 (LWP 100184/php-fpm)] > > Breakpoint 1, 0x0000000000648214 in main () > (gdb) attach 1458 > A program is being debugged already. Kill it? (y or n) n > Not killed. > (gdb) n > Single stepping until exit from function main, > which has no line number information. > (no debugging symbols found)...(no debugging symbols found)...(no > ....Snipped..... > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)... > Program received signal SIGSEGV, Segmentation fault. > 0x000000080a9903e8 in hash_lookup () from > /usr/local/lib/libc-client4.so.9 Are your binaries in /usr//local?