Corpus, delete, on Ubuntu causes TXM crash after CQP annotation
To reproduce on Ubuntu 20.04:
- import a corpus from clipboard
- create word annotations test=xxx
- save&update the corpus
- delete the corpus ->TXM crashes
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f22ad26f8d2, pid=21785, tid=21866
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.7+7 (17.0.7+7) (build 17.0.7+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (17.0.7+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libcqpjni.so+0x5b8d2] cl_new_attribute_oldstyle+0x42
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/alavrent/core.21785)
#
# An error report file with more information is saved as:
# /home/alavrent/hs_err_pid21785.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
(from redmine: issue id 3426, created on 2023/07/18 by Alexey Lavrentev)