Summary: | dev-libs/darts-0.32: Segmentation fault in Darts::DoubleArrayImpl::commonPrefixSearch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | timemars <ruanzhijie> |
Component: | Current packages | Assignee: | CJK Team <cjk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
gdb snippet
emerge --info |
Description
timemars
2019-08-27 13:09:19 UTC
Created attachment 588262 [details]
emerge --info
Problem may be related to dev-libs/darts-0.32 being quite old and apparently no longer maintained. There is a slightly more actively maintained fork called "darts-clone" (https://github.com/s-yata/darts-clone). Switching dev-libs/darts Gentoo package to use newest version of darts-clone is likely to fix problem. Please perform the following testing: 1. Replace /usr/include/darts.h header: # wget https://raw.githubusercontent.com/s-yata/darts-clone/master/include/darts.h -O /tmp/darts.h # cat /tmp/darts.h > /usr/include/darts.h 2. Rebuild app-i18n/librime-1.5.3 (without reverted any commits) 3. Test app-i18n/ibus-rime (In reply to Arfrever Frehtes Taifersar Arahesis from comment #2) > Problem may be related to dev-libs/darts-0.32 being quite old and apparently > no longer maintained. > There is a slightly more actively maintained fork called "darts-clone" > (https://github.com/s-yata/darts-clone). > > Switching dev-libs/darts Gentoo package to use newest version of darts-clone > is likely to fix problem. > > > Please perform the following testing: > > 1. Replace /usr/include/darts.h header: > > # wget > https://raw.githubusercontent.com/s-yata/darts-clone/master/include/darts.h > -O /tmp/darts.h > # cat /tmp/darts.h > /usr/include/darts.h > > 2. Rebuild app-i18n/librime-1.5.3 (without reverted any commits) > > 3. Test app-i18n/ibus-rime It works. Thanks Arfrever. I will add new ebuild of dev-libs/darts using Darts-clone. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=618f64cbe4c3bfb29e70881dc0f2c9a2a88f086c commit 618f64cbe4c3bfb29e70881dc0f2c9a2a88f086c Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2019-09-28 03:01:59 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-09-29 02:56:14 +0000 dev-libs/darts: Use sources from Darts-clone (fork of Darts). Fixes: https://bugs.gentoo.org/692950 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org> dev-libs/darts/Manifest | 1 + .../darts/darts-0.32h_pre20181117064816.ebuild | 57 ++++++++++++++++++++++ dev-libs/darts/darts-9999.ebuild | 57 ++++++++++++++++++++++ dev-libs/darts/metadata.xml | 11 +++-- 4 files changed, 122 insertions(+), 4 deletions(-) |