pkrall520 / jnativehook

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

JRE failling with SWT #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi

I'm using the latest jnativehook jar in an app I build using SWT. I'm trying to 
run it under ubuntu 14.04 an the JRE fails in a way I haven't seen before in a 
java program.
The console just shows this

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fd3b1308414, pid=6079, tid=140547191834368
#
# JRE version: Java(TM) SE Runtime Environment (8.0_05-b13) (build 1.8.0_05-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.5-b02 mixed mode linux-amd64 
compressed oops)
# Problematic frame:
# C  [libpthread.so.0+0xa414]  pthread_mutex_lock+0x4
#
# Failed to write core dump. Core dumps have been disabled. To enable core 
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/juan/git/evidence-bucket/EvidenceBckt/hs_err_pid6079.log
#
# 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.
#
The full crash log is attached

I wrote my code following the example for swing and it fails every time I try 
to click on my app or I press any key in a text field in my app.
Since I haven't seen this kind of problems before, I'm writing to ask for 
guidance in how to star debugging this issue.

Thanks,
Juan

Original issue reported on code.google.com by juaneras...@gmail.com on 4 Jul 2014 at 1:35

Attachments:

GoogleCodeExporter commented 9 years ago
Its crashing in the actual pthread library which is a bit strange.  Can you 
provide SWT code that causes a crash?

Original comment by a...@1stleg.com on 4 Jul 2014 at 4:57

GoogleCodeExporter commented 9 years ago
Please test with the latest nightly attached here:  
https://code.google.com/p/jnativehook/issues/detail?id=43#c46

Does the crash occur when calling the demo program?

Original comment by a...@1stleg.com on 24 Aug 2014 at 6:24

GoogleCodeExporter commented 9 years ago
RC1 has been released and it address a lot of thread issues.  Please test and 
let me know if you are still experiencing this issue.

Original comment by a...@1stleg.com on 16 Sep 2014 at 12:09

GoogleCodeExporter commented 9 years ago
Please reopen on [GitHub](https://github.com/kwhat/jnativehook/issues) if it is 
still an issue with RC3.

Original comment by a...@1stleg.com on 24 Nov 2014 at 5:34