Eclipse plugin project: Mac: using SikuliX hotkeys causes java crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Confirmed
|
Medium
|
RaiMan |
Bug Description
Good day,
Here at my work we use a eclipse's plugin (made by us) to operate with sikuli on ours automated tests. Till some time ago we only used Windows OS (running on Windows 7[64], but now we have a Mac OS X (running on version 10.10.2 [Yosmite]) so I was assigned to make this transaction happen.
I'm using Sikuli 1.1.0 (tried with Sikuli 1.0.1 too) and JDK 8. Things are almost 100% but I have a problem with Sikuli's Hotkey...
Everytime I used the assigned hotkeys, it causes java to crash! Searching in the error logs, it seems a problem with a call on the MacHotkeyManage
Is there any know solution for this?
---------------
The creation method is as follow:
HotkeyManager.
public synchronized void hotkeyPressed(
Display.
public void run() {
//Ours method call
}
});
}
});
---------------
Eclipse error log (on console):
...
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000105
#
# JRE version: Java(TM) SE Runtime Environment (8.0_31-b13) (build 1.8.0_31-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.31-b07 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V [libjvm.
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
...
---------------
Eclipse error log (actual crash log)
0 libsystem_
1 libsystem_c.dylib 0x00007fff90d4eb53 abort + 129
2 libjvm.dylib 0x0000000105459f1f os::abort(bool) + 25
3 libjvm.dylib 0x0000000105576e36 VMError:
4 libjvm.dylib 0x000000010545ba92 JVM_handle_
5 libjvm.dylib 0x0000000105457f53 signalHandler(int, __siginfo*, void*) + 47
6 libsystem_
7 libjvm.dylib 0x0000000105306af4 alloc_object(
8 libjvm.dylib 0x00000001052f64a0 jni_AllocObject + 102
9 libMacHotkeyMan
10 libMacHotkeyMan
11 com.apple.HIToolbox 0x00007fff8f41398c DispatchEventTo
...
---------------
FYI on the plugin:
- works fine on Win OS
- works fine without the use of the hotkeys
- Sikuli's Debug dosen't give any information before the crash happens.
Changed in sikuli: | |
status: | In Progress → Confirmed |
milestone: | 2.0.0 → none |
more information in related question.