Bug 17192 - man crashes after upgrade to man-1.5h1-2.5.x
Summary: man crashes after upgrade to man-1.5h1-2.5.x
Keywords:
Status: CLOSED DUPLICATE of bug 17187
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: man
Version: 5.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-02 22:25 UTC by mal
Modified: 2008-05-01 15:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-09-06 07:21:54 UTC
Embargoed:


Attachments (Terms of Use)

Description mal 2000-09-02 22:25:04 UTC
After applying all updates
ftp://ftp.redhat.com/pub/redhat/updates/5.2/i386/* 
from RedHat 5.2
man crashes on avery request
ftp://ftp.redhat.com/pub/redhat/updates/5.2/i386/man-1.5h1-2.5.x.i386.rpm 
man man
Segmentation fault
gdb man
GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU support
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-redhat-linux"...
(no debugging symbols found)...
(gdb) run man
Starting program: /usr/bin/man man

Program received signal SIGSEGV, Segmentation fault.
0x4002b434 in __open_catalog (catalog=0x80624d0, with_path=1)
    at open_catalog.c:91
open_catalog.c:91: No such file or directory.
(gdb) bt
#0  0x4002b434 in __open_catalog (catalog=0x80624d0, with_path=1)
    at open_catalog.c:91
#1  0x4002b157 in catgets (catalog_desc=0x80624d0, set=2, message=40, 
    string=0x804e983 "") at catgets.c:137
#2  0x804d584 in _start ()
#3  0x804d5e0 in _start ()
#4  0x804a1c2 in _start ()
#5  0x804a43b in _start ()
#6  0x804a540 in _start ()
#7  0x804a859 in _start ()
#8  0x804b087 in _start ()
(gdb)

Comment 1 mal 2000-09-02 22:32:54 UTC
after downgrade to
man-1.5f-1.i386.rpm
man works OK

Comment 2 mal 2000-09-02 22:34:49 UTC
In addition:
some files in new man package in the directory
/var/catman/cat1/
have rw-rw-rw permissions
what is incorrect.

Comment 3 Need Real Name 2000-09-04 19:18:34 UTC
A backtrace of this problem, which I am also experiencing, with a version of 
this RPM built with debugging symbols, shows that we are crashing with glibc 
(!).  Specifically, in __open_catalog(), which is called by catgets().  Here's 
the trace:

#0  0x40029434 in __open_catalog (catalog=0x80888b8, with_path=1)
    at open_catalog.c:91
#1  0x40029157 in catgets (catalog_desc=0x80888b8, set=2, message=40, 
    string=0x804e983 "") at catgets.c:137
#2  0x804d584 in getmsg (n=40) at gripes.c:67
#3  0x804d5e0 in gripe (n=40) at gripes.c:85
#4  0x804a1c2 in make_cat_file (path=0x8088668 "/usr/man", 
    man_file=0x80886c8 "/usr/man/man1/man.1.gz", 
    cat_file=0x8088738 "/var/catman/cat1/man.1.gz") at man.c:694
#5  0x804a43b in make_and_display_cat_file (path=0x8088668 "/usr/man", 
    man_file=0x80886c8 "/usr/man/man1/man.1.gz") at man.c:783
#6  0x804a540 in format_and_display (
    man_file=0x8088678 "/usr/man/man1/man.1.gz") at man.c:844
#7  0x804a859 in man (name=0xbffffe39 "man", section=0x0) at man.c:961
#8  0x804b087 in main (argc=2, argv=0xbffffd24) at man.c:1177

Comment 4 Need Real Name 2000-09-05 08:57:47 UTC
This behaviour seems to have been triggered by upgrade to glibc. Everything 
worked OK untill yesterday with glibc-2.0.7-19. However, after upgrade to 
current glibc-2.0.7-29, man doesn't work anymore. That kinda sucks.

Comment 5 Need Real Name 2000-09-06 07:21:51 UTC
This bug is a duplicate of bug 17187. Hello, maintainer, please mark it as such.

Comment 6 Jeff Johnson 2000-10-06 22:18:18 UTC

*** This bug has been marked as a duplicate of 17187 ***


Note You need to log in before you can comment on or make changes to this bug.