Open klabarge opened 6 years ago
Java: 8u162 OS: macOS High Sierra 10.13.3 HID Device: 25lb Postal Shipping Scale (Model No. DS25) QZ Tray: Tested against 2.0.5, 2.0.4-1
QZ Tray crashes after several minutes of HID usage when being unclaimed and reclaimed. Steps to reproduce below.
Here is the hs_err_pid.log created by Java
hs_err_pid.log
me too,how can to resolve it
Java: 8u162 OS: macOS High Sierra 10.13.3 HID Device: 25lb Postal Shipping Scale (Model No. DS25) QZ Tray: Tested against 2.0.5, 2.0.4-1
QZ Tray crashes after several minutes of HID usage when being unclaimed and reclaimed. Steps to reproduce below.
Here is the
hs_err_pid.log
created by Java
``` # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0x00007fff373ed026, pid=5701, tid=0x0000000000010d03 # # JRE version: Java(TM) SE Runtime Environment (8.0_162-b12) (build 1.8.0_162-b12) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.162-b12 mixed mode bsd-amd64 compressed oops) # Problematic frame: # C [CoreFoundation+0x1a4026] getAtomTarget+0x66 # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # If you would like to submit a bug report, please visit: # http://bugreport.java.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 (0x00007fc2082eb800): JavaThread "qtp1094834071-29" [_thread_in_native, id=68867, stack(0x00007000112e9000,0x00007000113e9000)] siginfo: si_signo: 4 (SIGILL), si_code: 1 (ILL_ILLOPC), si_addr: 0x00007fff373ed026 Registers: RAX=0x0000000000000000, RBX=0x000000000003c104, RCX=0x00000000fc3efb3e, RDX=0x00007000113e6320 RSP=0x00007000113e6050, RBP=0x00007000113e6060, RSI=0x0000000000000000, RDI=0x00000000003c104c R8 =0x00007fc20cbd58f8, R9 =0x0000000000000040, R10=0x00ede50100ed4600, R11=0x00007fff372c9f60 R12=0x0000000000000001, R13=0x00007fff5dfe7e80, R14=0x00007fc20cf110d0, R15=0x00007000113e60e0 RIP=0x00007fff373ed026, EFLAGS=0x0000000000010297, ERR=0x0000000000000000 TRAPNO=0x0000000000000006 Top of Stack: (sp=0x00007000113e6050) 0x00007000113e6050: 0000000000000000 0000000003c104c1 0x00007000113e6060: 00007000113e60d0 00007fff372ca46c 0x00007000113e6070: 0000000000010d03 000000000000003a 0x00007000113e6080: 00007000113e60e0 00007fff5dfe8fbc 0x00007000113e6090: 00007fff3554f378 0000000000000000 0x00007000113e60a0: 9e9c65058dcc00b9 00007000113e6320 0x00007000113e60b0: 0000000000000001 00007fff91653252 0x00007000113e60c0: 00007fc20cf110d0 00007fff9155c178 0x00007000113e60d0: 00007000113e61b0 00007fff372c9fd8 0x00007000113e60e0: 0000000003c104c1 00007fff3554f378 0x00007000113e60f0: 00007000113e6320 00007fff9164f270 0x00007000113e6100: 00007fc20cbd58f8 0000000000000040 0x00007000113e6110: 0000000000000000 0000000003c104c1 0x00007000113e6120: 0000000000000000 00007fff5ed2ffff 0x00007000113e6130: 0000000000000000 0000000000000000 0x00007000113e6140: 0000000000000000 0000000000000000 0x00007000113e6150: 0000000000000000 0000000000000000 0x00007000113e6160: 0000000000250000 0000000000000000 0x00007000113e6170: 00000000000073b4 0000000000000000 0x00007000113e6180: 00000000000000b4 0000000000c40000 0x00007000113e6190: 0000000000000000 00000000000094b6 0x00007000113e61a0: 00000000000000b4 00000000000000b6 0x00007000113e61b0: 00007000113e6450 00007fff3729bfb7 0x00007000113e61c0: 00007fff9151a800 00000000000000c0 0x00007000113e61d0: 00007fff97c2c000 00000000000000c0 0x00007000113e61e0: 00007fff9164f270 00007fc20cbd5930 0x00007000113e61f0: 00007fff9151a800 0000000000000001 0x00007000113e6200: 000000000000002e 00007fff91651980 0x00007000113e6210: 00007000113e6270 00007fff3724c1db 0x00007000113e6220: 00007000113e6260 0000000000000000 0x00007000113e6230: 0000000000000001 0000000100000001 0x00007000113e6240: 010000000000000c 0000000000000000 Instructions: (pc=0x00007fff373ed026) 0x00007fff373ed006: c3 10 29 cb 48 98 48 8d 0d ed 93 26 5a 48 8b 44 0x00007fff373ed016: c1 f8 48 63 cb 48 8b 04 c8 48 83 c4 08 5b 5d c3 0x00007fff373ed026: 0f 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 5d e9 0x00007fff373ed036: a6 ad ee ff 66 0f 1f 44 00 00 55 48 89 e5 e8 87 Register to memory mapping: RAX=0x0000000000000000 is an unknown value RBX=0x000000000003c104 is an unknown value RCX=0x00000000fc3efb3e is an unknown value RDX=0x00007000113e6320 is pointing into the stack for thread: 0x00007fc2082eb800 RSP=0x00007000113e6050 is pointing into the stack for thread: 0x00007fc2082eb800 RBP=0x00007000113e6060 is pointing into the stack for thread: 0x00007fc2082eb800 RSI=0x0000000000000000 is an unknown value RDI=0x00000000003c104c is an unknown value R8 =0x00007fc20cbd58f8 is an unknown value R9 =0x0000000000000040 is an unknown value R10=0x00ede50100ed4600 is an unknown value R11=0x00007fff372c9f60: _CF_forwarding_prep_0+0 in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation at 0x00007fff37249000 R12=0x0000000000000001 is an unknown value R13=0x00007fff5dfe7e80: objc_msgSend+0 in /usr/lib/libobjc.A.dylib at 0x00007fff5dfe1000 R14=0x00007fc20cf110d0 is an unknown value R15=0x00007000113e60e0 is pointing into the stack for thread: 0x00007fc2082eb800 Stack: [0x00007000112e9000,0x00007000113e9000], sp=0x00007000113e6050, free space=1012k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [CoreFoundation+0x1a4026] getAtomTarget+0x66 C [CoreFoundation+0x8146c] ___forwarding___+0x40c C [CoreFoundation+0x80fd8] _CF_forwarding_prep_0+0x78 C [CoreFoundation+0x52fb7] __CFRunLoopFindMode+0xc7 C [CoreFoundation+0x53731] CFRunLoopAddSource+0xd1 C [IOKit+0x3ee9c] IOHIDDeviceScheduleWithRunLoop+0x45 C [IOKit+0x41c35] __IOHIDManagerDeviceApplier+0x1ea C [IOKit+0x42bde] __IOHIDManagerDeviceAdded+0x155 C [IOKit+0x420ad] __IOHIDManagerSetDeviceMatching+0xd3 C [libhidapi.dylib+0x1b83] hid_enumerate+0x76 C [jna8469994234948493660.tmp+0xe134] ffi_call_unix64+0x4c C 0x00007000113e75b8 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.sun.jna.Native.invokePointer(JI[Ljava/lang/Object;)J+0 j com.sun.jna.Function.invokePointer(I[Ljava/lang/Object;)Lcom/sun/jna/Pointer;+6 j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+472 j com.sun.jna.Function.invoke(Ljava/lang/reflect/Method;[Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+249 j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+348 j com.sun.proxy.$Proxy7.hid_enumerate(SS)Lorg/hid4java/jna/HidDeviceInfoStructure;+26 j org.hid4java.jna.HidApi.enumerateDevices(II)Lorg/hid4java/jna/HidDeviceInfoStructure;+7 j org.hid4java.HidDeviceManager.getAttachedHidDevices()Ljava/util/List;+10 j org.hid4java.HidServices.getAttachedHidDevices()Ljava/util/List;+4 j qz.communication.H4J_HidUtilities.getHidDevices()Ljava/util/List;+3 j qz.communication.H4J_HidUtilities.findDevice(Ljava/lang/Short;Ljava/lang/Short;Ljava/lang/Short;Ljava/lang/String;)Lorg/hid4java/HidDevice;+28 j qz.communication.H4J_HidIO.hs_err_pid.log