Saturday, June 03, 2017

Re: [PATCH] textproc/ispell segfaults immediately on being run

On 2017-06-03 14:02:55, Stuart Henderson <stu@spacehopper.org> wrote:
> Ah good, it's the same with older libc so qsort isn't implicated.
>
> On 2017/06/03 19:54, Bryan Linton wrote:
> > Hopefully this will allow you to duplicate this behavior. If not,
> > please let me know what else I can do to help.
>
> It does, thanks. I see the same if I update it to 3.4.00 (I've updated
> the port anyway as that was overdue).
>
> I don't see where keywordbuf is intentionally getting set to anything
> other than a fresh malloc though, and don't know where to start looking
> to find something else that might be scribbling over it.
>
> Simple replication of the problem: just run
>
> DICTIONARY=/usr/local/lib/ispell/american.hash ispell
>

Ah well, at least now I know what was causing it and a simple way
to avoid the crash, so I thank you for prodding me to dig a little
deeper :)

--
Bryan

No comments:

Post a Comment