Bug #3406

Subcorpus, crash on delete with subcorpus not correctly computed

Added by Matthieu Decorde 6 months ago.

Status:New Start date:06/20/2023
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Corpus Spent time: -
Target version:TXM 0.8.4

Description

To reproduce :
1- create a concordance of "<something> []"
2- delete the "<something>" elements in XML-TXM files
3- update the corpus
4- TXM tries to rebuild the concordance
5- delete the concordance -> CRASH

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f0ec70df108, pid=18491, tid=21508
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.4.1+1 (17.0.4.1+1) (build 17.0.4.1+1)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.4.1+1 (17.0.4.1+1, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libcqpjni.so+0x51108]  Java_org_txm_searchengine_cqp_MemCqiServer_dropSubCorpus+0xf8

Also available in: Atom PDF