UmeshChoudhari / jnativehook

Automatically exported from code.google.com/p/jnativehook
0 stars 0 forks source link

1.1.0_beta2 crashes when using the shift key under osc 10.7.3 #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Run JNativeHook-1.1.0_beta2 under osx 10.7.3
2. Press shift + A

What is the expected output? What do you see instead?

It should log shift + A but instead the app crashed completely.

p.s. thank you for this lib!

Original issue reported on code.google.com by cjlaz...@gmail.com on 1 Apr 2012 at 1:51

GoogleCodeExporter commented 9 years ago
JNativeHook-1.0.2288 version works just fine.

Original comment by cjlaz...@gmail.com on 1 Apr 2012 at 1:51

GoogleCodeExporter commented 9 years ago
Trace incase you need it https://gist.github.com/2c136b946d03a3555830

Original comment by cjlaz...@gmail.com on 1 Apr 2012 at 1:55

GoogleCodeExporter commented 9 years ago
This is definitely a problem with the cross compiler.  Compiling locally will 
work fine.  Adding debugging symbols fixes the problem with the cross compiler 
and has the side effect of making debugging very difficult to actually debug 
the crash.

Original comment by alex%1st...@gtempaccount.com on 6 Apr 2012 at 1:42

GoogleCodeExporter commented 9 years ago
I tried compiling but I'm having a few issues 
https://gist.github.com/acfef22c72f6f1c8e567

Original comment by cjlaz...@gmail.com on 6 Apr 2012 at 2:54

GoogleCodeExporter commented 9 years ago
So I got it to compile locally and is does all work.  Looks like I needed to 
add the contents of 
/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/JavaVM.framework/Header
s to /Users/cj/Desktop/JNativeHook/src/native/jni 

Original comment by cjlaz...@gmail.com on 6 Apr 2012 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by alex%1st...@gtempaccount.com on 27 Apr 2012 at 11:51