aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Major bug in aspell world length handling


From: Aaron Sherman
Subject: Major bug in aspell world length handling
Date: Wed, 10 Nov 1999 15:35:23

Am I doing something wrong? Is anyone using aspell under Solaris? I try to 
spell-check a file using the "-a" option (as I'm calling this from a 
program), and it segfaults. I run gdb on it, and sure enough metaphone.cc 
creates a variable called "char wname[60]" and tries to put each word into 
it. If the word is larger than 60 characters, BOOM! I can't even see how 
this is Solaris-specific.

Granted, words longer than 60 characters are... rare, but not everything in 
a text file is going to be a valid word. I routinely see aspell crashing 
because of this.


From address@hidden  Thu May 24 22:26:16 2001
Return-Path: <address@hidden>
Received: from localhost (localhost [127.0.0.1])
        by kevins-linux.atkinson.inet (8.9.3/8.9.3) with ESMTP id PAA09595
        for <address@hidden>; Wed, 10 Nov 1999 15:51:16 -0500
Received: from mail
        by localhost with POP3 (fetchmail-5.0.0)
        for address@hidden (single-drop); Wed, 10 Nov 1999 15:51:16 -0500 (EST)
Received: from mx5-rwc.mail.home.com ([24.0.95.34])
          by mail.rdc1.md.home.com (InterMail v4.01.01.00 201-229-111)
          with ESMTP
          id <address@hidden>
          for <address@hidden>;
          Wed, 10 Nov 1999 12:50:09 -0800
Received: from mx1-rwc.mail.home.com (mx1-rwc.mail.home.com [24.0.95.30])
        by mx5-rwc.mail.home.com (8.9.3/8.9.0) with ESMTP id MAA18097
        for <address@hidden>; Wed, 10 Nov 1999 12:50:08 -0800 (PST)
Received: from franklin.oit.unc.edu (franklin.oit.unc.edu [152.2.22.59])
        by mx1-rwc.mail.home.com (8.9.1/8.9.1) with SMTP id MAA28609
        for <address@hidden>; Wed, 10 Nov 1999 12:50:07 -0800 (PST)
X-Authentication-Warning: sun00pg2.wam.umd.edu: kevina owned process doing -bs
Date: Wed, 10 Nov 1999 15:49:07 -0500 (EST)
From: Kevin Atkinson <address@hidden>
X-Sender: address@hidden
To: Aaron Sherman <address@hidden>
cc: address@hidden
Subject: Re: Major bug in aspell world length handling
In-Reply-To: <address@hidden>
Message-ID: <address@hidden>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
List-Unsubscribe: <mailto:address@hidden>
List-Software: Lyris Server version 3.0
List-Subscribe: <mailto:address@hidden>
List-Owner: <mailto:address@hidden>
X-URL: <http://metalab.unc.edu/kevina/aspell/>
X-List-Host: Guest Mailing Lists Hosted on SunSITE 
X-Message-Id: <address@hidden>
Sender: address@hidden
Precedence: bulk
Content-Length: 1015
Lines: 26
Status: RO
X-Status: 
X-Keywords:                 
X-UID: 138

On Wed, 10 Nov 1999, Aaron Sherman wrote:

> Am I doing something wrong? Is anyone using aspell under Solaris? I try to 
> spell-check a file using the "-a" option (as I'm calling this from a 
> program), and it segfaults. I run gdb on it, and sure enough metaphone.cc 
> creates a variable called "char wname[60]" and tries to put each word into 
> it. If the word is larger than 60 characters, BOOM! I can't even see how 
> this is Solaris-specific.
> 
> Granted, words longer than 60 characters are... rare, but not everything in 
> a text file is going to be a valid word. I routinely see aspell crashing 
> because of this.

You are absolutly right.  I will look into it this weekend.  It has never
come up in my use of aspell.

---
Kevin Atkinson
address@hidden
http://metalab.unc.edu/kevina/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]