Re: useradd segmentation fault
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/08/2014 11:16 AM, Don Armstrong wrote:
> ulimit -c unlimited; useradd foo; gdb /usr/sbin/useradd core; bt
> full; or similar.
>
> You'll also want to install libc6-dbg gdb; and similar.
>
> This will give you an idea of where the code is segfaulting, and
> whether it's in a library which useradd is calling, or something
> else entirely.
>
> If the backtrace doesn't look at all useful, something like:
>
> apt-get build-dep passwd; DEB_BUILD_OPTS="nostrip,noopt" apt-get
> source -b passwd;
>
> should in theory give you a passwd .deb file with debugging symbols
> and no optimization which you can then install to give you a more
> useful backtrace.
>
> You also might start by just reinstalling passwd in case there was
> some corruption somewhere to make sure you can replicate the
> segfault.
>
Awesome, ill give all this a go and also maybe try settings its ram to
8gb and update with what happens.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJUXm2zAAoJEORnMHMHY2FrZgAQAJWST7FWrcHKkkpCEAg7NSHQ
dHaE6ASyDuIY3iMtyGSrVRogHC9C0rooL0tEaUekynJcG5MH96XaWZoDAIZ0APpb
fBfFigvRZF+LLFsU4N4CG9GvPsSX5MIFGP9zqme51j22IUCqVUedS25D4Rd4qLeV
qa0GvA4xStk/d3pCKsVOIt8tC302PV5OcFuvfzrVBPKRRxUweXAP4wiQupb9UzVr
iXdqlc1UtFaOUhvu6KGC0iF7VzLBn6hZnRPxUBQmzgphCkPGpRSxv4zdVG/s13VR
Zapi2kOxtTqarpBtxG95Krp+E1lzlO70xOrOqjbUhGnBAzc1d4jW8PP8WhDmSzH7
MYmPpmLF7cWlIBwvsf0TOO+NL7Xk0yvl2p9bf6GnDsw5sstu/B7k3ISWgtybsvCD
5Ys4OzteYzM2ekfmKFmGuT8nZG03fjOdM8Wtn+XFg75/Vbdbp58ZECGdzYTTcFeB
+AKkb7PHznu99I32djg7ICWQRGdFhe4EWB3W/Qo4u2AYcZgEn2jn+8Lz+agytTLh
Zcf+2jvZoabT8VhCqYhuBi6peDLsZsV2k4GBR+/CFevYGD48s26b1+cAJgB0/dWp
OJwAW5nSXTpIlXS21axZkyTkEF+mzPhBuNL6WJBOq5i1J/9fTFGQt5/L2wv/Olyj
YD7hsadQ8qN5xBzO0GQd
=iKYV
-----END PGP SIGNATURE-----
Reply to: