Date: Sun, 22 Feb 2015 17:31:50 -0700 From: jd1008 <jd1008@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <54EA74F6.6070008@gmail.com> In-Reply-To: <20150222234849.GA44067@home.parts-unknown.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54EA74F6.6070008>