* 'who' seg faults
@ 1998-12-28 22:52 Jeff Downs
1998-12-29 0:19 ` Michal Jaegermann
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Downs @ 1998-12-28 22:52 UTC (permalink / raw)
To: axp-list
When looking through my logs today, I noticed unaligned traps
cause by /usr/bin/who
Upon running it, it seg faulted. I then ran it through gdb to
gain the following:
GDB is free software and you are welcome to 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.
GDB 4.16 (alpha-redhat-linux), Copyright 1996 Free Software
Foundation, Inc...
(no debugging symbols found)...
(gdb) run
Starting program: /usr/bin/who
Program received signal SIGSEGV, Segmentation fault.
0x155557f8d38 in chunk_realloc (ar_ptr=0x155559632d8,
oldp=0x1201035a0,
oldsize=50192, nb=100368) at malloc.c:3192
malloc.c:3192: No such file or directory.
(gdb)
(gdb) bt
#0 0x155557f8d38 in chunk_realloc (ar_ptr=0x155559632d8,
oldp=0x1201035a0,
oldsize=50192, nb=100368) at malloc.c:3192
#1 0x155557f8afc in __libc_realloc (oldmem=0x155559632d8,
bytes=100352)
at malloc.c:3102
#2 0x1200025e0 in _start ()
#3 0x120001bcc in _start ()
#4 0x120001c24 in _start ()
Cannot access memory at address 0xfffffffffffffffd.
This is RedHat 5.0 for the alpha, with all relevant patches up
until about a week ago. It is running 2.0.35, has a 143 day
uptime, glibc RPM version 2.0.7-19. The machine itself is a 166
Multia.
Has anyone else seen this? Is this fixed in the 'who' that ships
with 5.1?
-Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: 'who' seg faults
1998-12-28 22:52 'who' seg faults Jeff Downs
@ 1998-12-29 0:19 ` Michal Jaegermann
0 siblings, 0 replies; 2+ messages in thread
From: Michal Jaegermann @ 1998-12-29 0:19 UTC (permalink / raw)
To: axp-list
Jeff Downs wrote:
>
> When looking through my logs today, I noticed unaligned traps
> cause by /usr/bin/who
These are not cause for what follows.
> Upon running it, it seg faulted.
.....
>
>
> This is RedHat 5.0 for the alpha, with all relevant patches up
> until about a week ago.
....
> Has anyone else seen this?
Yes. This is caused by an "improvement" from Red Hat not present
in original 'who' sources. It was reported a long time ago.
I think that I even posted a fix on this list but maybe not.
Your /var/log/wtmp file has to grow big enough before it hits.
> Is this fixed in the 'who' that ships
> with 5.1?
I believe that the current version of sh-utils has this fixed
but I cannot tell which version was the first one corrected
(if any).
Michal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-12-29 0:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-28 22:52 'who' seg faults Jeff Downs
1998-12-29 0:19 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox