Bug 948695 - man: double free or corruption (fasttop)
Summary: man: double free or corruption (fasttop)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: man-db
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Schiffer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-05 06:58 UTC by Harald Hoyer
Modified: 2013-04-20 19:39 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-20 19:39:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Harald Hoyer 2013-04-05 06:58:36 UTC
$ rpm -qf /bin/man
man-db-2.6.3-5.fc19.x86_64

$ man -aw lzma
/usr/share/man/man1/xz.1.gz
*** Error in `man': double free or corruption (fasttop): 0x0000000001a83110 ***
Segmentation fault (core dumped)

$ gdb man
[...]
(gdb) run -aw lzma
[...]
/usr/share/man/man1/xz.1.gz
*** Error in `/usr/bin/man': double free or corruption (fasttop): 0x0000000000636110 ***
[...]
(gdb) up
#18 0x0000003797002696 in free_mandata_struct (pinfo=0x636110) at db_lookup.c:159
159			free (pinfo);			/* free the structure */
(gdb) info locals
next = 0x0
(gdb) print pinfo
$1 = (struct mandata *) 0x636110
(gdb) print *pinfo
$2 = {next = 0x0, addr = 0x627380 "\020\rd", name = 0x627360 "\220\203b", ext = 0x627382 "d", sec = 0x627384 "", id = 67 'C', pointer = 0x627393 "unxz", 
  comp = 0x62739a "gz", filter = 0x627398 "t", whatis = 0x62739d "", _st_mtime = 1364030474}

Comment 1 Peter Schiffer 2013-04-08 13:41:19 UTC
Thanks for the report.

Fixed in rawhide:
man-db-2.6.3-6.fc20
http://koji.fedoraproject.org/koji/buildinfo?buildID=409986

Comment 2 Fedora Update System 2013-04-08 13:52:03 UTC
man-db-2.6.3-6.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/man-db-2.6.3-6.fc19

Comment 3 Fedora Update System 2013-04-08 15:46:38 UTC
Package man-db-2.6.3-6.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing man-db-2.6.3-6.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5111/man-db-2.6.3-6.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-04-20 19:39:15 UTC
man-db-2.6.3-6.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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