OpenZWave / zwave4j

MIT License
44 stars 24 forks source link

Segfault #1

Closed MrNeuronix closed 11 years ago

MrNeuronix commented 11 years ago

Hello! I want to use your lib into my project, but on test stage i have this segfault. There is 3 devices in my zwave network - controller, dimmer and water detector. Native openzwave example tcp server work very well, dont know what to do. Help please...

root@home-srv:/iris/zwave/zwave4j# java -cp zwave4j-0.1-ozw-rev-663.jar org.zwave4j.Main "../open-zwave-read-only/config/" "/dev/ttyUSB0" Driver ready, home id: 13508786 Node new, node id: 1 Node added, node id: 1 Node new, node id: 2 Node added, node id: 2 Node new, node id: 3 Node added, node id: 3 NODE_PROTOCOL_INFO Value added, node id: 1 NODE_PROTOCOL_INFO Value added, node id: 2 Value added, node id: 2 Value added, node id: 2 Value added, node id: 2 Value added, node id: 2 Value added, node id: 2 Value added, node id: 2 Value added, node id: 2 Value removed, node id: 2 NOTIFICATION NOTIFICATION NODE_PROTOCOL_INFO Value added, node id: 3 Value added, node id: 3 Value added, node id: 3 Value added, node id: 3 Value added, node id: 3 Value added, node id: 3 Value added, node id: 3 Value removed, node id: 3 NOTIFICATION NOTIFICATION Node essential queries complete, node id: 1 NOTIFICATION Node queries complete, node id: 1 NOTIFICATION Node essential queries complete, node id: 3

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fc40124e35e, pid=23678, tid=140479244596992

JRE version: 7.0_25-b30

Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)

Problematic frame:

V [libjvm.so+0x53a35e] jni_GetStaticObjectField+0x8e

Core dump written. Default location: /iris/zwave/zwave4j/core or core.23678

An error report file with more information is saved as:

/iris/zwave/zwave4j/hs_err_pid23678.log

If you would like to submit a bug report, please include

instructions on how to reproduce the bug and visit:

https://bugs.launchpad.net/ubuntu/+source/openjdk-7/

Aborted (core dumped)


/iris/zwave/zwave4j/hs_err_pid23678.log:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fc40124e35e, pid=23678, tid=140479244596992

JRE version: 7.0_25-b30

Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)

Problematic frame:

V [libjvm.so+0x53a35e] jni_GetStaticObjectField+0x8e

Core dump written. Default location: /iris/zwave/zwave4j/core or core.23678

If you would like to submit a bug report, please include

instructions on how to reproduce the bug and visit:

https://bugs.launchpad.net/ubuntu/+source/openjdk-7/

--------------- T H R E A D ---------------

Current thread (0x00007fc3c004d800): JavaThread "Thread-37" [_thread_in_vm, id=23690, stack(0x00007fc3def8f000,0x00007fc3df790000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000000

Registers: RAX=0x00007fc4019af0a0, RBX=0x00007fc3c004d800, RCX=0x00007fc4019aced3, RDX=0x00007fc3d00016d8 RSP=0x00007fc3df78eba0, RBP=0x00007fc3df78ebd0, RSI=0x0000000000000006, RDI=0x00007fc3c004d800 R8 =0x00007fc40124e2d0, R9 =0x00007fc4020561e4, R10=0x0000000000000000, R11=0x00007fc4015a5410 R12=0x0000000000000000, R13=0x0000000000000000, R14=0x00007fc4027e5730, R15=0x0000000000001000 RIP=0x00007fc40124e35e, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004 TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007fc3df78eba0) 0x00007fc3df78eba0: 00007fc3c004d800 00007fc3d00016d0 0x00007fc3df78ebb0: 00007fc300000b9d 00007fc4015a5410 0x00007fc3df78ebc0: 0000000000000001 00007fc3c0004ef0 0x00007fc3df78ebd0: 00007fc3df78ec00 00007fc3df82a3db 0x00007fc3df78ebe0: 00007fc3df8b1140 0000000000000000 0x00007fc3df78ebf0: 00007fc3c0004f08 00007fc3c004d9d8 0x00007fc3df78ec00: 00007fc3df78ec30 00007fc3df82a643 0x00007fc3df78ec10: 0000001700000000 00007fc3c004d9d8 0x00007fc3df78ec20: 00007fc3df8b10ce 00007fc3c0004f08 0x00007fc3df78ec30: 00007fc3df78ec80 00007fc3df82aa3e 0x00007fc3df78ec40: 00007fc3c0002aa0 00007fc3c004d9d8 0x00007fc3df78ec50: 00007fc3df78ec80 00007fc3c0004e90 0x00007fc3df78ec60: 00007fc3df78ec80 0000000000000001 0x00007fc3df78ec70: 0000000000000000 00007fc402801060 0x00007fc3df78ec80: 00007fc3df78ecc0 00007fc3df82b07e 0x00007fc3df78ec90: 0000000000000000 00007fc3c0002aa0 0x00007fc3df78eca0: 00007fc3c004d9d8 fffffffefc1c9928 0x00007fc3df78ecb0: 0000000000000001 0000000000000000 0x00007fc3df78ecc0: 00007fc3df78ed00 00007fc3df8351a7 0x00007fc3df78ecd0: 00007fc3c0002aa0 00007fc3fc1c98d0 0x00007fc3df78ece0: 00007fc3fc1ce920 00007fc3df8a30f6 0x00007fc3df78ecf0: 00007fc3fc1c9928 00007fc3fc1ce900 0x00007fc3df78ed00: 00007fc3df78ed50 00007fc3df8a0524 0x00007fc3df78ed10: 000000035214c370 00007fc3fc1cea20 0x00007fc3df78ed20: 00007fc3c00509e0 00009bd800000001 0x00007fc3df78ed30: 00007fc3fc1cf3e0 00007fc3c0002aa0 0x00007fc3df78ed40: 0000000000000001 0000000000000001 0x00007fc3df78ed50: 00007fc3df78ee20 00007fc3df892fcf 0x00007fc3df78ed60: 00007fc3fc1cf510 00007fc3fc1cea20 0x00007fc3df78ed70: 00007fc3fc1cf510 00007fc3fc1cfe40 0x00007fc3df78ed80: 00007fc3fc1d05e0 00007fc3fc1cff50 0x00007fc3df78ed90: 00007fc3fc1d0040 00007fc3fc1d0130

Instructions: (pc=0x00007fc40124e35e) 0x00007fc40124e33e: 49 8b 0c 24 41 b9 01 00 00 00 4d 89 e0 31 d2 31 0x00007fc40124e34e: f6 48 89 df e8 99 19 0a 00 48 8b 0d aa e6 72 00 0x00007fc40124e35e: 49 8b 04 24 49 63 54 24 10 80 39 00 48 8b 40 78 0x00007fc40124e36e: 74 60 8b 04 10 31 ff 85 c0 74 12 89 c7 48 8b 05

Register to memory mapping:

RAX=0x00007fc4019af0a0: <offset 0xc9b0a0> in /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so at 0x00007fc400d14000 RBX=0x00007fc3c004d800 is a thread RCX=0x00007fc4019aced3: <offset 0xc98ed3> in /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so at 0x00007fc400d14000 RDX=0x00007fc3d00016d8 is an unknown value RSP=0x00007fc3df78eba0 is pointing into the stack for thread: 0x00007fc3c004d800 RBP=0x00007fc3df78ebd0 is pointing into the stack for thread: 0x00007fc3c004d800 RSI=0x0000000000000006 is an unknown value RDI=0x00007fc3c004d800 is a thread R8 =0x00007fc40124e2d0: <offset 0x53a2d0> in /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so at 0x00007fc400d14000 R9 =0x00007fc4020561e4: _IO_vfprintf+0x49b4 in /lib/x86_64-linux-gnu/libc.so.6 at 0x00007fc402008000 R10=0x0000000000000000 is an unknown value R11=0x00007fc4015a5410: <offset 0x891410> in /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so at 0x00007fc400d14000 R12=0x0000000000000000 is an unknown value R13=0x0000000000000000 is an unknown value R14=0x00007fc4027e5730 is pointing into the stack for thread: 0x00007fc3fc009000 R15=0x0000000000001000 is an unknown value

Stack: [0x00007fc3def8f000,0x00007fc3df790000], sp=0x00007fc3df78eba0, free space=8190k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x53a35e] jniGetStaticObjectField+0x8e C [native-lib-4423173925869240372.tmp+0x9a3db] JNIEnv::GetStaticObjectField(jclass, jfieldID)+0x37 C [native-lib-4423173925869240372.tmp+0x9a643] getNotificationType(JNIEnv, OpenZWave::Notification::NotificationType)+0x217 C [native-lib-4423173925869240372.tmp+0x9aa3e] getNotification(JNIEnv, OpenZWave::Notification const)+0x83 C [native-lib-4423173925869240372.tmp+0x9b07e] onNotification(OpenZWave::Notification const, void)+0x6b C [native-lib-4423173925869240372.tmp+0xa51a7] OpenZWave::Manager::NotifyWatchers(OpenZWave::Notification)+0x69 C [native-lib-4423173925869240372.tmp+0x110524] OpenZWave::Driver::NotifyWatchers()+0x64 C [native-lib-4423173925869240372.tmp+0x102fcf] OpenZWave::Driver::DriverThreadProc(OpenZWave::Event)+0x30d C [native-lib-4423173925869240372.tmp+0x102cc0] OpenZWave::Driver::DriverThreadEntryPoint(OpenZWave::Event, void)+0x32 C [native-lib-4423173925869240372.tmp+0x11fba0] OpenZWave::ThreadImpl::Run()+0x34 C [native-lib-4423173925869240372.tmp+0x11fb64] OpenZWave::ThreadImpl::ThreadProc(void)+0x20

--------------- P R O C E S S ---------------

