Your message dated Tue, 24 Jan 2023 19:13:01 +0100
with message-id <167458398134.589692.6319217007403693...@auryn.jones.dk>
and subject line Re: pcre2 causes crashes in link-grammar
has caused the Debian Bug report #1027952,
regarding pcre2 causes crashes in link-grammar
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1027952: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027952
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libpcre2-8-0
Version: 10.42-1
Severity: serious
Tags: ftbfs
Control: affects -1 src:link-grammar

https://tracker.debian.org/pkg/pcre2
Issues preventing migration:
∙ ∙ autopkgtest for link-grammar/5.11.0~dfsg-1: amd64: Pass, arm64: Regression 
♻ (reference ♻), armel: Regression ♻ (reference ♻), armhf: Regression ♻ 
(reference ♻), i386: Pass, ppc64el: Regression ♻ (reference ♻), s390x: Pass

https://buildd.debian.org/status/logs.php?pkg=link-grammar&ver=5.11.0~dfsg-1%2Bb1

...
make  check-TESTS
make[4]: Entering directory '/<<PKGBUILDDIR>>/tests'
make[5]: Entering directory '/<<PKGBUILDDIR>>/tests'
PASS: mem-leak
PASS: multi-java
../test-driver: line 112: 3264343 Segmentation fault      "$@" >> "$log_file" 
2>&1
FAIL: multi-thread
PASS: multi-dict
PASS: dict-reopen
===============================================
   link-grammar 5.11.0: tests/test-suite.log
===============================================

# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: multi-thread
==================

FAIL multi-thread (exit status: 139)

============================================================================
Testsuite summary for link-grammar 5.11.0
============================================================================
# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to https://github.com/opencog/link-grammar
============================================================================
make[5]: *** [Makefile:806: test-suite.log] Error 1



A backtrace from a coredump of a local build of link-grammar
also suggests that pcre might be the problem:

Core was generated by `/tmp/link-grammar-5.11.0~dfsg/tests/.libs/multi-thread'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f46a39011b1 in ?? () from /lib/x86_64-linux-gnu/libpcre2-8.so.0
[Current thread is 1 (Thread 0x7f469e5546c0 (LWP 17344))]
(gdb) bt
#0  0x00007f46a39011b1 in ?? () from /lib/x86_64-linux-gnu/libpcre2-8.so.0
#1  0x00007f46a38ebb85 in ?? () from /lib/x86_64-linux-gnu/libpcre2-8.so.0
#2  0x00007f46a38fa10f in pcre2_match_8 ()
   from /lib/x86_64-linux-gnu/libpcre2-8.so.0
#3  0x00007f46a3da9a86 in reg_match (rn=0x562bf27ace00, 
    s=0x7f467b5b2100 "Bill") at dict-common/regex-morph.c:219
#4  match_regex (rn=0x562bf27ace00, s=s@entry=0x7f467b5b2100 "Bill")
    at dict-common/regex-morph.c:405
#5  0x00007f46a3ddff63 in regex_guess (gword=0x7f467b59b3b0, 
    word=<optimized out>, dict=0x562bf27a8a00) at tokenize/tokenize.c:413
#6  separate_word (sent=sent@entry=0x7f467b5b59e0, 
    unsplit_word=unsplit_word@entry=0x7f467b59b3b0, 
    opts=opts@entry=0x562bf547ae60) at tokenize/tokenize.c:2709
#7  0x00007f46a3de155a in separate_sentence (sent=sent@entry=0x7f467b5b59e0, 
    opts=opts@entry=0x562bf547ae60) at tokenize/tokenize.c:3116
#8  0x00007f46a3d9b1ec in sentence_split (sent=0x7f467b5b59e0, 
    opts=0x562bf547ae60) at ./link-grammar/api.c:494
#9  0x0000562bf0419670 in parse_one_sent (dict=<optimized out>, 
    opts=0x562bf547ae60, sent_str=<optimized out>)
    at ./tests/multi-thread.cc:34
#10 0x0000562bf04199aa in parse_sents (dict=0x562bf27a8a00, 
    opts=0x562bf547ae60, thread_id=<optimized out>, niter=500)
    at ./tests/multi-thread.cc:119
#11 0x00007f46a3c044a3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f46a39b7fd4 in start_thread (arg=<optimized out>)
    at ./nptl/pthread_create.c:442
#13 0x00007f46a3a378d0 in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
(gdb) 

--- End Message ---
--- Begin Message ---
Version: src:link-grammar/5.12.0~dfsg-2

Seems this issue was a bug in link-grammar, now fixed.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


--- End Message ---

Reply via email to