Debian Bug report logs - #659281
hunspell: hangs with -D option

version graph

Package: hunspell; Maintainer for hunspell is Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>; Source for hunspell is src:hunspell.

Reported by: Luca Capello <luca@pca.it>

Date: Thu, 9 Feb 2012 19:06:10 UTC

Severity: minor

Tags: patch

Found in version hunspell/1.3.2-4

Forwarded to http://sourceforge.net/tracker/?func=detail&aid=3522524&group_id=143754&atid=756395

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to luca@pca.it, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>:
Bug#659281; Package hunspell. (Thu, 09 Feb 2012 19:06:13 GMT) Full text and rfc822 format available.

Acknowledgement sent to Luca Capello <luca@pca.it>:
New Bug report received and forwarded. Copy sent to luca@pca.it, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>. (Thu, 09 Feb 2012 19:06:13 GMT) Full text and rfc822 format available.

Message #5 received at maintonly@bugs.debian.org (full text, mbox):

From: Luca Capello <luca@pca.it>
To: Debian Bug Tracking System <maintonly@bugs.debian.org>
Subject: hunspell: hangs with -D option
Date: Thu, 09 Feb 2012 20:01:52 +0100
[Message part 1 (text/plain, inline)]
Package: hunspell
Version: 1.3.2-4
Severity: minor
Usertags: pca.it-l10n

Hi there!

The subject says all:
=====
$ time hunspell -D
SEARCH PATH:
.::/usr/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts:/[...]
AVAILABLE DICTIONARIES (path is not mandatory for -d option):
/usr/share/hunspell/en_US
LOADED DICTIONARY:
/usr/share/hunspell/en_US.aff
/usr/share/hunspell/en_US.dic
Hunspell 1.3.2
^C

real    35m4.786s
user    0m0.044s
sys     0m0.000s
=====

According to the sources (src/tools/hunspell.cxx:1612) the program
should not exit, which I find quite strange.  This is not completely
clear from the manpage, so either the program or the manpage should be
fixed.

Thx, bye,
Gismo / Luca

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hunspell depends on:
ii  hunspell-en-us [hunspell-dictionary]  20070829-5
ii  libc6                                 2.13-24
ii  libgcc1                               1:4.6.2-12
ii  libhunspell-1.3-0                     1.3.2-4
ii  libncurses5                           5.9-4
ii  libncursesw5                          5.9-4
ii  libreadline6                          6.2-8
ii  libstdc++6                            4.6.2-12
ii  libtinfo5                             5.9-4

hunspell recommends no packages.

hunspell suggests no packages.

-- no debconf information
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>:
Bug#659281; Package hunspell. (Mon, 30 Apr 2012 10:48:31 GMT) Full text and rfc822 format available.

Acknowledgement sent to Agustin Martin <agmartin@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>. (Mon, 30 Apr 2012 10:48:34 GMT) Full text and rfc822 format available.

Message #10 received at 659281@bugs.debian.org (full text, mbox):

From: Agustin Martin <agmartin@debian.org>
To: Luca Capello <luca@pca.it>, 659281@bugs.debian.org
Subject: Re: Bug#659281: hunspell: hangs with -D option
Date: Mon, 30 Apr 2012 12:47:03 +0200
forwarded 659281 http://sourceforge.net/tracker/?func=detail&aid=3522524&group_id=143754&atid=756395
tag       659281 +patch
thanks

On Thu, Feb 09, 2012 at 08:01:52PM +0100, Luca Capello wrote:
> Package: hunspell
> Version: 1.3.2-4
> Severity: minor
> Usertags: pca.it-l10n
> 
> Hi there!
> 
> The subject says all:

For the records I opened a bug report at upstream tracker, where I point at
a fix suggested by Eli Zaretskii in emacs-devel mailing list

http://article.gmane.org/gmane.emacs.devel/149245

--- src/tools/hunspell.cxx~0    2011-01-21 19:01:29.000000000 +0200
+++ src/tools/hunspell.cxx      2012-03-21 16:40:31.255690500 +0200
@@ -1756,6 +1763,7 @@ int main(int argc, char** argv)
                fprintf(stderr, gettext("SEARCH PATH:\n%s\n"), path);
                fprintf(stderr, gettext("AVAILABLE DICTIONARIES (path is not mandatory for -d option):\n"));
                search(path, NULL, NULL);
+               if (arg_files==-1) exit(0);
        }

        if (!privdicname) privdicname = mystrdup(getenv("WORDLIST"));


Regards,

-- 
Agustin




Set Bug forwarded-to-address to 'http://sourceforge.net/tracker/?func=detail&aid=3522524&group_id=143754&atid=756395'. Request was from Agustin Martin <agmartin@debian.org> to control@bugs.debian.org. (Mon, 30 Apr 2012 10:48:41 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Agustin Martin <agmartin@debian.org> to control@bugs.debian.org. (Mon, 30 Apr 2012 10:48:42 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 09:35:00 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.