Menu

#67 Segfault while using German dictionary (wadokudict in edict format)

open
nobody
None
5
2013-10-17
2013-10-12
kareema0
No

Using gWaei 3.6.2, I'm trying to use the following German dictionaries with gWaei:
(1) http://www.wadoku.de/downloads/wadokudict_20130707.tar.bz2
(2) http://www.wadoku.de/downloads/wadokudict2_20130707.tar.bz2
The first dictionary in edict format gives a segfault when trying to search for a word. Gdb output attached. Could it be a size problem? The dict is rather big with about 30MB.
For reference: The second dictionary in editc2 format works without problems, but has no Kanji (that's a problem of the dictionary, not one of gWaei).

1 Attachments

Discussion

  • kareema0

    kareema0 - 2013-10-14

    Sorry - wrong idea about the cause of the segfault. I've split up the German dictionary file (1) in half and there seems to be a problem in the second part of the dictionary file causing the segfault. I will look into it - perhaps I can spot the source of the problem. Nevertheless, gWaei should not segfault if the dictionary file is corrupt or has formatting errors...

     
  • kareema0

    kareema0 - 2013-10-17

    OK, I found out that it's a problem with empty lines in the dictionary causing the segfault. I know this is a problem of the dictionary and not of gWaei in the first place, but perhaps this should be handled gracefully by gWaei if it occurs.

     

Log in to post a comment.

MongoDB Logo MongoDB