Task #1172
RCP: 0.7.7: TXM can't finalize the import
Status: | Feedback | Start date: | 12/09/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% |
|
Category: | Import | Spent time: | - | |
Target version: | TXM 0.7.7 |
Description
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
Solution¶
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
MD: OK
History
#1 Updated by Matthieu Decorde about 6 years ago
- Description updated (diff)
- % Done changed from 0 to 80
#2 Updated by Matthieu Decorde about 6 years ago
- Status changed from New to Feedback
#3 Updated by Matthieu Decorde about 6 years ago
- Description updated (diff)
#4 Updated by Sebastien Jacquot about 6 years ago
Successfully tested under Win32 XP.
(Also successfully tested with a directory path containing spaces)
#5 Updated by Sebastien Jacquot almost 6 years ago
- Category set to Import
- % Done changed from 80 to 90
#6 Updated by Matthieu Decorde almost 6 years ago
- Description updated (diff)
- % Done changed from 90 to 100