Bug 77854
Summary: | man core dumps on -- argument (less drops core when invoked on man file) | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <nigel.metheringham> |
Component: | man | Assignee: | Karsten Hopp <karsten> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | mitr |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-12-17 15:30:35 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: |
Description
Need Real Name
2002-11-14 13:53:13 UTC
Less version is 358-24 strange. I've tested this with less-358-24 on 7.3 and with less-358-21 without getting a coredump. Did you change anything in the lesspipe ? (/usr/bin/lesspipe.sh) lesspipe is as originally packaged. Its a man bug. For whatever reason less is calling man as (following example in earlier entry) man -- ./syslog.conf.5 This command drops core. In fact man -- drops core - SEGV:- Program received signal SIGSEGV, Segmentation fault. 0x400e5e48 in _getopt_internal () from /lib/libc.so.6 (gdb) bt #0 0x400e5e48 in _getopt_internal () from /lib/libc.so.6 #1 0x400e6286 in getopt_long () from /lib/libc.so.6 #2 0x0804dc86 in get_options_from_argvec (argc=1, argv=0x8089ca8, config_file=0x0, manpath=0x0) at man-getopt.c:66 #3 0x0804e0eb in get_options_from_string (s=0x8050937 "") at man-getopt.c:210 #4 0x0804e162 in man_getopt (argc=3, argv=0xbffff9a4) at man-getopt.c:232 #5 0x0804be13 in main (argc=3, argv=0xbffff9a4) at man.c:1240 #6 0x400361c4 in __libc_start_main () from /lib/libc.so.6 So the bug is in man It appears to show up in less for EU folks, although this does not seem to be directly tied to the locale settings (ie if I set my locale stuff to C using environment variables I still see the problem). The man core drop on -- is seen by everyone I've got to try it - US or EU. Modded component and summary of bug report appropriately. I should have thought of that. I've fixed exactly this bug in man-1.5j-11 See bug #73212 for more info. |