#253 repeatable core dump while checking file

closed
crash (5)
5
2016-12-11
2011-12-18
No

The failed command is "aspell -c README". ("aspell list < README" works.)

$ gdb -c aspell.core $(which aspell)
GNU gdb 6.5
...
Core was generated by `aspell'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f7ffcfd18e9 in fclose () from /usr/lib/libc.so.12
(gdb) bt
#0 0x00007f7ffcfd18e9 in fclose () from /usr/lib/libc.so.12
#1 0x0000000000425189 in std::vector<acommon::String, std::allocator<acommon::String> >::_M_fill_insert ()
[Higher frames have no symbols. I can produce a better bt if you cannot reproduce the results.]

Input file: http://downloads.kergis.com/README

$ aspell --version
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.6)

$ uname -a
NetBSD oak.schemamania.org 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb 6 13:44:19 UTC 2010 builds@b8.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/amd64/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64

$ file README
README: ISO-8859 English text

$ locale
LANG=""
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=""

Discussion

  • Kevin Atkinson

    Kevin Atkinson - 2011-12-18

    Please try the Aspell 0.60.6.1 or the latest stable Aspell snapshot. I'm not sure, but I think the bug is fixed in the latest version.

    I tried on my machine and didn't get a crash.

    If it still crashes please be more specific on how to reproduce the problem. Does it crash on startup, after replacing a word, etc.

     
  • James K. Lowden

    James K. Lowden - 2011-12-18

    Sorry, I tried to be clear; the command fails immediately on startup.

     
  • Kevin Atkinson

    Kevin Atkinson - 2011-12-18

    Okay thanks, that what I thought but wasn't sure.

    If possible still please try a newer Aspell as I think this bug is fixed.

     
  • Kevin Atkinson

    Kevin Atkinson - 2016-12-11
    • Status: open --> closed