Java Threads: ( => current thread ) =>0x00007fc3c004d800 JavaThread "Thread-37" [_thread_in_vm, id=23690, stack(0x00007fc3def8f000,0x00007fc3df790000)] 0x00007fc3fc10e800 JavaThread "Service Thread" daemon [_thread_blocked, id=23688, stack(0x00007fc3dfbfc000,0x00007fc3dfcfd000)] 0x00007fc3fc10c800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=23687, stack(0x00007fc3dfcfd000,0x00007fc3dfdfe000)] 0x00007fc3fc109800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=23686, stack(0x00007fc3dfdfe000,0x00007fc3dfeff000)] 0x00007fc3fc107000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=23685, stack(0x00007fc3dfeff000,0x00007fc3e0000000)] 0x00007fc3fc0ae000 JavaThread "Finalizer" daemon [_thread_blocked, id=23684, stack(0x00007fc3f4334000,0x00007fc3f4435000)] 0x00007fc3fc0ab800 JavaThread "Reference Handler" daemon [_thread_blocked, id=23683, stack(0x00007fc3f4435000,0x00007fc3f4536000)] 0x00007fc3fc009000 JavaThread "main" [_thread_in_native, id=23679, stack(0x00007fc4026e6000,0x00007fc4027e7000)]

Other Threads: 0x00007fc3fc0a3000 VMThread [stack: 0x00007fc3f4536000,0x00007fc3f4637000] [id=23682] 0x00007fc3fc119000 WatcherThread [stack: 0x00007fc3dfafb000,0x00007fc3dfbfc000] [id=23689]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap PSYoungGen total 18304K, used 12914K [0x00000000eba00000, 0x00000000ece60000, 0x0000000100000000) eden space 15744K, 82% used [0x00000000eba00000,0x00000000ec69c880,0x00000000ec960000) from space 2560K, 0% used [0x00000000ecbe0000,0x00000000ecbe0000,0x00000000ece60000) to space 2560K, 0% used [0x00000000ec960000,0x00000000ec960000,0x00000000ecbe0000) ParOldGen total 41728K, used 0K [0x00000000c2e00000, 0x00000000c56c0000, 0x00000000eba00000) object space 41728K, 0% used [0x00000000c2e00000,0x00000000c2e00000,0x00000000c56c0000) PSPermGen total 21248K, used 3573K [0x00000000b8800000, 0x00000000b9cc0000, 0x00000000c2e00000) object space 21248K, 16% used [0x00000000b8800000,0x00000000b8b7d4e8,0x00000000b9cc0000)

Card table byte_map: [0x00007fc3f8151000,0x00007fc3f838e000] byte_map_base: 0x00007fc3f7b8d000

Polling page: 0x00007fc4027fd000

Code Cache [0x00007fc3f838e000, 0x00007fc3f85fe000, 0x00007fc3fb38e000) total_blobs=199 nmethods=4 adapters=148 free_code_cache=48756Kb largest_free_block=49913984

Compilation events (8 events): Event: 0.112 Thread 0x00007fc3fc109800 1 java.lang.String::hashCode (55 bytes) Event: 0.118 Thread 0x00007fc3fc109800 nmethod 1 0x00007fc3f83edf50 code [0x00007fc3f83ee0a0, 0x00007fc3f83ee218] Event: 0.124 Thread 0x00007fc3fc10c800 2 java.util.Properties$LineReader::readLine (452 bytes) Event: 0.140 Thread 0x00007fc3fc10c800 nmethod 2 0x00007fc3f83ecb50 code [0x00007fc3f83ecce0, 0x00007fc3f83ed4b8] Event: 0.358 Thread 0x00007fc3fc109800 3 sun.nio.cs.UTF_8$Encoder::encode (361 bytes) Event: 0.373 Thread 0x00007fc3fc109800 nmethod 3 0x00007fc3f83f3250 code [0x00007fc3f83f33c0, 0x00007fc3f83f38c8] Event: 0.396 Thread 0x00007fc3fc10c800 4 java.lang.String::indexOf (70 bytes) Event: 0.399 Thread 0x00007fc3fc10c800 nmethod 4 0x00007fc3f83f3bd0 code [0x00007fc3f83f3d20, 0x00007fc3f83f3ea8]

GC Heap History (0 events): No events

Deoptimization events (0 events): No events

Internal exceptions (10 events): Event: 0.194 Thread 0x00007fc3fc009000 Threw 0x00000000ebaadf00 at /build/buildd/openjdk-7-7u25-2.3.10/build/openjdk/hotspot/src/share /vm/prims/jvm.cpp:1235 Event: 0.195 Thread 0x00007fc3fc009000 Threw 0x00000000ebab0898 at /build/buildd/openjdk-7-7u25-2.3.10/build/openjdk/hotspot/src/share /vm/prims/jvm.cpp:1235 Event: 0.197 Thread 0x00007fc3fc009000 Threw 0x00000000ebab6370 at /build/buildd/openjdk-7-7u25-2.3.10/build/openjdk/hotspot/src/share /vm/prims/jvm.cpp:1235 Event: 0.351 Thread 0x00007fc3c0003800 Threw 0x00000000ebaecf78 at /build/buildd/openjdk-7-7u25-2.3.10/build/openjdk/hotspot/src/share /vm/prims/jvm.cpp:1235 Event: 0.353 Thread 0x00007fc3c0003800 Threw 0x00000000ebaefff0 at /build/buildd/openjdk-7-7u25-2.3.10/build/openjdk/hotspot/src/share /vm/prims/jvm.cpp:1235 Event: 0.354 Thread 0x00007fc3c0003800 Threw 0x00000000ebaf29b8 at /build/buildd/openjdk-7-7u25-2.3.10/build/openjdk/hotspot/src/share /vm/prims/jvm.cpp:1235 Event: 0.356 Thread 0x00007fc3c0003800 Threw 0x00000000ebaf59a8 at /build/buildd/openjdk-7-7u25-2.3.10/build/openjdk/hotspot/src/share /vm/prims/jvm.cpp:1235 Event: 0.365 Thread 0x00007fc3c0003800 Threw 0x00000000ebaf8628 at /build/buildd/openjdk-7-7u25-2.3.10/build/openjdk/hotspot/src/share /vm/prims/jvm.cpp:1235 Event: 0.367 Thread 0x00007fc3c0003800 Threw 0x00000000ebafcbc0 at /build/buildd/openjdk-7-7u25-2.3.10/build/openjdk/hotspot/src/share /vm/prims/jvm.cpp:1235 Event: 42.268 Thread 0x00007fc3c004d800 Threw 0x00000000ec64e218 at /build/buildd/openjdk-7-7u25-2.3.10/build/openjdk/hotspot/src/shar e/vm/prims/jni.cpp:2973

