Bug 620262

Summary: [abrt] crash in finger-0.17-41.fc12: strncpy: Process /usr/bin/finger was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Lars Poulsen <lpoulsen>
Component: fingerAssignee: Petr Lautrbach <plautrba>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:f25d1d700e3eb5a57bc7536725c91e6394a541a9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-08 11:02:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Lars Poulsen 2010-08-01 21:04:58 UTC
abrt 1.1.1 detected a crash.

architecture: i686
Attached file: backtrace
cmdline: finger nosuchuser
component: finger
crash_function: strncpy
executable: /usr/bin/finger
global_uuid: f25d1d700e3eb5a57bc7536725c91e6394a541a9
kernel: 2.6.32.14-127.fc12.i686.PAE
package: finger-0.17-41.fc12
rating: 4
reason: Process /usr/bin/finger was killed by signal 11 (SIGSEGV)
release: Fedora release 12 (Constantine)

Comment 1 Lars Poulsen 2010-08-01 21:05:00 UTC
Created attachment 435915 [details]
File: backtrace

Comment 2 Petr Lautrbach 2010-09-22 14:03:08 UTC
#4  main (argc=-30368326, argv=<value optimized out>) at finger.c:175

argc=-30368326 is really weird. Are you able to reproduce it? I'm not.

Comment 3 Lars Poulsen 2010-09-22 16:23:47 UTC
I think the BugZilla report came from an automatic reporting tool; at least I do not remember filing it. But it is a fact that finger is not working and crashes with "Segmentation fault" whenever I invoke it with an argument from a bash command line:
       finger
gives the expected display (like the "w" command), but
    finger username
crashes with a Segmentation fault. I think that has been the case for years.

Are you saying that is not true for other people, including you ?

Comment 4 Petr Lautrbach 2010-09-23 08:58:55 UTC
Seems like you have somehow broken system, maybe libc. Try check libraries, package consistency or update your system.

I've just installed f12 with updates and finger works as expected:

# finger test
Login: test                             Name:
Directory: /home/test                   Shell: /bin/bash
Never logged in.
No mail.
No Plan.

# finger
Login     Name       Tty      Idle  Login Time   Office     Office Phone
root      root       ttyS0          Sep 23 10:51

# finger nosuchuser
finger: nosuchuser: no such user.

# rpm -q finger
finger-0.17-41.fc12.i686