Task #1172

RCP: 0.7.7: TXM can't finalize the import

Added by Matthieu Decorde over 5 years ago. Updated almost 5 years ago.

Status:Feedback Start date:12/09/2014
Priority:Normal Due date:
Assignee:- % Done:


Category:Import Spent time: -
Target version:TXM 0.7.7


During a Windows import:

# A fatal error has been detected by the Java Runtime Environment:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006dc5f29d, pid=1500, tid=14464
# JRE version: OpenJDK Runtime Environment (7.0-b30) (build 1.7.0-u60-unofficial-b30)
# Java VM: OpenJDK 64-Bit Server VM (24.60-b09 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [cqpjni.dll+0x1f29d]
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

---------------  T H R E A D  ---------------

Current thread (0x0000000010846000):  JavaThread "Worker-13" [_thread_in_native, id=14464, stack(0x000000000e4c0000,0x000000000e5c0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000008


Fix cqplib and create new setups :
  • corpmanag.c : replace "close_dir" with the glib close directory function "g_close_dir"
  • coprmanag.c : prevent "DestroyAttributeList" call if pointer is NULL

Validation test

  • Import a corpus from a directory containing accents
  • load a corpus



#1 Updated by Matthieu Decorde over 5 years ago

  • Description updated (diff)
  • % Done changed from 0 to 80

#2 Updated by Matthieu Decorde over 5 years ago

  • Status changed from New to Feedback

#3 Updated by Matthieu Decorde about 5 years ago

  • Description updated (diff)

#4 Updated by Sebastien Jacquot about 5 years ago

Successfully tested under Win32 XP.
(Also successfully tested with a directory path containing spaces)

#5 Updated by Sebastien Jacquot almost 5 years ago

  • Category set to Import
  • % Done changed from 80 to 90

#6 Updated by Matthieu Decorde almost 5 years ago

  • Description updated (diff)
  • % Done changed from 90 to 100

Also available in: Atom PDF