[gutsy] dhelp_parse -r dumps core (called in postinst, fails to install/upgrade)

Bug #114357 reported by Gregory Cook
This bug report is a duplicate of:  Bug #123600: dhelp crashes. Edit Remove
2
Affects Status Importance Assigned to Milestone
dhelp (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: dhelp
Architecture: amd64

Unpacking dhelp (from .../dhelp_0.5.24-0.1_amd64.deb) ...
Setting up dhelp (0.5.24-0.1) ...
Building HTML tree ...*** stack smashing detected ***: /usr/sbin/dhelp_parse terminated
Aborted (core dumped)
dpkg: error processing dhelp (--configure):
 subprocess post-installation script returned error exit status 134
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up dhelp (0.5.24-0.1) ...
Building HTML tree ...*** stack smashing detected ***: /usr/sbin/dhelp_parse terminated
Aborted (core dumped)
dpkg: error processing dhelp (--configure):
 subprocess post-installation script returned error exit status 134
Errors were encountered while processing:
 dhelp

(gdb) run -r
Starting program: /usr/sbin/dhelp_parse -r
[Thread debugging using libthread_db enabled]
[New Thread 47239266745072 (LWP 10012)]
*** stack smashing detected ***: /usr/sbin/dhelp_parse terminated

Program received signal SIGABRT, Aborted.
[Switching to Thread 47239266745072 (LWP 10012)]
0x00002af6bf626765 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00002af6bf626765 in raise () from /lib/libc.so.6
#1 0x00002af6bf6281c0 in abort () from /lib/libc.so.6
#2 0x00002af6bf65f60b in ?? () from /lib/libc.so.6
#3 0x00002af6bf6de21c in __stack_chk_fail () from /lib/libc.so.6
#4 0x00000000004018e2 in dhelp_add (
    name=0x7fffeb9fcdb0 "/usr/share/doc/bzip2/") at dhelp_parse.c:695
#5 0x0000000000401a06 in dhelp_add_rec (
    dirname=0x7fffeb9fde80 "/usr/share/doc/bzip2") at dhelp_parse.c:758
#6 0x0000000000401a48 in dhelp_add_rec (
    dirname=0x7fffeb9feec0 "/usr/share/doc") at dhelp_parse.c:755
#7 0x0000000000402897 in main (argc=2, argv=0x7fffeba00fe8)
    at dhelp_parse.c:794
#8 0x00002af6bf612b44 in __libc_start_main () from /lib/libc.so.6
#9 0x0000000000400de9 in _start ()

pkern@asterix:~$ dpkg -s bzip2|grep '^Version'
Version: 1.0.4-0ubuntu1

Revision history for this message
Philipp Kern (pkern) wrote :

pkern@asterix:/usr/share/doc/bzip2$ cat .dhelp
<item>
<x-doc-base-id>bzip2
<directory>tools
<linkname>bzip2 and libbzip2: a program and library for data compression
<filename>manual.html
<documents>manual.html
<description>
bzip2 compresses files using the Burrows-Wheeler block-sorting
text compression algorithm, and Huffman coding. Compression is generally
considerably better than that achieved by more conventional
LZ77/LZ78-based compressors, and approaches the performance of the PPM
family of statistical compressors.
</description>
</item>

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.