Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
R
recoll
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Jean-Francois Dockes
  • recoll
  • Issues
  • #1

Closed
Open
Opened Mar 20, 2020 by Nathaniel Beaver@nmbeaver

segfault error 4 in libaspell.so.15.2.0

I think it happened while typing, not after pressing enter, but I'm not sure. Got this in dmesg:

recoll[7116]: segfault at 7f6966aae7a5 ip 00007f69245a2434 sp 00007ffd499f9b48 error 4 in libaspell.so.15.2.0[7f6924559000+a1000]

Best I can do is that it's somewhere near Rcl::Db::getSpellingSuggestions and Aspell::suggest.

#21 0x00007f69245e5a6c in acommon::aspell_speller_suggest(acommon::Speller*, char const*, int) (ths=0x55648fa089e0, word=<optimized out>, word_size=<optimized out>) at lib/speller-c.cpp:148
        s0 = 7
        ret = {<acommon::PosibErrBase> = {err_ = 0x7ffd499fa66f}, data = 0x112166d34d6eee00}
#22 0x00007f6998914049 in Aspell::suggest(Rcl::Db&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) () at /usr/lib/recoll/librecoll-1.23.7.so
#23 0x00007f69989ef52f in Rcl::Db::getSpellingSuggestions(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) () at /usr/lib/recoll/librecoll-1.23.7.so
#24 0x000055648e0e4df5 in  ()
#25 0x00007f69989c3a73 in ResListPager::displayPage(RclConfig*) () at /usr/lib/recoll/librecoll-1.23.7.so
#26 0x000055648e0e1838 in  ()
#27 0x000055648e0e235b in  ()
#28 0x000055648e0e2fa9 in  ()
#29 0x00007f6993e0b555 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7ffd499fc9e0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3767

I've attached the full stack traces in case they are helpful.

Can't get the librecoll function calls because there is no recoll-dbgsym package.

https://bugs.launchpad.net/ubuntu/+source/recoll/+bug/1814973

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928157

I could also provide a link to the aspdict.en.rws file, but it's a bit big.

$ du -sh ~/.recoll/aspdict.en.rws 
45M	/home/nathaniel/.recoll/aspdict.en.rws

Anecdotally, this is the most frequent reason for recoll to crash on Ubuntu 18.04.

Might be a duplicate of this bug?

The aspell command used to generate the orthographic correction dictionary is broken on Debian Jessie, because of an aspell packaging mistake which will not be fixed for the release. Try the following command, replacing 'en' by your language code:

/usr/bin/aspell --lang=en --encoding=utf-8 create master /tmp/dict.rws

If it complains about a missing /usr/share/aspell/en.dat, the workaround is to link the .dat files from /usr/lib/aspell to /usr/share/aspell:

cd /usr/share/aspell
sudo ln -s /usr/lib/aspell/*.dat .

https://www.lesbonscomptes.com/recoll/BUGS.html

or maybe this bug?

Observed behaviour: segfault at fc65e0ad ip 00000000f6097188 sp 00000000ffd47348 error 4 in libaspell.so.15.1.4[f604f000+af000]

[ . . . ]

I’m also afraid that the crash may be linked to the actual contents of the aspell dict, aspell is a quite sensitive beast.

[ . . . ]

This probably an aspell issue, and I can’t work on it for lack of feedback anyway

https://www.lesbonscomptes.com/recoll/bitbucket-issues-recoll/issue-47.html

$ apt-cache policy recoll 
recoll:
  Installed: 1.23.7-1
  Candidate: 1.23.7-1
  Version table:
 *** 1.23.7-1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status
$ apt-cache policy libaspell15
libaspell15:
  Installed: 0.60.7~20110707-4ubuntu0.1
  Candidate: 0.60.7~20110707-4ubuntu0.1
  Version table:
 *** 0.60.7~20110707-4ubuntu0.1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     0.60.7~20110707-4 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
recoll                 1.23.7-1
python                 2.7.15~rc1-1
python3                3.6.7-1~18.04
libc6                  2.27-3ubuntu1
libgcc1                1:8.3.0-26ubuntu1~18.04
libqt5core5a           5.9.5+dfsg-0ubuntu2.5
libqt5gui5             5.9.5+dfsg-0ubuntu2.5
libqt5printsupport5    5.9.5+dfsg-0ubuntu2.5
libqt5webkit5          5.212.0~alpha2-7ubuntu1
libqt5widgets5         5.9.5+dfsg-0ubuntu2.5
libqt5xml5             5.9.5+dfsg-0ubuntu2.5
libstdc++6             8.3.0-26ubuntu1~18.04
libx11-6               2:1.6.4-3ubuntu0.2
libxapian30            1.4.5-1ubuntu0.1
zlib1g                 1:1.2.11.dfsg-0ubuntu2
aspell                 0.60.7~20110707-4ubuntu0.1
xdg-utils              1.1.2-1ubuntu2.3
xsltproc               1.1.29-5ubuntu0.2
antiword               0.37-11build1
ghostscript            9.26~dfsg+0-0ubuntu0.18.04.12
libimage-exiftool-perl 10.80-1
poppler-utils          0.62.0-2ubuntu2.10
python-libxml2         2.9.4+dfsg1-6.1ubuntu1.3
python-lzma            0.5.3-3
unrtf                  0.21.9-clean-3
untex                  1:1.2-6

Stacktrace

ThreadStacktrace

Edited Mar 20, 2020 by Nathaniel Beaver
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: medoc92/recoll#1