Tested in master: 9ffee9add2d0380f4025e7a678a166f25a7d659e 1) start a core-image-minimal-qemux86-64 2) at login screen, give an invalid username (ex: asdf) 3) give any value for the password field and press enter Notice error: " qemux86-64 login: asdf Password: login[426]: segfault at 0 ip 00007f11ed047cb6 sp 00007fff7127bef8 error 4 in libc-2.17.so[7f11ecfc5000+1a7000] Poky 8.0 (Yocto Project 1.3 Reference Distro) 1.3+snapshot-20130321 qemux86-64 ttyS0 qemux86-64 login: "
This seems very unlikely to be a BSP-specific bug. Are you seeing this on any other BSP?
It is a general issue with core-image-minimal images. I believe I should have placed this in the OE-CORE product. Changing accordingly.
confirmed on qemux86 and qemuarm. And it's not restricted to minimal image. The same problem appeared on sato-sdk image: root@qemuarm:/etc# login qemuarm login: jfiewoefiwof Password: Segmentation fault
Indeed but it is not a general issue. core-image-lsb-sdk for instance does not have this issue (tested core-image-lsb-sdk-jasperforest).
I debugged this issue down to the new version of the crypt() code in eglibc 2.17, it expects 2 valid chars as part the chipher, or it returns NULL. The tinylogin code uses the return to do a strcmp(). This causes the segfault. There is also an issue in the shadow version of login, but manifests itself as a perror: crypt: Invalid Argument. There are potential fixes for both of these that are being looked into currently.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=59c073514c01b018f6123bb177141888b6f8c8ee
Verified on master branch: Commit ID: c42cc8fb38aee46f4778b9c68412a47ae5919923