Events (10 events): Event: 1.802 Thread 0x00007fc3c004d800 Thread exited: 0x00007fc3c004d800 Event: 1.803 Thread 0x00007fc3c004d800 Thread added: 0x00007fc3c004d800 Event: 1.804 Thread 0x00007fc3c004d800 Thread exited: 0x00007fc3c004d800 Event: 4.097 Executing VM operation: EnableBiasedLocking Event: 4.097 Executing VM operation: EnableBiasedLocking done Event: 41.807 Thread 0x00007fc3c004d800 Thread added: 0x00007fc3c004d800 Event: 41.807 Thread 0x00007fc3c004d800 Thread exited: 0x00007fc3c004d800 Event: 42.154 Thread 0x00007fc3c004d800 Thread added: 0x00007fc3c004d800 Event: 42.156 Thread 0x00007fc3c004d800 Thread exited: 0x00007fc3c004d800 Event: 42.267 Thread 0x00007fc3c004d800 Thread added: 0x00007fc3c004d800

Dynamic libraries: 00400000-00401000 r-xp 00000000 08:05 2381281 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 00600000-00601000 r--p 00000000 08:05 2381281 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 00601000-00602000 rw-p 00001000 08:05 2381281 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 02003000-02024000 rw-p 00000000 00:00 0 [heap] b8800000-b9cc0000 rw-p 00000000 00:00 0 b9cc0000-c2e00000 rw-p 00000000 00:00 0 c2e00000-c56c0000 rw-p 00000000 00:00 0 c56c0000-eba00000 rw-p 00000000 00:00 0 eba00000-ece60000 rw-p 00000000 00:00 0 ece60000-100000000 rw-p 00000000 00:00 0 7fc3b8000000-7fc3b8021000 rw-p 00000000 00:00 0 7fc3b8021000-7fc3bc000000 ---p 00000000 00:00 0 7fc3c0000000-7fc3c005a000 rw-p 00000000 00:00 0 7fc3c005a000-7fc3c4000000 ---p 00000000 00:00 0 7fc3c4000000-7fc3c4021000 rw-p 00000000 00:00 0 7fc3c4021000-7fc3c8000000 ---p 00000000 00:00 0 7fc3c8000000-7fc3c8021000 rw-p 00000000 00:00 0 7fc3c8021000-7fc3cc000000 ---p 00000000 00:00 0 7fc3cc000000-7fc3cc021000 rw-p 00000000 00:00 0 7fc3cc021000-7fc3d0000000 ---p 00000000 00:00 0 7fc3d0000000-7fc3d0083000 rw-p 00000000 00:00 0 7fc3d0083000-7fc3d4000000 ---p 00000000 00:00 0 7fc3d4000000-7fc3d40d4000 rw-p 00000000 00:00 0 7fc3d40d4000-7fc3d8000000 ---p 00000000 00:00 0 7fc3d8000000-7fc3d8021000 rw-p 00000000 00:00 0 7fc3d8021000-7fc3dc000000 ---p 00000000 00:00 0 7fc3ddd81000-7fc3ddf8d000 rw-p 00000000 00:00 0 7fc3ddf8d000-7fc3ddf8e000 ---p 00000000 00:00 0 7fc3ddf8e000-7fc3de78e000 rw-p 00000000 00:00 0 [stack:23692] 7fc3de78e000-7fc3de78f000 ---p 00000000 00:00 0 7fc3de78f000-7fc3def8f000 rw-p 00000000 00:00 0 [stack:23691] 7fc3def8f000-7fc3def92000 ---p 00000000 00:00 0 7fc3def92000-7fc3df790000 rw-p 00000000 00:00 0 [stack:23690] 7fc3df790000-7fc3df8ee000 r-xp 00000000 08:05 2886715 /tmp/native-lib-4423173925869240372.tmp (deleted) 7fc3df8ee000-7fc3dfaee000 ---p 0015e000 08:05 2886715 /tmp/native-lib-4423173925869240372.tmp (deleted) 7fc3dfaee000-7fc3dfaf2000 r--p 0015e000 08:05 2886715 /tmp/native-lib-4423173925869240372.tmp (deleted) 7fc3dfaf2000-7fc3dfafa000 rw-p 00162000 08:05 2886715 /tmp/native-lib-4423173925869240372.tmp (deleted) 7fc3dfafa000-7fc3dfafb000 rw-p 00000000 00:00 0 7fc3dfafb000-7fc3dfafc000 ---p 00000000 00:00 0 7fc3dfafc000-7fc3dfbfc000 rw-p 00000000 00:00 0 [stack:23689] 7fc3dfbfc000-7fc3dfbff000 ---p 00000000 00:00 0 7fc3dfbff000-7fc3dfcfd000 rw-p 00000000 00:00 0 [stack:23688] 7fc3dfcfd000-7fc3dfd00000 ---p 00000000 00:00 0 7fc3dfd00000-7fc3dfdfe000 rw-p 00000000 00:00 0 [stack:23687] 7fc3dfdfe000-7fc3dfe01000 ---p 00000000 00:00 0 7fc3dfe01000-7fc3dfeff000 rw-p 00000000 00:00 0 [stack:23686] 7fc3dfeff000-7fc3dff02000 ---p 00000000 00:00 0 7fc3dff02000-7fc3e0000000 rw-p 00000000 00:00 0 [stack:23685] 7fc3e0000000-7fc3e0021000 rw-p 00000000 00:00 0 7fc3e0021000-7fc3e4000000 ---p 00000000 00:00 0 7fc3e4000000-7fc3e4021000 rw-p 00000000 00:00 0 7fc3e4021000-7fc3e8000000 ---p 00000000 00:00 0 7fc3e8000000-7fc3e8021000 rw-p 00000000 00:00 0 7fc3e8021000-7fc3ec000000 ---p 00000000 00:00 0 7fc3ec000000-7fc3ec021000 rw-p 00000000 00:00 0 7fc3ec021000-7fc3f0000000 ---p 00000000 00:00 0 7fc3f0000000-7fc3f0021000 rw-p 00000000 00:00 0 7fc3f0021000-7fc3f4000000 ---p 00000000 00:00 0 7fc3f406b000-7fc3f4334000 r--p 00000000 08:05 8917996 /usr/lib/locale/locale-archive 7fc3f4334000-7fc3f4337000 ---p 00000000 00:00 0 7fc3f4337000-7fc3f4435000 rw-p 00000000 00:00 0 [stack:23684] 7fc3f4435000-7fc3f4438000 ---p 00000000 00:00 0 7fc3f4438000-7fc3f4536000 rw-p 00000000 00:00 0 [stack:23683] 7fc3f4536000-7fc3f4537000 ---p 00000000 00:00 0 7fc3f4537000-7fc3f4fac000 rw-p 00000000 00:00 0 [stack:23682] 7fc3f4fac000-7fc3f5159000 r--s 01cec000 08:05 2100002 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar 7fc3f5159000-7fc3f7e09000 rw-p 00000000 00:00 0 7fc3f7e09000-7fc3f7e0a000 ---p 00000000 00:00 0 7fc3f7e0a000-7fc3f7f0a000 rw-p 00000000 00:00 0 [stack:23681] 7fc3f7f0a000-7fc3f7f0b000 ---p 00000000 00:00 0 7fc3f7f0b000-7fc3f8020000 rw-p 00000000 00:00 0 [stack:23680] 7fc3f8020000-7fc3f8151000 rw-p 00000000 00:00 0 7fc3f8151000-7fc3f815c000 rw-p 00000000 00:00 0 7fc3f815c000-7fc3f81a4000 rw-p 00000000 00:00 0 7fc3f81a4000-7fc3f81b9000 rw-p 00000000 00:00 0 7fc3f81b9000-7fc3f82ea000 rw-p 00000000 00:00 0 7fc3f82ea000-7fc3f82f5000 rw-p 00000000 00:00 0 7fc3f82f5000-7fc3f838d000 rw-p 00000000 00:00 0 7fc3f838d000-7fc3f838e000 rw-p 00000000 00:00 0 7fc3f838e000-7fc3f85fe000 rwxp 00000000 00:00 0 7fc3f85fe000-7fc3fb38e000 rw-p 00000000 00:00 0 7fc3fb38e000-7fc3fb396000 r-xp 00000000 08:05 2234203 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so 7fc3fb396000-7fc3fb595000 ---p 00008000 08:05 2234203 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so 7fc3fb595000-7fc3fb596000 r--p 00007000 08:05 2234203 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so 7fc3fb596000-7fc3fb597000 rw-p 00008000 08:05 2234203 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libzip.so 7fc3fb597000-7fc3fb5a3000 r-xp 00000000 08:05 8781869 /lib/x86_64-linux-gnu/libnss_files-2.17.so 7fc3fb5a3000-7fc3fb7a2000 ---p 0000c000 08:05 8781869 /lib/x86_64-linux-gnu/libnss_files-2.17.so 7fc3fb7a2000-7fc3fb7a3000 r--p 0000b000 08:05 8781869 /lib/x86_64-linux-gnu/libnss_files-2.17.so 7fc3fb7a3000-7fc3fb7a4000 rw-p 0000c000 08:05 8781869 /lib/x86_64-linux-gnu/libnss_files-2.17.so 7fc3fb7a4000-7fc3fb7af000 r-xp 00000000 08:05 8781865 /lib/x86_64-linux-gnu/libnss_nis-2.17.so 7fc3fb7af000-7fc3fb9ae000 ---p 0000b000 08:05 8781865 /lib/x86_64-linux-gnu/libnss_nis-2.17.so 7fc3fb9ae000-7fc3fb9af000 r--p 0000a000 08:05 8781865 /lib/x86_64-linux-gnu/libnss_nis-2.17.so 7fc3fb9af000-7fc3fb9b0000 rw-p 0000b000 08:05 8781865 /lib/x86_64-linux-gnu/libnss_nis-2.17.so 7fc3fb9b0000-7fc3fb9c7000 r-xp 00000000 08:05 8781846 /lib/x86_64-linux-gnu/libnsl-2.17.so 7fc3fb9c7000-7fc3fbbc6000 ---p 00017000 08:05 8781846 /lib/x86_64-linux-gnu/libnsl-2.17.so 7fc3fbbc6000-7fc3fbbc7000 r--p 00016000 08:05 8781846 /lib/x86_64-linux-gnu/libnsl-2.17.so 7fc3fbbc7000-7fc3fbbc8000 rw-p 00017000 08:05 8781846 /lib/x86_64-linux-gnu/libnsl-2.17.so 7fc3fbbc8000-7fc3fbbca000 rw-p 00000000 00:00 0 7fc3fbbca000-7fc3fbbd2000 r-xp 00000000 08:05 8781860 /lib/x86_64-linux-gnu/libnss_compat-2.17.so 7fc3fbbd2000-7fc3fbdd1000 ---p 00008000 08:05 8781860 /lib/x86_64-linux-gnu/libnss_compat-2.17.so 7fc3fbdd1000-7fc3fbdd2000 r--p 00007000 08:05 8781860 /lib/x86_64-linux-gnu/libnss_compat-2.17.so 7fc3fbdd2000-7fc3fbdd3000 rw-p 00008000 08:05 8781860 /lib/x86_64-linux-gnu/libnss_compat-2.17.so 7fc3fbdd3000-7fc3fbdfe000 r-xp 00000000 08:05 2234190 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so 7fc3fbdfe000-7fc3fbffd000 ---p 0002b000 08:05 2234190 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so 7fc3fbffd000-7fc3fbffe000 r--p 0002a000 08:05 2234190 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so 7fc3fbffe000-7fc3fc000000 rw-p 0002b000 08:05 2234190 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so 7fc3fc000000-7fc3fc1d2000 rw-p 00000000 00:00 0 7fc3fc1d2000-7fc400000000 ---p 00000000 00:00 0 7fc40000a000-7fc40000b000 rw-p 00000000 00:00 0 7fc40000b000-7fc400010000 r--s 0004c000 08:05 1710466 /usr/lib/jvm/java-7-openjdk-common/jre/lib/jsse.jar 7fc400010000-7fc400019000 r--s 000bc000 08:05 1710452 /usr/lib/jvm/java-7-openjdk-common/jre/lib/resources.jar 7fc400019000-7fc40001d000 r--s 00085000 08:05 1710455 /usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/localedata.jar 7fc40001d000-7fc400020000 r--s 00032000 08:05 1710456 /usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/sunjce_provide r.jar 7fc400020000-7fc400095000 rw-p 00000000 00:00 0 7fc400095000-7fc4000dd000 rw-p 00000000 00:00 0 7fc4000dd000-7fc4000ec000 r-xp 00000000 08:05 2234189 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so 7fc4000ec000-7fc4002eb000 ---p 0000f000 08:05 2234189 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so 7fc4002eb000-7fc4002ed000 r--p 0000e000 08:05 2234189 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so 7fc4002ed000-7fc4002ee000 rw-p 00010000 08:05 2234189 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libverify.so 7fc4002ee000-7fc4002f5000 r-xp 00000000 08:05 8781842 /lib/x86_64-linux-gnu/librt-2.17.so 7fc4002f5000-7fc4004f4000 ---p 00007000 08:05 8781842 /lib/x86_64-linux-gnu/librt-2.17.so 7fc4004f4000-7fc4004f5000 r--p 00006000 08:05 8781842 /lib/x86_64-linux-gnu/librt-2.17.so 7fc4004f5000-7fc4004f6000 rw-p 00007000 08:05 8781842 /lib/x86_64-linux-gnu/librt-2.17.so 7fc4004f6000-7fc40050a000 r-xp 00000000 08:05 8781883 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fc40050a000-7fc40070a000 ---p 00014000 08:05 8781883 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fc40070a000-7fc40070b000 r--p 00014000 08:05 8781883 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fc40070b000-7fc40070c000 rw-p 00015000 08:05 8781883 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fc40070c000-7fc40080f000 r-xp 00000000 08:05 8781863 /lib/x86_64-linux-gnu/libm-2.17.so 7fc40080f000-7fc400a0f000 ---p 00103000 08:05 8781863 /lib/x86_64-linux-gnu/libm-2.17.so 7fc400a0f000-7fc400a10000 r--p 00103000 08:05 8781863 /lib/x86_64-linux-gnu/libm-2.17.so 7fc400a10000-7fc400a11000 rw-p 00104000 08:05 8781863 /lib/x86_64-linux-gnu/libm-2.17.so 7fc400a11000-7fc400af6000 r-xp 00000000 08:05 8917772 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fc400af6000-7fc400cf5000 ---p 000e5000 08:05 8917772 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fc400cf5000-7fc400cfd000 r--p 000e4000 08:05 8917772 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fc400cfd000-7fc400cff000 rw-p 000ec000 08:05 8917772 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fc400cff000-7fc400d14000 rw-p 00000000 00:00 0 7fc400d14000-7fc401704000 r-xp 00000000 08:05 2381279 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm .so 7fc401704000-7fc401903000 ---p 009f0000 08:05 2381279 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm .so 7fc401903000-7fc401982000 r--p 009ef000 08:05 2381279 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm .so 7fc401982000-7fc4019a5000 rw-p 00a6e000 08:05 2381279 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm .so 7fc4019a5000-7fc4019d0000 rw-p 00000000 00:00 0 7fc4019d0000-7fc4019e6000 r-xp 00000000 08:05 8782067 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fc4019e6000-7fc401be5000 ---p 00016000 08:05 8782067 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fc401be5000-7fc401be6000 r--p 00015000 08:05 8782067 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fc401be6000-7fc401be7000 rw-p 00016000 08:05 8782067 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fc401be7000-7fc401bff000 r-xp 00000000 08:05 8781862 /lib/x86_64-linux-gnu/libpthread-2.17.so 7fc401bff000-7fc401dfe000 ---p 00018000 08:05 8781862 /lib/x86_64-linux-gnu/libpthread-2.17.so 7fc401dfe000-7fc401dff000 r--p 00017000 08:05 8781862 /lib/x86_64-linux-gnu/libpthread-2.17.so 7fc401dff000-7fc401e00000 rw-p 00018000 08:05 8781862 /lib/x86_64-linux-gnu/libpthread-2.17.so 7fc401e00000-7fc401e04000 rw-p 00000000 00:00 0 7fc401e04000-7fc401e07000 r-xp 00000000 08:05 8781858 /lib/x86_64-linux-gnu/libdl-2.17.so 7fc401e07000-7fc402006000 ---p 00003000 08:05 8781858 /lib/x86_64-linux-gnu/libdl-2.17.so 7fc402006000-7fc402007000 r--p 00002000 08:05 8781858 /lib/x86_64-linux-gnu/libdl-2.17.so 7fc402007000-7fc402008000 rw-p 00003000 08:05 8781858 /lib/x86_64-linux-gnu/libdl-2.17.so 7fc402008000-7fc4021c6000 r-xp 00000000 08:05 8781857 /lib/x86_64-linux-gnu/libc-2.17.so 7fc4021c6000-7fc4023c5000 ---p 001be000 08:05 8781857 /lib/x86_64-linux-gnu/libc-2.17.so 7fc4023c5000-7fc4023c9000 r--p 001bd000 08:05 8781857 /lib/x86_64-linux-gnu/libc-2.17.so 7fc4023c9000-7fc4023cb000 rw-p 001c1000 08:05 8781857 /lib/x86_64-linux-gnu/libc-2.17.so 7fc4023cb000-7fc4023d0000 rw-p 00000000 00:00 0 7fc4023d0000-7fc4023dd000 r-xp 00000000 08:05 2234172 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so 7fc4023dd000-7fc4025dc000 ---p 0000d000 08:05 2234172 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so 7fc4025dc000-7fc4025dd000 r--p 0000c000 08:05 2234172 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so 7fc4025dd000-7fc4025de000 rw-p 0000d000 08:05 2234172 /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so 7fc4025de000-7fc402601000 r-xp 00000000 08:05 8781853 /lib/x86_64-linux-gnu/ld-2.17.so 7fc402601000-7fc402602000 r--s 0072c000 08:05 3276869 /iris/zwave/zwave4j/zwave4j-0.1-ozw-rev-663.jar 7fc402602000-7fc402605000 r--s 0000f000 08:05 1710457 /usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/pulse-java.jar 7fc402605000-7fc402630000 rw-p 00000000 00:00 0 7fc402630000-7fc4026e6000 rw-p 00000000 00:00 0 7fc4026e6000-7fc4026e9000 ---p 00000000 00:00 0 7fc4026e9000-7fc4027ec000 rw-p 00000000 00:00 0 [stack:23679] 7fc4027ec000-7fc4027ee000 r--s 00012000 08:05 1710459 /usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/zipfs.jar 7fc4027ee000-7fc4027ef000 r--s 00002000 08:05 1710458 /usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/dnsns.jar 7fc4027ef000-7fc4027f1000 r--s 00006000 08:05 266513 /usr/share/java/java-atk-wrapper.jar 7fc4027f1000-7fc4027f4000 r--s 0003c000 08:05 1710454 /usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/sunpkcs11.jar 7fc4027f4000-7fc4027fc000 rw-s 00000000 08:05 2886714 /tmp/hsperfdata_root/23678 7fc4027fc000-7fc4027fd000 rw-p 00000000 00:00 0 7fc4027fd000-7fc4027fe000 r--p 00000000 00:00 0 7fc4027fe000-7fc402800000 rw-p 00000000 00:00 0 7fc402800000-7fc402801000 r--p 00022000 08:05 8781853 /lib/x86_64-linux-gnu/ld-2.17.so 7fc402801000-7fc402803000 rw-p 00023000 08:05 8781853 /lib/x86_64-linux-gnu/ld-2.17.so 7fff2c58c000-7fff2c5ad000 rw-p 00000000 00:00 0 [stack] 7fff2c5fe000-7fff2c600000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

