Date: Sun, 22 Feb 2015 15:48:49 -0800 From: David Benfell <benfell@parts-unknown.org> To: Valeri Galtsev <galtsev@kicp.uchicago.edu> Cc: cpet <cpet@sdf.org>, Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150222234849.GA44067@home.parts-unknown.org> In-Reply-To: <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 22, 2015 at 03:43:03PM -0600, Valeri Galtsev wrote: >=20 > No, I'm too inclined now to think it is not hardware. Swapping the drives > between two boxes will confirm that that is not the hardwre case > definitely... At this point I would think of likely memory leak somewhere. > One of the things would be just run that thing in debugger. You will know > exact place where it fails, and will see if failure reproduces. 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=20 (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,=20 which has no line number information. (no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(no 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)...(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 > Before > that I would do some quick look around. Is it possible that some thing > calls itself recursively? This will create quickly new processes, the last > you can spot happening, right? I do realize now the other machine is > production machine. Can you use recovery from backup of production machine > to re-create it exactly on failing box? This will cover what swapping the > drive will do. And in case of success you will have working box. Still, on > production machines I would use RELEASE (as it was already mentioned). > Sorry, I didn't follow this thread from beginning; I may be suggesting > something irrelevant... >=20 > Good luck! >=20 > Valeri >=20 > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ --=20 David Benfell <benfell@parts-unknown.org> See https://parts-unknown.org/node/2 if you don't understand the attachment. --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6mrhAAoJEBV64x4SNmArzX0QALRc59NFihiM+JTol8YvIND5 EFCJzD0gphaE2akQAN4Wlasw3ZBX/X+NenLr+2+qhiVbgVzVYcFtzBLO/e0HPFQT AqXdcA9PFl22amzV0Bpk+gyd5XR4SkRuQ8koQMQ50652osMILEy5q1DE3f6mmHqr F61SxIdL32ol9ifhr3tFSOJQH+6bmshSD1QwF6jEDcZsqRymE3UO7TUwRaI7rRyC mKo1ERFcXxz1byXf0QZvwC0fnw0Vy9PZ322Zwqu927Pz/cI0epbWNxuxE0orBco2 ai3GXxJ2z6miiQVia3VmAkc9d6XpmNRwYDOTKJHuYzZy5iPSgSNWkF/SX8m1HiOe tPwOVQU7W5rIarU0s/j4vjlsypJih6p01NFpx5O3v09WVXDDhlQBj3Tto3M2jq5b R3MWsPJn9coZIt99ureC82bNKzeQ4+2WyZlLR9Tqo1Uqy4lNlfOeqaoZ8XsAuvjU H97u745naucxyc6secwGTdDBQsVJ3CmDVXkdgxaOvIczIRTwu7MAOkIX1MqrSBSE bEd8bzCsEIouBsN/ozDCuXtMI2qMX0nvh9Hl3WC0mIuQarzUcDGCJKfaidaSgUYn AoCryC6QjVN0lRO37+l1zTk8Mdg503MzlDmYtUhhkN6OJyIX+V5sbgXFd2c9jxjJ SjvheiwIfmWRAu2Rfc90 =SIcC -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150222234849.GA44067>