LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware64 13.0 finger segmentation fault (http://www.linuxquestions.org/questions/slackware-14/slackware64-13-0-finger-segmentation-fault-791751/)

hithere 02-26-2010 09:13 AM

Slackware64 13.0 finger segmentation fault
 
Hi all,

if I run finger on one specific account (lets name it "testuser") which has the description field blank (or ,,,) in /etc/passwd I get:

Code:

root@hostname:~# finger testuser
Segmentation fault

The entry in passwd for that user is:

Code:

testuser:x:1392:100:,,,:/home/testuser/./:/bin/bash
(the /./ part is to chroot that user over ssh and looks like it doesn't have anything to do with this finger segmentation fault).

If I fill the description field, for eg. with "Account" then finger doesn't segfault. Example:

Code:

testuser:x:1392:100:Account:/home/testuser/./:/bin/bash

root@hostname:~# finger testuser

(... ok output)

If I finger root's account all is working ok, even though root's account doesn't have the description field filled in /etc/passwd too (it is :: ).

I am attaching the strace output if it can help: http://pastebin.com/wK1tEKZM

Rough system installation description:
  • I clean installed Slackware64 13.0 (64-bit to mention again :))
  • updated the system from /patches/packages from the net
  • added multilib support using instructions from the Alien's Wiki.

Thanks in advance.

hithere 03-06-2010 04:24 PM

additional info:

in dmesg a line like this gets logged:

finger[5204] general protection ip:7f2c69d28770 sp:7fffd3bd3ed8 error:0 in libc-2.9.so[7f2c69ca8000+167000]

mRgOBLIN 03-06-2010 05:09 PM

Finger works as expected here... with or without the blank description field.


All times are GMT -5. The time now is 06:22 PM.