Re: Aspell (0.60.6.1) bug on finding suggestions for dotted numeric word

Kevin Atkinson <[email protected]> Thu, 7 Apr 2016 16:41:11 -0400 (EDT)
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323329-440559852-1460061673=:4663
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi,

A test case would be very useful.  For example a small sample program tha=
t=20
causes Aspell to crash.

Thank,
Kevin


On Thu, 7 Apr 2016, Guido Trentalancia wrote:

> Hello !
>
> I am hitting an aspell bug when the application tries to find
> suggestions for a dotted numeric "word" (e.g. 2.2.02.148).
>
> Here is the stack trace from gdb:
>
> Thread 1 "evolution" received signal SIGSEGV, Segmentation fault.
> 0x00007fff5ce3c0ca in aspeller::SfxEntry::key (this=3D0x2f2f2f2f2f2f2f2=
f) at modules/speller/default/affix.cpp:133
> 133	=C2=A0=C2=A0inline const char *=C2=A0=C2=A0key() const=C2=A0=C2=A0{=
 return rappnd; }=C2=A0
> (gdb) where
> #0=C2=A0=C2=A00x00007fff5ce3c0ca in aspeller::SfxEntry::key() const (th=
is=3D0x2f2f2f2f2f2f2f2f) at modules/speller/default/affix.cpp:133
> #1=C2=A0=C2=A00x00007fff5ce395ee in aspeller::AffixMgr::suffix_check(as=
peller::LookupInfo const&, acommon::ParmString, acommon::CheckInfo&, aspe=
ller::GuessInfo*, int, aspeller::AffEntry*) const (this=3D0x34a8b10, linf=
=3D..., word=3D..., ci=3D..., gi=3D0x0, sfxopts=3D0, ppfx=3D0x0) at modul=
es/speller/default/affix.cpp:805
> #2=C2=A0=C2=A00x00007fff5ce39939 in aspeller::AffixMgr::affix_check(asp=
eller::LookupInfo const&, acommon::ParmString, acommon::CheckInfo&, aspel=
ler::GuessInfo*) const (this=3D0x34a8b10, linf=3D..., word=3D..., ci=3D..=
., gi=3D0x0) at modules/speller/default/affix.cpp:843
> #3=C2=A0=C2=A00x00007fff5ce021b7 in (anonymous namespace)::Working::try=
_word_n(acommon::ParmString, int) (this=3D0x7fffffffce60, str=3D..., scor=
e=3D0)
> =C2=A0=C2=A0=C2=A0=C2=A0at modules/speller/default/suggest.cpp:413
> #4=C2=A0=C2=A00x00007fff5ce018cb in (anonymous namespace)::Working::try=
_word(char*, char*, int) (this=3D0x7fffffffce60, word=3D0x7fffffffcd80 ""=
, word_end=3D0x7fffffffcd80 "", score=3D0) at modules/speller/default/sug=
gest.cpp:227
> #5=C2=A0=C2=A00x00007fff5ce03117 in (anonymous namespace)::Working::try=
_one_edit_word() (this=3D0x7fffffffce60) at modules/speller/default/sugge=
st.cpp:603
> #6=C2=A0=C2=A00x00007fff5ce01cb9 in (anonymous namespace)::Working::get=
_suggestions((anonymous namespace)::NearMissesFinal&) (this=3D0x7fffffffc=
e60, sug=3D...)
> =C2=A0=C2=A0=C2=A0=C2=A0at modules/speller/default/suggest.cpp:316
> #7=C2=A0=C2=A00x00007fff5ce06ece in (anonymous namespace)::SuggestImpl:=
:suggest(char const*) (this=3D0x38738d0, word=3D0x386cfa0 "2.2.02.148 ")
> =C2=A0=C2=A0=C2=A0=C2=A0at modules/speller/default/suggest.cpp:1326
> #8=C2=A0=C2=A00x00007fff5ce1fb3f in aspeller::SpellerImpl::suggest(acom=
mon::MutableString) (this=3D0x386dff0, word=3D...)
> =C2=A0=C2=A0=C2=A0=C2=A0at modules/speller/default/speller_impl.cpp:133
> #9=C2=A0=C2=A00x00007fff5ce5509b in acommon::aspell_speller_suggest(aco=
mmon::Speller*, char const*, int) (ths=3D0x386dff0, word=3D0x3cbd760 "2.2=
.02.148 ", word_size=3D11) at lib/speller-c.cpp:148
> #10 0x00007fff5d09e4bb in aspell_dict_suggest () at /usr/lib64/enchant/=
libenchant_aspell.so
> #11 0x00007fffefe4d5c2 in enchant_dict_suggest () at /usr/lib/../lib64/=
libenchant.so.1
> #12 0x00007ffff789623d in e_spell_dictionary_get_suggestions () at /usr=
/lib64/evolution/libevolution-util.so
> #13 0x00007ffff783b99f in html_editor_update_actions () at /usr/lib64/e=
volution/libevolution-util.so
> #14 0x00007fffe15b176e in g_cclosure_marshal_VOID__BOXEDv () at /usr/li=
b/../lib64/libgobject-2.0.so.0
> #15 0x00007fffe15aeb34 in _g_closure_invoke_va () at /usr/lib/../lib64/=
libgobject-2.0.so.0
> #16 0x00007fffe15c9f88 in g_signal_emit_valist () at /usr/lib/../lib64/=
libgobject-2.0.so.0
> #17 0x00007fffe15ca6e2 in g_signal_emit () at /usr/lib/../lib64/libgobj=
ect-2.0.so.0
> #18 0x00007ffff783c8a5 in html_editor_show_popup () at /usr/lib64/evolu=
tion/libevolution-util.so
> #19 0x00007ffff784d78c in e_marshal_BOOLEAN__BOXED () at /usr/lib64/evo=
lution/libevolution-util.so
> #20 0x00007fffe15ae905 in g_closure_invoke () at /usr/lib/../lib64/libg=
object-2.0.so.0
> #21 0x00007fffe15c0331 in signal_emit_unlocked_R () at /usr/lib/../lib6=
4/libgobject-2.0.so.0
> #22 0x00007fffe15c9ddd in g_signal_emit_valist () at /usr/lib/../lib64/=
libgobject-2.0.so.0
> #23 0x00007fffe15ca6e2 in g_signal_emit () at /usr/lib/../lib64/libgobj=
ect-2.0.so.0
> ---Type <return> to continue, or q <return> to quit---
> #24 0x00007ffff781fe7e in html_editor_view_button_press_event () at /us=
r/lib64/evolution/libevolution-util.so
> #25 0x00007fffe81adba7 in _gtk_marshal_BOOLEAN__BOXEDv () at /usr/lib/.=
./lib64/libgtk-3.so.0
> #26 0x00007fffe15aeb34 in _g_closure_invoke_va () at /usr/lib/../lib64/=
libgobject-2.0.so.0
> #27 0x00007fffe15c9a6b in g_signal_emit_valist () at /usr/lib/../lib64/=
libgobject-2.0.so.0
> #28 0x00007fffe15ca6e2 in g_signal_emit () at /usr/lib/../lib64/libgobj=
ect-2.0.so.0
> #29 0x00007fffe8324bfc in gtk_widget_event_internal.part () at /usr/lib=
/../lib64/libgtk-3.so.0
> #30 0x00007fffe81abab3 in gtk_propagate_event () at /usr/lib/../lib64/l=
ibgtk-3.so.0
> #31 0x00007fffe81ac3e8 in gtk_main_do_event () at /usr/lib/../lib64/lib=
gtk-3.so.0
> #32 0x00007fffe7cc4455 in _gdk_event_emit () at /usr/lib/../lib64/libgd=
k-3.so.0
> #33 0x00007fffe7cf6f92 in gdk_event_source_dispatch () at /usr/lib/../l=
ib64/libgdk-3.so.0
> #34 0x00007fffe10c2f57 in g_main_context_dispatch () at /usr/lib/../lib=
64/libglib-2.0.so.0
> #35 0x00007fffe10c31a8 in g_main_context_iterate.isra () at /usr/lib/..=
/lib64/libglib-2.0.so.0
> #36 0x00007fffe10c34c2 in g_main_loop_run () at /usr/lib/../lib64/libgl=
ib-2.0.so.0
> #37 0x00007fffe81aafb5 in gtk_main () at /usr/lib/../lib64/libgtk-3.so.=
0
> #38 0x000000000040435f in main ()
> (gdb) print rappnd
> Cannot access memory at address 0x2f2f2f2f2f2f2f4f
>
>
--8323329-440559852-1460061673=:4663
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Aspell-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/aspell-devel

--8323329-440559852-1460061673=:4663--