Bug 15831

Summary: pr command segfaults as non-root user
Product: Base System Reporter: Mark Jacobs <jacobsm>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Mark Jacobs 2000-01-02 02:30:00 UTC
pr command when run as non-root user receives an SIGSEGV in strftime
from /usr/lib/libc.so.3

How-To-Repeat: Sign on as non-root user, enter pr without any filename or options. 
it should fail.
Comment 1 alex 2000-01-02 10:16:23 UTC
Thus spake jacobsm@gate.net (jacobsm@gate.net):

> Sign on as non-root user, enter pr without any filename or options. 
> it should fail.

It doesn't for me.

Can you start it with gdb, please?

alex:~ $ gdb pr
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
(gdb) run
Starting program: /usr/bin/pr 
(no debugging symbols found)...(no debugging symbols found)...
Program exited normally.
(gdb) quit

Alex

-- 
I doubt, therefore I might be.
Comment 2 Steve Price freebsd_committer freebsd_triage 2000-01-02 19:55:06 UTC
State Changed
From-To: open->closed

Still not enough information to help out.  I cannot reproduce this on any 
of the boxes here either, so I can't guess at what might be wrong.  Please 
send us the information that I requested of you in private mail and we'll 
help to the best of our ability.  Please don't open another PR.  If you 
want to send us details of the problem, do so as a followup to this PR. 
Thanks.