I can cause /usr/bin/login to segfault in a predictable manner on i386. I discovered this while trying to enable consolekit through pam, by adding the following line in /etc/pam.d/login
session optional /usr/local/lib/pam_ck_connector.so debug nox11
After this, any attempt to log in from the text console causes the system to drop me back to the login prompt, and the system log /var/log/messages says that login exited with signal 11.
FreeBSD turing 10.1-RELEASE-p16 FreeBSD 10.1-RELEASE-p16 #0: Tue Jul 28 11:41:12 UTC 2015 firstname.lastname@example.org:/usr/obj/usr/src/sys/GENERIC i386
I have tested this on multiple i386 machines. The error is also present in 10.2-RC2. I upgraded one of my i386 machines for testing.
The error does not occur on x64 machines. Login is successful, and ck-list-sessions shows an active session on the console, again tested on multiple machines. So it seems an i386 issue.
Hope I was thorough enough. Thanks for looking into it.
This is installed by third party (consolekit), recategorize and assign.
10.2 is EOL. I think there were some updates of consolekit. Is this still relevant?