VM Arguments: java_command: org.zwave4j.Main ../open-zwave-read-only/config/ /dev/ttyUSB0 Launcher Type: SUN_STANDARD

Environment Variables: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games LD_LIBRARY_PATH=:/opt/AMDAPP/lib/x86_64:/opt/AMDAPP/lib/x86 SHELL=/bin/bash

Signal Handlers: SIGSEGV: [libjvm.so+0x84f410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGBUS: [libjvm.so+0x84f410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGFPE: [libjvm.so+0x6f19a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGPIPE: [libjvm.so+0x6f19a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGXFSZ: [libjvm.so+0x6f19a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGILL: [libjvm.so+0x6f19a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x6f1d70], sa_mask[0]=0x00000000, sa_flags=0x10000004 SIGHUP: [libjvm.so+0x6f1eb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGINT: [libjvm.so+0x6f1eb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGTERM: [libjvm.so+0x6f1eb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGQUIT: [libjvm.so+0x6f1eb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004

--------------- S Y S T E M ---------------

OS:Ubuntu 13.04 (raring) uname:Linux 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 00:17:05 UTC 2013 x86_64 libc:glibc 2.17 NPTL 2.17 rlimit: STACK 8192k, CORE infinity, NPROC 31134, NOFILE 4096, AS infinity load average:1.19 1.59 1.43

/proc/meminfo: MemTotal: 4004324 kB MemFree: 1229828 kB Buffers: 220000 kB Cached: 2083316 kB SwapCached: 0 kB Active: 1237680 kB Inactive: 1188220 kB Active(anon): 122892 kB Inactive(anon): 312 kB Active(file): 1114788 kB Inactive(file): 1187908 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 4148220 kB SwapFree: 4148220 kB Dirty: 36 kB Writeback: 0 kB AnonPages: 122660 kB Mapped: 90652 kB Shmem: 624 kB Slab: 226308 kB SReclaimable: 205936 kB SUnreclaim: 20372 kB KernelStack: 2096 kB PageTables: 8400 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 6150380 kB Committed_AS: 1020356 kB VmallocTotal: 34359738367 kB VmallocUsed: 304316 kB VmallocChunk: 34359430644 kB HardwareCorrupted: 0 kB AnonHugePages: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 120828 kB DirectMap2M: 4040704 kB DirectMap1G: 0 kB

CPU:total 2 (2 cores per cpu, 1 threads per core) family 18 model 1 stepping 0, cmov, cx8, fxsr, mmx, sse, sse2, sse3, popcnt, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv

/proc/cpuinfo: processor : 0 vendor_id : AuthenticAMD cpu family : 18 model : 1 model name : AMD A4-3300 APU with Radeon(tm) HD Graphics stepping : 0 microcode : 0x3000027 cpu MHz : 2500.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 6 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxe xt fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lah f_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt arat hw_pstate npt lbrv svm_lock nrip_s ave pausefilter bogomips : 5000.15 TLB size : 1536 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate

processor : 1 vendor_id : AuthenticAMD cpu family : 18 model : 1 model name : AMD A4-3300 APU with Radeon(tm) HD Graphics stepping : 0 microcode : 0x3000027 cpu MHz : 2500.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 6 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxe xt fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lah f_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt arat hw_pstate npt lbrv svm_lock nrip_s ave pausefilter bogomips : 5000.15 TLB size : 1536 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate

Memory: 4k page, physical 4004324k(1229828k free), swap 4148220k(4148220k free)

vm_info: OpenJDK 64-Bit Server VM (23.7-b01) for linux-amd64 JRE (1.7.0_25-b30), built on Jul 3 2013 13:50:39 by "buildd" with gcc 4. 7.3

time: Wed Aug 21 17:41:04 2013 elapsed time: 42 seconds

MrNeuronix commented 11 years ago

I try Oracle JDK too - same issue

zgmnkv commented 11 years ago

Hi, Nikolay! Some other people have the same issue too, some devices are causing this crash. I have only a few devices, so I can't reproduce this crash, but I will try to fix this bug in a few next days. It will be helpful if you try to run zwave4j with different devices and find which device causes the crash, send me crash report in this case.

2013/8/21 Nikolay Viguro notifications@github.com

I try Oracle JDK too - same issue

— Reply to this email directly or view it on GitHubhttps://github.com/zgmnkv/zwave4j/issues/1#issuecomment-23018659 .

MrNeuronix commented 11 years ago

Cant manipulate with devices - they far away from me now :) But i think java stop on the sleep or dead alarm sensor (low battery level i think)

zgmnkv commented 11 years ago

Are you building zwave4j from sources or using compiled jar from git?

2013/8/21 Nikolay Viguro notifications@github.com

Cant manipulate with devices - they far away from me now :) But i think java stop on the sleep or dead alarm sensor (low battery level i think)

— Reply to this email directly or view it on GitHubhttps://github.com/zgmnkv/zwave4j/issues/1#issuecomment-23029116 .

zgmnkv commented 11 years ago

I commited some fix, maybe it will help

MrNeuronix commented 11 years ago

Looks like that commit help me... Thnx!